Skip to content Accesskey=4Skip to sub-navigation Accesskey=3View our Accessibility Options MIT Information Systems Home About IS&T Contact IS&T Site Map Search Advanced Search
Getting StartedGetting Services by Topic or Alphabetically Getting Help

On This Page

[Help]

  

Quick Links

Top Level

Related Links

Ask OLC a question

Athena Consulting Homepage

Helpdesk Stock Answers (for Mac/PC questions)


How can I use a CVS REPOSITORY on Athena?

A CVS server is not necessary in order to use CVS.  It is possible to
use a CVS repository in a shared filesystem such as AFS.  For example,
to create a CVS repository in your homedir, you could do:

  mkdir ~/repository
  setenv CVSROOT $HOME/repository
  cvs init

and you would then be able to "cvs add" directories and files in that
repository as usual.  Other users could be granted access to the
repository via AFS directory acls, which you can set with the "fs sa"
command.  If you are unfamiliar with setting AFS permission, there's a
stock answer in the "unix" section:
  http://web.mit.edu/answers/unix/afs/afs_chmod.html

Using a repository in AFS will be very convenient from Athena
workstations and other machines with direct AFS access.  For machines
without AFS (most Windows and MacOS machines), it's possible to access
AFS repositories via SSH, by setting your CVSROOT to:

  :ext:athena.dialup.mit.edu:/mit/jruser/repository

and the CVS_RSH variable to "ssh"; some Windows and MacOS CVS clients
may have a checkbox for "use CVS over SSH" instead.  This will ssh
into the Athena dialups to run the CVS commands, and while not an
ideal solution, it seems to work reasonably well for some users.  If
you do this, make sure to have "add gnu" in your .environment file so
that you have access to the cvs command after logging in.

Last Updated: $Date: 2007/03/25 19:17:52 $

MIT Home | Getting Started | Getting Services | Getting Help | About IS&T | Accessibility
Ask a technology question or send a comment about this web page.