Submit by mail

Hermann Kraus hermann at physiklaborant.de
Sun Jun 11 18:40:17 BST 2006


Hello!

I'm working on this task: http://bazaar-vcs.org/SubmitByMail. Now I want  
to have
some comments about how I should do this.

To store the configuration data I want to add to new files to the .bzr  
directory:
x-submit-addressStores the default email address (similar to x-pull,  
x-push-data)
x-submit-message  Stores a message that is shown before one can send a  
mail (can
be disabled by the user) that contains information about what mailinglist  
the
message is going to, where to subscribe, special format requirements, etc.

There will be a submit command that sends to the default address if no  
--mail
parameter is given. --remember will store the address as the new default  
address
(like push). If --remember is given a --message-file parameter can be  
given which
overwrites x-submit-message.

The mua command can be configured in bazaar.conf. If none is specified a  
text-
editor is launched and an internal mail command used. The bundle will be  
stored in
a temporary file and sent as and attachment.

 From the original proposal: "To allow bzr branch to know how to set the  
submit
target, there should be a file in the .bzr/ directory indicating the  
target. To
allow for a different target for people who branch from me, versus my  
default
branch target, there should be 2 files. (.bzr/submit-to and  
.bzr/children-submit-
to) bzr branch should be smart, such that when it creates a branch, it  
will use
  .bzr/children-submit-to if it is available."

I can't see how this would be useful, but if someone can tell me a  
situation where
this makes sense I'll try my best to add it.

I would like to hear comments on this, what you would prefer being done  
somehow
else, etc. I'm not here next week, but I'd be happy to find some mails  
about this
in my inbox when I come home, so I can instantly start coding then.

Hermann




More information about the bazaar mailing list