[ANNOUNCE] bzr shell hooks plugin

Jelmer Vernooij jelmer at samba.org
Thu Jan 31 13:22:53 GMT 2008


Am Donnerstag, den 31.01.2008, 18:25 +1000 schrieb Ian Clatworthy:
> Jelmer Vernooij wrote:
> >> [hooks]
> >> pre_commit = foo.sh
> >> pre_commit.also = bar.sh
> > IMHO this last bit isn't all that urgent. I'm actually quite surprised
> > we've been able to get away with not supporting shell hooks for so long.
> > I guess people always use hooks for really standard things like sending
> > commit emails or notifying cia.
> 
> >> This has been on my TODO list for a few weeks now. Any objections if I
> >> migrate this functionality into the core and add these changes? (I'm
> >> happy to make the core implementation forwardly compatible with your
> >> code as best I can.)
> > Not at all :-)
> 
> My patch is now ready to go minus doc and more tests. I have a better
> solution working for the multiple shell commands per hook feature -
> nested sections.
Is it still as easy to configure?

> Any objections to renaming the section to [HOOKS]? Using uppercase makes
> it consistent with [ALIASES].
Sounds fine to me. I personally favor lower case for the section names
though, but I guess we've already chosen for upper casing and
consistency is nice.

Cheers,

Jelmer

-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org



More information about the bazaar mailing list