[sdcc-devel] SDCC sources CVS / ssh (Win-Stuff) final i hope :-)

Hi folks,
it has been a fight, but i guess at least i won (hope i did)
here is what i do to get all files and get the missing folders installed.
(replace usename with your sourceforge user name), if you have now username,
play a bit with anonymous...
AUTOEXEC.BAT :
rem Settings fos cvs
rem Settings for SSH
SET CVSROOT=:ext:username@...:/cvsroot/sdcc
SET USERNAME=username
SET HOMEDRIVE=c:
SET HOME=C:\SRC
SET HOMEPATH=\src
set CVS_RSH=ssh.exe
now you need a folder c:\etc there create a file called passwd and insert
the following stuff :
username:x:1:10:Bill, Gates:c:/src:c:/windows/command.com
(Bill, Gates) has to be replaced with your real name :-) havent tried it
this way :-)
now make a folder c:\src and a c:\src\.ssh
copy the cvs and ssh files to c:\src or any other folder your path settings
point to..
now i have several batch files, all placed in c:\src
1. test_ssh.bat
ssh -l mschmitt sdcc.sourceforge.net
(just follow the commands and enter your password)
you only need to do this once. it will install some files on your harddisk
....)
2. checkout.bat
cvs -z9 -d %CVSROOT% checkout sdcc
(This will create the sdcc folder under c:\src including everything, go to
the kitchen and make some coffee, depending on your connections, this will
take a while)
3. update.bat
cvs -z9 -d %CVSROOT% update -d
(hey did somebody recognise twice -d option ? YES !!!!!!! That is the trick
! Thanks to ??? have lost the mail, but that was the point !)
now, fow all those who have write access granted by sandeep ...
3. putcvs.bat
cvs -z9 -d %CVSROOT% add %1 %2 %3 %4 %5 %6 %7 %8 %9
(useage : putcvs file1.c file2.c file1.h ......)
4. commitcvs.bat
cvs commit -m "%1%
(useage : commitcvs fixed a lot of bugs and added some new one) the text is
the remark you can see while browsing cvs
my cvs.exe has version 1.10.7.
the compress option -z9 is the fastes (for me) only one short transmission
to sourceforge and one (a bit longer) back. after entering the password, the
cvs.exe sends some stuff and it takes a moment before the receive stuff
comes, but it comes in a burst mode)
Now i am happy...
Thanks to all that helped me.
Michael Schmitt

Thread view

Hi folks,
it has been a fight, but i guess at least i won (hope i did)
here is what i do to get all files and get the missing folders installed.
(replace usename with your sourceforge user name), if you have now username,
play a bit with anonymous...
AUTOEXEC.BAT :
rem Settings fos cvs
rem Settings for SSH
SET CVSROOT=:ext:username@...:/cvsroot/sdcc
SET USERNAME=username
SET HOMEDRIVE=c:
SET HOME=C:\SRC
SET HOMEPATH=\src
set CVS_RSH=ssh.exe
now you need a folder c:\etc there create a file called passwd and insert
the following stuff :
username:x:1:10:Bill, Gates:c:/src:c:/windows/command.com
(Bill, Gates) has to be replaced with your real name :-) havent tried it
this way :-)
now make a folder c:\src and a c:\src\.ssh
copy the cvs and ssh files to c:\src or any other folder your path settings
point to..
now i have several batch files, all placed in c:\src
1. test_ssh.bat
ssh -l mschmitt sdcc.sourceforge.net
(just follow the commands and enter your password)
you only need to do this once. it will install some files on your harddisk
....)
2. checkout.bat
cvs -z9 -d %CVSROOT% checkout sdcc
(This will create the sdcc folder under c:\src including everything, go to
the kitchen and make some coffee, depending on your connections, this will
take a while)
3. update.bat
cvs -z9 -d %CVSROOT% update -d
(hey did somebody recognise twice -d option ? YES !!!!!!! That is the trick
! Thanks to ??? have lost the mail, but that was the point !)
now, fow all those who have write access granted by sandeep ...
3. putcvs.bat
cvs -z9 -d %CVSROOT% add %1 %2 %3 %4 %5 %6 %7 %8 %9
(useage : putcvs file1.c file2.c file1.h ......)
4. commitcvs.bat
cvs commit -m "%1%
(useage : commitcvs fixed a lot of bugs and added some new one) the text is
the remark you can see while browsing cvs
my cvs.exe has version 1.10.7.
the compress option -z9 is the fastes (for me) only one short transmission
to sourceforge and one (a bit longer) back. after entering the password, the
cvs.exe sends some stuff and it takes a moment before the receive stuff
comes, but it comes in a burst mode)
Now i am happy...
Thanks to all that helped me.
Michael Schmitt