Difference between revisions of "Anonymous CVS"

From WeBWorK_wiki
Jump to navigation Jump to search
(New page: Our CVS repositories contain a complete history of WeBWorK and problem library development (since June 2001) as well as the latest bleeding-edge versions. They are available [http://cvs.we...)
 
Line 38: Line 38:
   
 
[[Category:Developers]]
 
[[Category:Developers]]
  +
[[Category:Administrators]]

Revision as of 01:13, 2 March 2008

Our CVS repositories contain a complete history of WeBWorK and problem library development (since June 2001) as well as the latest bleeding-edge versions. They are available via the web or by using a CVS client.

To check out a module from CVS, run the following command:

cvs -d :pserver:anoncvs@cvs.webwork.rochester.edu:/webwork/cvs/repository_name checkout module_name

Replace repository_name and module_name with values from the article List of CVS repositories hosted by The WeBWorK Project.

Examples

To check out the webwork2 and pg modules from the system repository, and the rochester_problib module from the rochester repository, type:

cvs -d :pserver:anoncvs@cvs.webwork.rochester.edu:/webwork/cvs/system checkout webwork2
cvs -d :pserver:anoncvs@cvs.webwork.rochester.edu:/webwork/cvs/system checkout pg
cvs -d :pserver:anoncvs@cvs.webwork.rochester.edu:/webwork/cvs/rochester checkout rochester_problib

To update to a new version, such as the version rel-2-1-patches, type:

cvs update -dP -r rel-2-1-patches

in the directory to be updated (usually the webwork2 directory or the pg directory). Typically a '-patches' or '-dev' release will be conservatively updated between releases to include bug fixes, but not new features.

Updates take place automatically except for the configuration files in the directory conf. Files such as global.conf and database.conf may need to be compared to the updated files global.conf.dist and database.conf.dist in order to manually make changes to the local configuration.

cvs -n update -dP -r rel-2-1-patches

will show what files would change during an update with out actually changing the files.

cvs update -dP -A

will give you the very latest feature changes and bugs. Use cautiously.

cvs update -dP -r rel-2-1-patches

will take you back to the stable release.

Consult the CVS manual for more information on using CVS.