{"thread":{"id":"5070","subject":"setting up git-cvsserver","startedAt":"2006-08-01T15:49:06Z","lastAt":"2006-08-03T08:36:40Z","messageCount":3,"participants":["Uwe Zeisberger","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"24517","messageId":"20060801154906.GA18772@informatik.uni-freiburg.de","threadId":"5070","inReplyTo":null,"subject":"setting up git-cvsserver","fromName":"Uwe Zeisberger","fromEmail":"zeisberg@informatik.uni-freiburg.de","sentAt":"2006-08-01T15:49:06Z","receivedAt":"2006-08-01T15:49:06Z","isPatch":false,"sender":{"key":"u.kleine-koenig@pengutronix.de","avatar":"https://gravatar.com/avatar/354b5e3ceb2806a2f1e1e382ac29ddbdad18288654da62b61eb13583a857eee7?d=mp&s=160"},"body":"Hello,\n\nI cannot checkout a git repo via cvs, I think the only problem is, that\nI don't know how to specify the CVSROOT:\n\nfs-n1:~# grep git- /etc/inetd.conf \n2402    stream  tcp     nowait  root    /usr/local/sbin/git-cvsserver pserver\n\nfs-n1:~# GIT_DIR=/data/vcs/git/LxNETES-2.4/bl.git git var -l\ncore.repositoryformatversion=0\ncore.filemode=true\ngitcvs.enabled=1\nGIT_COMMITTER_IDENT=root <root@fs-n1.fsforth.de> 1154447177 +0200\nGIT_AUTHOR_IDENT=root <root@fs-n1.fsforth.de> 1154447177 +0200\n\nuzeisberger@io:~$ cvs -d :pserver:fs-c:2402/data/vcs/git/LxNETES-2.4/bl.git login\nLogging in to :pserver:uzeisberger@fs-c:2402/data/vcs/git/LxNETES-2.4/bl.git\nCVS password: \ncvs [login aborted]: unrecognized auth response from fs-c: Unknown command BEGIN VERIFICATION REQUEST at /usr/local/sbin/git-cvsserver line 132, <STDIN> line 1.\nuzeisberger@io:~$ cvs -d :pserver:fs-c:2402/data/vcs/git/LxNETES-2.4/bl.git co master\ncvs [checkout aborted]: unrecognized auth response from fs-c: Unknown command BEGIN AUTH REQUEST at /usr/local/sbin/git-cvsserver line 132, <STDIN> line 1.\n\ncvs version is 1.12.13 (Debian)\ngit-cvsserver is from v1.4.2-rc2-gbc9e1b8\nrest of git is 1.4.0\n\nprobably I'm just too stupid to read and understand the docs...\n\nBest regards\nUwe\n\n-- \nUwe Zeisberger\n\ncat /*dev/null; echo 'Hello World!';\ncat > /dev/null <<*/ \n() { } int main() { printf(\"Hello World!\\n\");}\n/* */\n"},{"id":"24518","messageId":"Pine.LNX.4.63.0608011822080.17230@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"5070","inReplyTo":"20060801154906.GA18772@informatik.uni-freiburg.de","subject":"Re: setting up git-cvsserver","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2006-08-01T16:23:38Z","receivedAt":"2006-08-01T16:23:38Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Tue, 1 Aug 2006, Uwe Zeisberger wrote:\n\n> I cannot checkout a git repo via cvs, I think the only problem is, that\n> I don't know how to specify the CVSROOT:\n> \n> fs-n1:~# grep git- /etc/inetd.conf \n> 2402    stream  tcp     nowait  root    /usr/local/sbin/git-cvsserver pserver\n\n>From Documentation/git-cvsserver.txt:\n\n-- snip --\nNote: In some cases, you need to pass the 'pserver' argument twice for\ngit-cvsserver to see it. So the line would look like\n\n------\n   cvspserver stream tcp nowait nobody git-cvsserver pserver pserver\n-- snap --\n\nSo, maybe this solves your problem?\n\nOTOH it might be cleverer to use SSH transport to begin with.\n\nHth,\nDscho\n"},{"id":"24625","messageId":"20060803083640.GB3816@informatik.uni-freiburg.de","threadId":"5070","inReplyTo":"Pine.LNX.4.63.0608011822080.17230@wbgn013.biozentrum.uni-wuerzburg.de","subject":"Re: setting up git-cvsserver","fromName":"Uwe Zeisberger","fromEmail":"zeisberg@informatik.uni-freiburg.de","sentAt":"2006-08-03T08:36:40Z","receivedAt":"2006-08-03T08:36:40Z","isPatch":false,"sender":{"key":"u.kleine-koenig@pengutronix.de","avatar":"https://gravatar.com/avatar/354b5e3ceb2806a2f1e1e382ac29ddbdad18288654da62b61eb13583a857eee7?d=mp&s=160"},"body":"Johannes Schindelin wrote:\n> Hi,\n> \n> On Tue, 1 Aug 2006, Uwe Zeisberger wrote:\n> \n> > I cannot checkout a git repo via cvs, I think the only problem is, that\n> > I don't know how to specify the CVSROOT:\n> > \n> > fs-n1:~# grep git- /etc/inetd.conf \n> > 2402    stream  tcp     nowait  root    /usr/local/sbin/git-cvsserver pserver\n> \n> From Documentation/git-cvsserver.txt:\n> \n> -- snip --\n> Note: In some cases, you need to pass the 'pserver' argument twice for\n> git-cvsserver to see it. So the line would look like\n> \n> ------\n>    cvspserver stream tcp nowait nobody git-cvsserver pserver pserver\n> -- snap --\n> \n> So, maybe this solves your problem?\nYes, thanks.  Sorry.  The mail was written in a hurry because I wanted\nto reach a bus.\n\nBTW, after reading inetd.conf(5), I think the git-cvsserver should occur\ntwice, not pserver.  The first (actually the 6th) item specifies the\npath to the binary to call and the next it the program name the program\nsees (i.e. argv[0] (in C) resp. $0 (in Perl)).\n\nYou could circumvent that by testing $0 == \"pserver\" in git-cvsserver.\n\n> OTOH it might be cleverer to use SSH transport to begin with.\nFor me not.  I have to convice some managers in my company that it is\nsensible to only switch the linux department to git.  They want to\nassert that every engineer can access anybodys code.  Because not every\n\"other\" developper has an account on our cvs server anonymous pserver is\nwhat *I* want.\n\nBest regards\nUwe\n\n-- \nUwe Zeisberger\n\nhttp://www.google.com/search?q=sin%28pi%2F2%29\n"}]}