The University of Arizona

Resources

CVS (Concurrent Versions System)

A CVS server is now installed on cvs.cs.arizona.edu. CVS (Concurrent Versions System) is a tool for version control. This server can be used by faculty, staff and students within the department. If you need a project area on this set up, you should use the web based group/CVS application process available at http://www.cs.arizona.edu/computing/services.

You can use the :pserver: method to obtain anonymous read only access to a limited number of project areas.

These areas are 'test', 'algovista', 'sr', and 'icon'.

For example:

% cvs -d 
   :pserver:anonymous@cvs.cs.arizona.edu:/cvs/test login
% cvs -d 
   :pserver:anonymous@cvs.cs.arizona.edu:/cvs/test checkout .
% cvs -d 
   :pserver:anonymous@cvs.cs.arizona.edu:/cvs/test logout

% cvs -d 
   :pserver:anonymous@cvs.cs.arizona.edu:/cvs/sr   login # etc.
% cvs -d 
   :pserver:anonymous@cvs.cs.arizona.edu:/cvs/icon login # etc.

The password for 'anonymous' is any non null character string.

You can use the :ext: method together with ssh to obtain read-write access to your project areas. To do this, you need to set the environment variable 'CVS_RSH' to 'ssh'.

For example, on a Linux machine, where 'username' is your user name, and 'project-name' is your project name, you can do at a shell prompt:

% setenv CVS_RSH ssh      # in csh or tcsh.

or

% CVS_RSH=ssh             # in sh or bash.
% export CVS_RSH          

% cvs -d \
   :ext:username@cvs.cs.arizona.edu:/cvs/cvs/project-name checkout .

The :ext: method requires that you have an account on the cvs server. If you have an account on lectura, you will have an account on the cvs server.

There are a number of project areas currently on the cvs server. These can be accessed on the unix machines in the department via the path /cs/cvs/project-name.

Note that files checked into cvs via the ext method are subject to the current umask. If you want to make your checked in files readable and writable by your group, set your umask to 2, before checking files in.

If an account needs to be set up on the cvs server for read/write access, or if an additional project area under cvs needs to be set up, see the link at the top of this page.

Complete documentation on CVS can be found at:

CVS Homepage http://www.cvshome.org


Last updated Tuesday, 25-Mar-2008 15:57:47 MST, by Phil Kaslo
Send questions about this page to