public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* a sourceware git server?
@ 2007-09-18 18:32 Jim Meyering
  2007-09-19  2:55 ` Frank Ch. Eigler
  0 siblings, 1 reply; 6+ messages in thread
From: Jim Meyering @ 2007-09-18 18:32 UTC (permalink / raw)
  To: overseers

[resending with a redhat return-address]
Hi guys,

You may recall that I've been maintaining cvs-to-git mirrors for
device-mapper and lvm2 on et.redhat.com.  Unfortunately, that system
is off-line now (don't know why), and it's in the Phoenix colo with no
console access, so we wait...

I'm really motivated right now to set up reliable git mirrors for those
two projects.  Obviously, best would be to have the mirrors on the same
system as the mirrored repositories.

I know this is of irregular, but from our last exchange, it sounds
like no one there is motivated to work on this sort of thing.  But I
_am_ motivated, and have already done this both on et.r.c., and on
git.savannah.gnu.org.  So, ...

Could I arrange to get access to your system in order to set up
a git server, my two mirroring cron jobs, (possibly a gitweb --
just a cgi script, if you're ok with that), and to do whatever else
I can to help provide git access on sourceware?  FWIW, I'm terribly
cautious/paranoid/whatever, and not a security risk.  If you need someone
to vouch for me, Uli Drepper probably will.

Jim (aka meyering@redhat.com)
long-time coreutils maintainer

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: a sourceware git server?
  2007-09-18 18:32 a sourceware git server? Jim Meyering
@ 2007-09-19  2:55 ` Frank Ch. Eigler
  2007-09-19  7:34   ` Jim Meyering
  0 siblings, 1 reply; 6+ messages in thread
From: Frank Ch. Eigler @ 2007-09-19  2:55 UTC (permalink / raw)
  To: Jim Meyering; +Cc: overseers

Hi -

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: a sourceware git server?
  2007-09-19  2:55 ` Frank Ch. Eigler
@ 2007-09-19  7:34   ` Jim Meyering
  2007-09-19 11:19     ` Frank Ch. Eigler
  0 siblings, 1 reply; 6+ messages in thread
From: Jim Meyering @ 2007-09-19  7:34 UTC (permalink / raw)
  To: Frank Ch. Eigler; +Cc: overseers

"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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: a sourceware git server?
  2007-09-19  7:34   ` Jim Meyering
@ 2007-09-19 11:19     ` Frank Ch. Eigler
  2007-09-19 11:35       ` Jim Meyering
  0 siblings, 1 reply; 6+ messages in thread
From: Frank Ch. Eigler @ 2007-09-19 11:19 UTC (permalink / raw)
  To: Jim Meyering; +Cc: overseers

Hi -

On Wed, Sep 19, 2007 at 09:34:25AM +0200, Jim Meyering wrote:
> [...]
> This will fix it:
>     chgrp lvm /git/lvm2.git/.

Done.

> 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


That's because I wanted to keep the ssh: and git: URLs the same.

> [...] you can add the --base-path=/git option in xinet.d.

AFAIK, that would only affect the git: URL, and force the ssh: one to
contain the base path name (/git).


- FChE

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: a sourceware git server?
  2007-09-19 11:19     ` Frank Ch. Eigler
@ 2007-09-19 11:35       ` Jim Meyering
  0 siblings, 0 replies; 6+ messages in thread
From: Jim Meyering @ 2007-09-19 11:35 UTC (permalink / raw)
  To: Frank Ch. Eigler; +Cc: overseers

"Frank Ch. Eigler" <fche@redhat.com> wrote:
> On Wed, Sep 19, 2007 at 09:34:25AM +0200, Jim Meyering wrote:
>> [...]
>> This will fix it:
>>     chgrp lvm /git/lvm2.git/.
>
> Done.

Thanks.

>> 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
>
> That's because I wanted to keep the ssh: and git: URLs the same.
>
>> [...] you can add the --base-path=/git option in xinet.d.
>
> AFAIK, that would only affect the git: URL, and force the ssh: one to
> contain the base path name (/git).

Consistency is good, too.  Either way is fine.
I tried the shorter one because that's what your
git://sources.redhat.com/FOO example suggested.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* a sourceware git server?
@ 2007-09-18 17:31 Jim Meyering
  0 siblings, 0 replies; 6+ messages in thread
From: Jim Meyering @ 2007-09-18 17:31 UTC (permalink / raw)
  To: overseers

Hi guys,

You may recall that I've been maintaining cvs-to-git mirrors for
device-mapper and lvm2 on et.redhat.com.  Unfortunately, that system
is off-line now (don't know why), and it's in the Phoenix colo with no
console access, so we wait...

I'm really motivated right now to set up reliable git mirrors for those
two projects.  Obviously, best would be to have the mirrors on the same
system as the mirrored repositories.

I know this is of irregular, but from our last exchange, it sounds
like no one there is motivated to work on this sort of thing.  But I
_am_ motivated, and have already done this both on et.r.c., and on
git.savannah.gnu.org.  So, ...

Could I arrange to get access to your system in order to set up
a git server, my two mirroring cron jobs, (possibly a gitweb --
just a cgi script, if you're ok with that), and to do whatever else
I can to help provide git access on sourceware?  FWIW, I'm terribly
cautious/paranoid/whatever, and not a security risk.  If you need someone
to vouch for me, Uli Drepper probably will.

Jim (aka meyering@redhat.com)
long-time coreutils maintainer

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-09-19 11:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-18 18:32 a sourceware git server? Jim Meyering
2007-09-19  2:55 ` Frank Ch. Eigler
2007-09-19  7:34   ` Jim Meyering
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

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).