git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: setting up git-cvsserver

From
Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de>
Date
Aug 3, 2006, 08:36 UTC
Message-ID
<20060803083640.GB3816@informatik.uni-freiburg.de>
In-Reply-To
<Pine.LNX.4.63.0608011822080.17230@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin wrote:
Show 21 quoted lines
> 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
Previous: Johannes Schindelin
Message 3 of 3 in “setting up git-cvsserver”
  1. Uwe ZeisbergerAug 1, 2006
  2. Johannes SchindelinAug 1, 2006
  3. Uwe ZeisbergerAug 3, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.