Email sending plugin.

Martin Pool mbp at canonical.com
Mon Jul 10 03:25:03 BST 2006


On  8 Jul 2006, Matthieu Moy <Matthieu.Moy at imag.fr> wrote:

> Indeed, I was wondering whether it was best to
> 
> 1) provide an easy way for the user to specify the format of the email
>    to send. For example, a ~/.bzr-email file saying stg like
> 
> ,----
> | Subject: @revno@: @summary@ in @url@
> | 
> | @log@
> `----
> 
>    and have the email plugin do variable substitution to send the
>    actual mail.
> 
> 2) find a format that would suite everyone.
> 
> Indeed, 1) seems interesting, but an advantage of 2) is that a common
> format helps in having automated tools on the recipient side (we
> already have something for tla + DVC + Gnus, to view the diff or
> perform a merge easily while reading this sort of messages, it would
> be cool to have it for bzr too). 1) is also perhaps a bit
> overengineered.
> 
> Perhaps it's:
> 
> 3) allow 1), but with a default corresponding to 2).

Yes, I think a good default plus a format string would make sense.  (I
don't really like @revno@ though, but let's not bikeshed that now.)

-- 
Martin




More information about the bazaar mailing list