Version Control System Access

From GMOD
Jump to: navigation, search

Subversion (often abbreviated SVN is the source code control system used by most of GMOD. Source code control systems, also known as revision control or version control systems are used to record changes to computer files. GMOD's main source code repository is at SourceForge.

This page explains how to both download and update the main GMOD repository at SourceForge. For more on SVN itself see the Subversion Home Page and the official Subversion Book.

SVN is used by GMOD developers to update the components. SVN is also used by some GMOD users, most of whom never modify any GMOD code. GMOD users access SVN when they want to get component source code so they can use the latest development version of that component, without having to wait for the next official release. Please note, however, that components pulled from SVN are development versions, and may not always work as expected.

Browsing SVN Repositories

GMOD SVN repositories can be browsed via web: http://gmod.svn.sourceforge.net/gmod/.

SVN Read-only Access

The GMOD SVN repository can be checked out through anonymous SVN with the following instruction set. The module you wish to check out must be specified in place of PROJECTNAME.

svn co https://gmod.svn.sourceforge.net/svnroot/gmod/PROJECTNAME/trunk

See http://gmod.svn.sourceforge.net/ for available GMOD projects in SVN repositories.

You can then get updates with the svn update command.

SVN Developer Access

Developer access uses the same URLs as read-only access. When performing write operations, you will simply be prompted for your SourceForge.net username and password. To perform write operations, a GMOD project administrator must have granted you write access to the repository.

Legacy CVS Read-only Access

GMOD has migrated all projects from CVS to Subversion as of September 15, 2009. See the CVS to Subversion Conversion page.

The old GMOD CVS repositories can be checked out through anonymous (pserver) CVS with the following instruction set. The module you wish to check out must be specified as the modulename. When prompted for a password for anonymous, simply press the Enter or Return key.

cvs -d:pserver:anonymous@gmod.cvs.sourceforge.net:/cvsroot/gmod login
cvs -d:pserver:anonymous@gmod.cvs.sourceforge.net:/cvsroot/gmod co modulename

If you need to check out a particular revision/tag in the repository, add -r tag_name to the command. For example, if you needed the 'stable' branch of the GBrowse repository, you would do this in your checkout command:

 cvs -d:pserver:anonymous@gmod.cvs.sourceforge.net:/cvsroot/gmod co -r stable Generic-Genome-Browser

See http://gmod.cvs.sourceforge.net/ for available CVS repositories.

You can then get updates with the cvs update -d command (the -d command tells CVS to get any new directories that have been added to the repository since the last update).

GMOD CVS repositories can also be browsed on the web: http://gmod.cvs.sourceforge.net/gmod/.