Re: Git Repository for WITH RECURSIVE and others - Mailing list pgsql-hackers

From David Fetter
Subject Re: Git Repository for WITH RECURSIVE and others
Date
Msg-id 20080624145522.GI29447@fetter.org
Whole thread Raw
In response to Re: Git Repository for WITH RECURSIVE and others  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Git Repository for WITH RECURSIVE and others  (Magnus Hagander <magnus@hagander.net>)
Re: Git Repository for WITH RECURSIVE and others  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-hackers
On Tue, Jun 24, 2008 at 09:52:22AM +0200, Magnus Hagander wrote:
> David Fetter wrote:
> > Folks,
> > 
> > With lots of help from Greg Sabino Mullane, I've set up a git
> > repository for the WITH RECURSIVE patches on
> > <http://git.postgresql.org/>.
> > 
> > What other patches would people like to try maintaining this way
> > until commitfest?
> > 
> > It looks like gitosis is a good way to grant write access to git
> > repositories, but it's not yet packaged for FreeBSD.  Any ideas
> > about how to handle this?
> 
> As you were answered the last time you asked about it, people are
> already working on this.

Which people, and what are they doing?  The silence here has been
deafening.

> Unfortunately, the requirements have also been raised a bit (such as
> allowing a user to delegate access to another user)

Who raised those requirements, and where did that discussion take
place?  I don't recall any decision to do any of this by star chamber
and secret cabal, and frankly, moving the goalposts on this is a great
way to have it never actually happen.  Is that your intention?

> which means it will take longer.
> 
> Now, if you can give us a step-by-step on how to set it up, that
> would certainly help ;-)

Gitosis does not, as far as I can tell, have that delegation
capability, but I've come up with a way to do this:

1.  Use git-shell.  Yes, this does involve creating one shell account
for each project, but git-shell is, by design, very short on
exploitable capability.

2.  Make the .ssh directory a git repository.

3.  Edit .ssh/authorized_keys and push via git.

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Git Repository for WITH RECURSIVE and others
Next
From: Josh Berkus
Date:
Subject: Re: Dept of ugly hacks: eliminating padding space in system indexes