commit emails from a central server with bzr 2.6
Glenn Morris
rgm at gnu.org
Thu Jun 6 00:08:57 UTC 2013
Still no luck. Here's what I did:
1. apt-get install bzr-email
This installs the plugin in /usr/lib/python2.6/dist-packages/bzrlib/plugins.
`bzr plugins' lists it.
2. Create a test branch, bzrtest. On the server, its
.bzr/branch/branch.conf looks like this:
post_commit_to = rgm AT gnu.org
post_commit_body = ""
post_commit_subject = $url r$revision: $message
post_commit_mailer = /usr/bin/mail
post_commit_push_pull = True
3. Checkout that branch on a different machine:
bzr branch --bind bzr+ssh://gm@bzr.savannah.gnu.org/emacs/bzrtest
4. Make a commit from the client machine.
I see nothing useful in .bzr.log on the server, just:
Thu 2013-06-06 00:00:26 +0000
0.076 bazaar version: 2.6b2
0.076 bzr arguments: [u'serve', u'--inet', u'--directory=/srv/bzr', u'--allow-writes', u'--verbose']
0.085 looking for plugins in /var/lib/bzr/.bazaar/plugins
0.085 looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins
0.104 encoding stdout as osutils.get_user_encoding() 'ascii'
1.741 size: 271489, z_size: 66335
[...]
5. No commit email.
I have verified that /usr/bin/mail works from the command-line on the server.
(I'm hoping that smtplib will work.)
More information about the bazaar
mailing list