--- Eduardo Sanz Garcia <[EMAIL PROTECTED]> wrote:
> Is there anyone expert on CVS?
> I would like to set a repository for a code that can be access
> remotely.
> I am going to need some help.
> Maybe someone is willing to give a talk about the topic in a
> meeting, or help me before a meeting.

I've set up a few CVS repositories.  It's not terribly difficult,
particularly if your remote access will be over SSH (which I
highly recommend, unless you need anonymous access).

If you just need to set up a repository that you can access over
SSH, the instructions are simple:

- Install CVS using your particular distribution's package
  management, unless you're on a BSD, in which case it's already
  installed as part of the base system.
- Make a directory for your repository. /usr/local/cvsroot,
  /var/cvsroot and /home/cvsroot are common choices.
- Run the following command:
  cvs -d /usr/local/cvsroot init
  (substituting your repository directory as needed, of course)

With that your repository is ready to go.

On the machines where you need working copies, you'll need to
set a few environment variables:

  CVS_RSH=ssh
  CVSEDITOR=/usr/bin/vim
  CVSROOT=:ext:[EMAIL PROTECTED]:/usr/local/cvsroot

Then, create and import one or more projects that people can
check out, and you're up and running.

If SSH won't work for your needs, then you have a bit more work
to do, mostly setting up inetd to listen on port 2401 and pass
those requests to CVS.

If you really want all the information on CVS, "Open Source
Development With CVS" (http://cvsbook.red-bean.com/) is a great
place to start.


--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to