Sourceforge repository (CVS or SVN)

The Lab Sourceforge repository should be used for keep and sharing all code. Consider it as an offsite backup. If you ever create a piece of code and want to get it back again, at any point in the future, then this is the place to store it. It doesn’t matter how good or bad the code is, you should put it in the repository as soon as you start working on it, and update the synchronization often.

Here is how to access the code:

Start by creating a sourceforge account, and emailing Rob and asking him to add you to the account users.

Set up cvs access via ssh

export CVS_RSH=ssh

Now decide which modules you want to download, we have several that you can access, and you can browse them online before downloading them.

Download what you want. For example to download the bioinformatics section do this:

cvs -z3 -d:ext:username@edwards-sdsu.cvs.sourceforge.net:/cvsroot/edwards-sdsu co -P bioinformatics

(note: there should be no spaces after the :’s)


Edit the code at will, and then check in changes like this:

Make sure you are up-to-date. From within the root directory (bioinformatics in the above example)

cvs update -Ad

Commit the changes, writing to a changelog on the way

cvs commit -m ‘adding new methods’

Obviously replacing username with your username you created.