This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cvs pserver setup howto ?


On Sun, 05 Oct 2003 15:16:08 +0200, Albrecht Berger wrote:

I'm no cvs guru, but

What are the steps that I need to do ?

What I did is :
 0.export CVSROOT=/cvsroot
  1.  cvs init
    2.  cvs checkout CVSROOT
    3.  cvs commit CVSROOT
    4.  mkpasswd.exe > CVSROOT/passwd

The passwd output from Cygwin's mkpasswd -l wouldn't really be useful for cvs auth. See http://www.cvshome.org/docs/manual/cvs-1.11.7/cvs_2.html#SEC30


You might also want to take note of their advice that "Unlike many of the files in `$CVSROOT/CVSROOT', it is normal to edit the `passwd' file in-place, rather than via CVS." You can generate one with the aid of crypt. You might also consider using the fallback system auth instead.

    5.  cvs add CVSROOT/passwd
    6.  cvs commit

It all worked and now I have a repository at /cvsroot.
To start the cvs in server mode I usw :
cvs server
Shouldn't this be "cvs pserver" given:
But if I try to login in an other cygwin-shell using :
export CVSROOT=:pserver:username@localhost:/
cvs login

Not using / as CVSROOT might be a good idea as well.


I don't know how eclipse wants to access your repository, but wouldn't it make more sense not to use a local pserver, and just let cvs operate directly on the fs (:local: and :fork: methods)?

Cheers,
Dean Scarff

Apologies: I sent this accidentally sent this reply off-list as well

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]