![]() | |||||||||||||||||||||||||||||||||||||||
|
Using CVS at UNC-CH
CVS is a version control management system installed in AFS package space. To use CVS, it is recommended that a user set up a CVS repository in AFS space and access it using secure shell via the Isis login nodes. This document assumes that the user has a basic understanding of CVS; for more information, please see the CVS man page, or the online reference manual. Setting up a RepositoryFirst, make a directory in your personal, departmental or project AFS space to serve as your CVS repository. Then run the cvs init command to let CVS do the underlying work of setting up the repository. For example,# mkdir /afs/isis/projects/test/cvsroot # cvs -d /afs/isis/projects/test/cvsroot init Accessing the RepositoryOnce the repository has been created in AFS space, there are two ways to access it. The simplist method is local access. This requires that AFS client software be installed on the workstation and that the user has a valid AFS token. With this method, the CVSROOT environment variable should be set to the local path to the CVS repository. Using the previous example, on a UNIX workstation CVSROOT would be be set to:"/afs/isis/projects/test/cvsroot" On a Windows workstation with /afs/isis/projects mounted as drive P, CVSROOT would be set to: "P:\test\cvsroot" If your workstation does not have AFS client software installed, the
CVS repository can be accessed remotely, using an external rsh program to
execute CVS commands on the Isis login nodes. Ssh is the preferred shell
because it provides an encrypted connection between your workstation and
the CVS repository. For remote access, the CVS_RSH environment variable
should be set to "ssh" and the CVSROOT environment variable should be set
to: Obtaining the ssh binaryIf your workstation is a UNIX host, please refer to the DCI Secure Shell page to obtain the ssh binaries. If you are using a Windows machine, you can use this stripped down version of the secure shell client. If you use this version, make sure your HOME environment variable is set; ssh uses it to store its configuration data. Also make sure that the path to the ssh program is in your PATH environment variable. | ||||||||||||||||||||||||||||||||||||||
Maintained by: dci@unc.edu Url: http://help.unc.edu/dci/dci_components/shared_apps/cvs/cvs.html Last Updated: Nov 5, 1999 |