Rob Bodington wrote up the following after sucessfully writing to the “stepmod” CVS repository: (Modified 2006-05-12 by Tom Hendrix, due to new Sourceforge configuration (Modified 2005-10-12 by Tom Hendrix, supports wincvs 2.0)
At last .... SUCCESS.
It was a real gotcha.
I initially checked out the module without using SSH. I then set up SSH. When I then tried to check stuff back, my local copy had the initial CVSROOT - not the one needed for SSH. Hence I could not check stuff back in.
I found out where I was going wrong from (removed invalid hyperlink -THX).
Here are some additional notes on how to get CVS working with SourceForge. I distilled this from a load of help pages that Josh pointed me to. If I have anything wrong or it does not work, then let us know.
This details the software I am using - there are other ways of doing this.
This help was based on Josh's help page at http://ats.nist.gov/stepmod/cvswin.html.
- Register on SourceForge, and request developer access from the stepmod project administrator.
- Install WinCVS - Can be down loaded from: http://www.wincvs.org/
- Install the SSH software PuTTY - You need putty.exe, plink.exe, pageant.exe, puttygen.exe. The putty help pages would be a useful download as well. These can be down loaded from http://www.chiark.greenend.org.uk/~sgtatham/putty/. Useful help pages: http://sourceforge.net/docman/display_doc.php?docid=6841&group_id=1
- Set up and test your SSH to connect to SourceForge. First generate and post your SSH key to SourceForge. Details on how to do this are at http://sourceforge.net/docman/display_doc.php?docid=761&group_id=1. Note - you may have to wait an hour before your key has been circulated.
- Create and save a putty session that logs on to SourceForge using SSH. On the session window:Host Name: stepmod.cvs.sourceforge.net SSH selectedOn the SSH window:SSH 2 selectedSpecify your authentication key.
- Set up CVS environment variableset CVS_RSH=\path\to\plink.exe
- Run pageant adding your key
- Check out the repository - use Remote->Checkout module
For Module name and path, enter:
Select local folder to check out to.
Check the box for cvsroot and enter:
where putty_session_name is the name of the putty session just created.