Re: setting up git-cvsserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johannes Schindelin wrote:
> Hi,
> 
> On Tue, 1 Aug 2006, Uwe Zeisberger wrote:
> 
> > I cannot checkout a git repo via cvs, I think the only problem is, that
> > I don't know how to specify the CVSROOT:
> > 
> > fs-n1:~# grep git- /etc/inetd.conf 
> > 2402    stream  tcp     nowait  root    /usr/local/sbin/git-cvsserver pserver
> 
> From Documentation/git-cvsserver.txt:
> 
> -- snip --
> Note: In some cases, you need to pass the 'pserver' argument twice for
> git-cvsserver to see it. So the line would look like
> 
> ------
>    cvspserver stream tcp nowait nobody git-cvsserver pserver pserver
> -- snap --
> 
> So, maybe this solves your problem?
Yes, thanks.  Sorry.  The mail was written in a hurry because I wanted
to reach a bus.

BTW, after reading inetd.conf(5), I think the git-cvsserver should occur
twice, not pserver.  The first (actually the 6th) item specifies the
path to the binary to call and the next it the program name the program
sees (i.e. argv[0] (in C) resp. $0 (in Perl)).

You could circumvent that by testing $0 == "pserver" in git-cvsserver.

> OTOH it might be cleverer to use SSH transport to begin with.
For me not.  I have to convice some managers in my company that it is
sensible to only switch the linux department to git.  They want to
assert that every engineer can access anybodys code.  Because not every
"other" developper has an account on our cvs server anonymous pserver is
what *I* want.

Best regards
Uwe

-- 
Uwe Zeisberger

http://www.google.com/search?q=sin%28pi%2F2%29
-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]