Difference between revisions of "Version Control System Access"

From GMOD
Jump to: navigation, search
(page now mentions svn primarily, with cvs read access listed as legacy)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="emphasisbox">
+
''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 [http://gmod.svn.sourceforge.net/ SourceForge].
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]].
+
</div>
+
  
 +
This page explains how to both download and update the main GMOD repository at SourceForge.  For more on SVN itself see the [http://subversion.tigris.org/ Subversion Home Page] and the official [http://svnbook.red-bean.com/ Subversion Book].
  
''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 [http://gmod.cvs.sourceforge.net/ SourceForge].
+
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 codeGMOD 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.
  
This page explains how to both download and update the main GMOD repository at SourceForge.  For more on CVS itself see the [http://ximbiot.com/cvs/ CVS Home Page].
+
== Browsing SVN Repositories ==
  
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.
+
GMOD SVN repositories can be browsed via web: http://gmod.svn.sourceforge.net/gmod/.
  
== Checkout (Read-only) Access ==
+
== SVN Read-only Access ==
  
The GMOD [[Glossary#CVS|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.
+
The GMOD [[Glossary#SVN|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 <code>svn update</code> 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 ==
 +
 
 +
<div class="emphasisbox" style="font-size: 120%">
 +
GMOD has migrated all projects from CVS to [http://subversion.tigris.org/ Subversion] as of September 15, 2009.  See the [[CVS to Subversion Conversion]] page.
 +
</div>
 +
 
 +
The old GMOD [[Glossary#CVS|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 login
Line 25: Line 42:
 
You can then get updates with the <code>cvs update -d</code> command (the <code>-d</code> command tells CVS to get any new directories that have been added to the repository since the last update).
 
You can then get updates with the <code>cvs update -d</code> command (the <code>-d</code> 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!
+
GMOD CVS repositories can also be browsed on the web: http://gmod.cvs.sourceforge.net/gmod/.
  
 +
<!-- Commented out developer CVS access section for SVN move --'''Bold text'''~~~~
 
==Developer CVS Access via SSH==
 
==Developer CVS Access via SSH==
  
Line 34: Line 52:
 
  cvs -z3 -d:ext:''developername''@gmod.cvs.sourceforge.net:/cvsroot/gmod co ''modulename''
 
  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/.
+
  
 
[[Category:GMOD Developers]]
 
[[Category:GMOD Developers]]

Latest revision as of 16:46, 15 September 2009

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/.