Re: Question: Is it possible to host a writable git repo over both http and ssh?
- From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
- Date
- Mar 26, 2009, 05:18 UTC
- Message-ID
- <200903260618.33019.robin.rosenberg.lists@dewire.com>
- In-Reply-To
- <20090326045650.GA13628@coredump.intra.peff.net>
torsdag 26 mars 2009 05:56:51 skrev Jeff King <peff@peff.net>:
Show 10 quoted lines
> On Wed, Mar 25, 2009 at 11:55:29PM -0500, Mike Gaffney wrote: > > > I'm actually trying to take what Sean did with gerrit and extract a > > full Java/MinaSSHD based server that doesn't require a real user > > account and is configurable by spring. So yes, I'm using JGit on the > > server. > > Ah. In that case, I don't know whether JGit respects all hooks. You > should ask Shawn (Shawn, we are talking about a post-update to run > update-server-info). :)
Arguably it should. but it doesn't. Then there is a question as to what format those hooks should be. Shell scripts would run into platform issues and jgit based stuff should have as little as possible of that, but a similar mechanism should exist.
-- robin