CVS Repositories

From CS Support Wiki
Revision as of 15:16, 21 July 2006 by Reh4j (Talk | contribs)

Jump to: navigation, search

This page is under construction!

Quick CVS Introduction

Creating a Repository

You can create a cvs repository in your home directory:

cvs -d ~/cvsroot init

You will probabably want to modify your .profile file to contain the cvsroot and cvseditor variables.

export CVSROOT=$HOME/cvsroot
export CVSEDITOR=vi



Repository Permissions

Any repository that you create will be owned by your and your [default] group. Only members of your group will be able to access your repository. For instance, if you are a member of csfaculty and create a repository, a student belonging to csgrads would not have the permissions to access your repository.

CVS only allows files to be controlled on a per directory basis, not on an individual one.

Possible solutions include:

  • Setting up a unix group containing the people who should be able to access the repository, and then ensure that the repository directory is owned by that group.
  • Hosting your repository remotely on the pserver and setting up accounts for those who need access

Email root to help set you up.


Collaborating with People Outside the Department

If you want people outside the department to have access to your repository, then you will need to host it remotely on the pserver.