Difference between revisions of "Version Control System Access"

From GMOD
Jump to: navigation, search
Line 1: Line 1:
<div class="emphasisbox">
+
<div class="emphasisbox" style="font-size: 120%">
GMOD is considering migrating from CVS to [http://subversion.tigris.org/ Subversion] in fall 2009.  If you are interested in joining the discussion, please see the "cvs to svn conversion thread" on [[GMOD Mailing Lists|GMOD-devel list]].
+
GMOD is migrating from CVS to [http://subversion.tigris.org/ Subversion] in on September 15 2009.  See the [[CVS to Subversion Conversion]] page for more.
 
</div>
 
</div>
  

Revision as of 23:49, 27 August 2009

GMOD is migrating from CVS to Subversion in on September 15 2009. See the CVS to Subversion Conversion page for more.


CVS 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 CVS itself see the CVS Home Page.

CVS matters to GMOD developers, who use it to update the components. CVS also matters to many GMOD users, most of whom never modify any GMOD code. GMOD users access CVS when they want to get component source code so they can build the latest and greatest version of that component, without having to wait for the next official release.

Checkout (Read-only) Access

The GMOD CVS repository 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).

Please note that although we do our best not to check in malfunctioning software, the CVS versions of these packages are cutting edge and hence not guaranteed to be bug-free. Always be careful when using these packages!

Developer CVS Access via SSH

Only project developers can access the CVS tree via this method. SSH1 must be installed on your client machine. Substitute modulename and developer name with the proper values. Enter your site password when prompted.

export CVS_RSH=ssh
cvs -z3 -d:ext:developername@gmod.cvs.sourceforge.net:/cvsroot/gmod co modulename


Browsing CVS repositories

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