delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/05/10:48:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sun, 05 Oct 2003 22:49:16 +0800
From: Dean Scarff <d_scarff AT bigpond DOT com>
Subject: Re: cvs pserver setup howto ?
In-reply-to: <000501c38b42$d74dd310$a07ba8c0@wxp>
To: cygwin AT cygwin DOT com
Message-id: <oprwkrgev4vu2jug@mail.bigpond.com>
MIME-version: 1.0
User-Agent: Opera7.20/Win32 M2 build 3144
References: <000501c38b42$d74dd310$a07ba8c0 AT wxp>

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 AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019