Email Hooks

Nicholas Allen allen at ableton.com
Tue Aug 26 10:36:54 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 



> However, the thing I really want to do is to have the information
> connected to the branch not to me.  So the question is where in the
> .bzr (I assume it is in there) so I put the "hook" information?

If the branch is on a server accessed via ssh, for example, you could
create a "devel" user on the server and put this in the
~devel/.bazaar/locations.conf file on the server. All developers would
login to the server using the "devel" username for pushing/committing
etc. I think the hooks would work with the smart server if accessed by
"bzr+ssh" from client machines.

Another alternative is to use the hookless email support for bazaar.
This just monitors branches for changes without using a hook and then
sends emails when it finds them. It can poll or use inotify to do
this. https://launchpad.net/bzr-hookless-email

Cheers,

Nick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFIs862bpmWsXfOU58RAoZ9AKCl4nDuJCYsPMogy5sZeoVB9diomACghxH9
S2mFPfEYrWQjU1Sv5wVjla0=
=BNoD
-----END PGP SIGNATURE-----




More information about the bazaar mailing list