public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
From: Jim Meyering <jim@meyering.net>
To: "Frank Ch. Eigler" <fche@redhat.com>
Cc: overseers@sourceware.org
Subject: Re: a sourceware git server?
Date: Wed, 19 Sep 2007 07:34:00 -0000	[thread overview]
Message-ID: <87k5qn3y7y.fsf@rho.meyering.net> (raw)
In-Reply-To: <20070919025524.GD8765@redhat.com> (Frank Ch. Eigler's message of "Tue, 18 Sep 2007 22:55:24 -0400")

"Frank Ch. Eigler" <fche@redhat.com> 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

  reply	other threads:[~2007-09-19  7:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-18 18:32 Jim Meyering
2007-09-19  2:55 ` Frank Ch. Eigler
2007-09-19  7:34   ` Jim Meyering [this message]
2007-09-19 11:19     ` Frank Ch. Eigler
2007-09-19 11:35       ` Jim Meyering
  -- strict thread matches above, loose matches on Subject: below --
2007-09-18 17:31 Jim Meyering

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k5qn3y7y.fsf@rho.meyering.net \
    --to=jim@meyering.net \
    --cc=fche@redhat.com \
    --cc=overseers@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).