From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8074 invoked by alias); 19 Sep 2007 07:34:33 -0000 Received: (qmail 8064 invoked by uid 22791); 19 Sep 2007 07:34:33 -0000 X-Spam-Check-By: sourceware.org Received: from mx.meyering.net (HELO mx.meyering.net) (82.230.74.64) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Sep 2007 07:34:28 +0000 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 94DC23ED65; Wed, 19 Sep 2007 09:34:25 +0200 (CEST) From: Jim Meyering To: "Frank Ch. Eigler" Cc: overseers@sourceware.org Subject: Re: a sourceware git server? In-Reply-To: <20070919025524.GD8765@redhat.com> (Frank Ch. Eigler's message of "Tue, 18 Sep 2007 22:55:24 -0400") References: <87k5qn7adj.fsf@rho.meyering.net> <20070919025524.GD8765@redhat.com> Date: Wed, 19 Sep 2007 07:34:00 -0000 Message-ID: <87k5qn3y7y.fsf@rho.meyering.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact overseers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: , Sender: overseers-owner@sourceware.org X-SW-Source: 2007-q3/txt/msg00096.txt.bz2 "Frank Ch. Eigler" wrote: > On a trial basis, I set up: > > - a git-daemon instance (using xinetd.d), listening on port 9418, enabling read-only > git://sources.redhat.com/FOO > - permission for the restricted shell to use git* tools, to enable read/write > ssh+git://sources.redhat.com/FOO > - two blank directories /git/dm.git and /git/lvm2.git, as two candidate FOO's, > populate at will > - git and cvsps tools under /usr/local/bin, so git-cvsimport works > - no gitweb access yet (probably soon) > > Please let me know if this is enough and works for you. > > - FChE Thank you! Speedy service :-) The dm part works great, but I can't write into the lvm2 gitfiles dir. Looks like it inherited the "cluster" group, while it needs "lvm". sourceware$ ls -Ldg /git/* drwxrwsr-x 3 lvm 4096 Sep 19 06:30 /git/dm.git/ drwxrwsr-x 2 cluster 4096 Sep 19 02:46 /git/lvm2.git/ sourceware$ ls -og /git/*|cut -d' ' -f8- /git/dm.git -> /sourceware/projects/dm-home/gitfiles/ /git/lvm2.git -> /sourceware/projects/lvm2-home/gitfiles/ This will fix it: chgrp lvm /git/lvm2.git/. or, more directly, chgrp lvm /sourceware/projects/lvm2-home/gitfiles ------------------ These work fine: git-clone ssh://sourceware.org/git/dm git-clone git://sourceware.org/git/dm But these slightly shorter commands don't work: git-clone ssh://sourceware.org/dm git-clone git://sourceware.org/dm If you would like the shorter commands to work (I would): git://sources.redhat.com/FOO ssh://sources.redhat.com/FOO you can add the --base-path=/git option in xinet.d. Now, I'll try mirroring with git-cvsimport... Jim