Sending commit emails from a central location

Adeodato Simó dato at net.com.org.es
Thu Jun 21 21:41:14 BST 2007


Hello guys.

I've always liked commit emails for some projects, and bzr-email is not
really a solution for me, because everybody has to individually
configure the plugin, etc. I'm told post_commit will one day work on the
server side, when using bzr+ssh://, but alas, people could still push
with sftp://.

So I sat down today and wrote a tool to watch branches on the machine
they're hosted, and send mails from there. This ensures that every
pushed commit gets an email.

Sending this mail in case this tool is of interest to somebody else. :-)

  http://chistera.yi.org/~adeodato/code/bzr/bzr-hookless-email/

P.S.: Code from bzr-email/emailer.py was stolen for this. Maybe it'd be
nice to have in bzrlib code to generate a "commit email".

Cheers,

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
It is by logic that we prove, but by intuition that we discover.
                -- Henri Poincaré




More information about the bazaar mailing list