Rob bodington wrote up the following after sucessfully writing to the "stepmod" CVS Repository:
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 cocould not check stuff back in.
I found out where I was going wrong from https://sourceforge.net/docman/display_doc.php? Docid = 769 & group_id = 1.
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. 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 wocould 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 will have to wait 6 hours 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: cvs.stepmod.sourceforge.net SSH selected
On the SSH window:
SSH 1 selected
Specify your authentication key.
- Set up plink and CVS Environment Variables
set CVS_RSH=/path/to/plink.exe set PLINK_PROTOCOL=ssh
- Run pageant adding your key
- Configure wincvs
Admin-> preferences-> General
Cvsroot box
: Ext: putty_session_name:/cvsroot/stepmod
Where putty_session_name is the name of the putty session you just created.
Admin-> preferences-> ports
Alternative RSH name
E:/apps/Putty/plink.exe
- Check out the repository-use the admin-> command line
CVS-D: ext: username@cvs.stepmod.sourceforge.net:/cvsroot/stepmod Co stepmod
Created by Josh lubell
Last modified Monday July 01,200 2