Re: [RFC] new -stable tag variant, Git workflow question

From: Ingo Molnar
Date: Thu Nov 12 2009 - 02:46:00 EST



* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

>
>
> On Wed, 11 Nov 2009, H. Peter Anvin wrote:
> > >
> > > Quite frankly, I'd much rather not run hooks on my tree directly. The less
> > > that can possibly get screwed up with my kernel.org tree, the happier I
> > > am. So in many ways, I really prefer the whole "done separately by others"
> > > approach.
> > >
> > > But hey, send the hook to me, and I'll think about it.
> >
> > One thing we might be able to do is to create an "exploder hook" on your
> > tree - something that asynchronously broadcasts a notification that
> > anyone can subscribe to.
>
> Yeah, some minimal hook just informing any interested party about "ok,
> Linus pushed to the main tree" (and in fact, perhaps generalized so that
> you can show that you are interested in some particular branch of _any_
> tree that people can just add to their trees) certainly doesn't sound like
> a bad idea.
>
> That way we can get rid of "polling by cron", without having to have
> the tree owners themselves care about who is interested in exactly
> what..

That's already possible via the git-commits-head@xxxxxxxxxxxxxxx email
list. Anyone can subscribe to it and can procmail process it. It is also
more secure (and less intrusive to the tree owner) than any post-push
hook script running under the pusher's UID. Polling via cron is really
not required i think.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/