[Kde-scm-interest] Post-commit hooks script
Oswald Buddenhagen
ossi at kde.org
Sat Dec 5 14:45:59 CET 2009
On Sat, Dec 05, 2009 at 02:27:18PM +0100, Thomas Zander wrote:
> On Saturday 5. December 2009 13.20.12 Oswald Buddenhagen wrote:
> > however, a pre-receive hook obviously requires the ability for kde
> > to install hooks on gitorious.
> >
> This is where gitorious thought ahead;
>
did they? from what i've read here, they only reacted to our previous
input.
> they have a post hook that makes a connection to a remote machine and
> tells it the latest changes.
>
1) this explicitly covers the post-receive hook, not the pre-receive
one.
2) part of my script needs to be on gitorious anyway (see the note
about the race condition in my script). or in git itself, in the best
case.
3) this is subject to connectivity problems. while the post-receive
thing could kinda work if complete atomic ref snapshots are queued, it
is a non-starter for a pre-receive hook (which needs to be called in
real-time).
More information about the Kde-scm-interest
mailing list