[rfc] Trigger Plugin
James Blackwell
jblack at merconline.com
Fri Jan 13 22:55:20 GMT 2006
On Thu, Jan 12, 2006 at 10:45:08PM -0500, Nathaniel McCallum wrote:
> I'd love some comments on this trigger plugin that I wrote. Basically
> the syntax is this:
> bzr trigger <command>
>
> It will run <command> for every revision in the branch. Subsequent
> calls to bzr trigger with the same command specified will only run on
> revisions since the last call. So for instance, if you were to put the
> following command into a cron job, it would email you the log for every
> commit:
> bzr trigger bzr log %branch% -r %revno% | sendmail foo at bar.com
Neat idea! I can imagine this being really useful for bzr->cvs gateways.
Trigger doesn't seem like the best name ever though. When I hear
"trigger", I think command hooks. I almost imagine that you could call the
command "foreach ..."
Definitely a neat idea. ;)
--
James Blackwell's home : http://jblack.linuxguru.net
Gnupg 06357400 F-print AAE4 8C76 58DA 5902 761D 247A 8A55 DA73 0635 7400
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060113/7fe5f30b/attachment.pgp
More information about the bazaar
mailing list