Email Hooks

Russel Winder russel.winder at concertant.com
Tue Aug 26 14:00:15 BST 2008


On Mon, 2008-08-25 at 13:14 -0500, John Arbash Meinel wrote:

> Russel Winder wrote:
> > Is there somewhere an idiots guide to setting up an email hook on a
> > branch?  I have tried searching Google and reading the result of "bzr
> > help email" but I am really none the wiser as to what to actually do.
> > 
> 
> As for the other part. It is generally setting:
> 
> post_commit_to = Mailing List <mailinglist at example.com>
> 
> In your ~/.bazaar/locations.conf for whatever branches you want to send emails
> from.

I have a user person who owns a branch
at /home/Bazaar/AGroovyIntroductionToJava.  In
~person/.bazaar/locations.conf I have:

        [/home/Bazaar/AGroovyIntroductionToJava]
        
        post_commit_to = person1 at place1, person2 at place2
        
(not the real addresses obviously :-) and in ~person/.bazaar/bazaar.conf I have:

        [DEFAULT]
        post_commit_mailer = smtplib
        smtp_server = localhost

though this was an experiment in case the default of trying to
use /usr/bin/mail was failing -- I have tried with and without the
bazaar.conf file.

I have tried a number of pushes to bzr
+ssh://person@dimen.russel.org.uk/home/Bazaar/AGroovyIntroductionToJava
but none have resulted in an email being sent -- I watched the mail.log
file and there was no attempt to send email.

Is there any way of testing the email hook stuff?  Is it obvious what I
am doing wrong?

-- 
Russel.
====================================================
Dr Russel Winder                 Partner

Concertant LLP                   t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,              f: +44 8700 516 084
London SW11 1EN, UK.             m: +44 7770 465 077
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080826/c4b67e91/attachment.pgp 


More information about the bazaar mailing list