## Forum archive 2000-2006

### Michael Gage - problem library CVS

by Arnold Pizer -
Number of replies: 0
 problem library CVS topic started 5/15/2003; 12:37:12 PMlast post 5/15/2003; 12:37:12 PM
Michael Gage - problem library CVS
5/15/2003; 12:37:12 PM (reads: 2726, responses: 0)

# How to create a CVS repository for a problem library

These instructions are out of date. See http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/WeBWorKCVSReadOnly

## Setting up a local problem collection using CVS

Set the address of the CVS server
Instructions for Unix (tcsh, csh shells)
 % setenv CVSROOT :pserver:anonymous@webwork-db.math.rochester.edu:/var/cvs/rochester 
or instructions for Unix (bash shell)
 % export CVSROOT=:pserver:anonymous@webwork-db.math.rochester.edu:/var/cvs/rochester 
 % cvs login 
 (Logginging in to anonymous@webwork-db.math.rochester.edu) 
 CVS password: 

An error message at this point likely means that you have not defined CVSROOT correctly in the first step.

To obtain the standard rochester problem set (included with the standard distribution)
Transfer to a directory, say ~/tests/problems and type
 cvs checkout rochester_problib 
This will create a directory ~/tests/problems/rochester_problib which will contain the top level set directories (e.g. setDerivatives1, etc.) which in turn contain the .pg files for the problems.
To obtain the collection (untested) of eighth grade math problems
 cvs checkout rochester_grade8problems 
Updating the problems is done by changing to the appropriate directory and typing
 cvs update 
or type
 cvs -n update 
to see which problems would be updated. You can also use this to determine which files you have modified locally. (They will be marked with an M.

To inspect the contents of the CVS, review the changes made recently along with the notes of the programmers, it's easiest to do from the web at http://webwork-db.math.rochester.edu/cgi-bin/cvsweb.cgi The pop-up menu allows you to choose between the webwork directory for the system, and the various problem directories listed below.

## Other problem CVS. Use these values for CVSROOT and for the checkout module:

Arizona State University
 % setenv CVSROOT :pserver:anonymous@webwork-db.math.rochester.edu:/var/cvs/asu 
 cvs checkout asu_problems 
Dartmouth University
 % setenv CVSROOT :pserver:anonymous@webwork-db.math.rochester.edu:/var/cvs/dartmouth 
 cvs checkout dartmouth_problems 
Indiana University
 % setenv CVSROOT :pserver:anonymous@webwork-db.math.rochester.edu:/var/cvs/indiana 
 cvs checkout indiana_problems 
 % setenv CVSROOT :pserver:anonymous@webwork-db.math.rochester.edu:/var/cvs/dcds 
 cvs checkout dcsd_problems 
 % setenv CVSROOT :pserver:anonymous@webwork-db.math.rochester.edu:/var/cvs/ohio-state 
 cvs checkout osu_problems