"submit" command naming - just "bundle" preferred?
Ian Clatworthy
ian.clatworthy at internode.on.net
Fri Jul 20 04:38:54 BST 2007
Aaron Bentley wrote:
>> How about
>
>> send -o OUTPUTFILE
>
> Given a send command that actually sends mail, this is pretty good. -o
> will be rarely used, for sure.
FWIW, I use "bzr bundle | less" quite a lot. It gives me the total set
of changes committed in a feature/fix branch. I gather I could get the
same from some combination of switches to diff? "bzr bundle | less" is
faster to type though and fast enough as an operation that I'm happy
right now using it.
>> In the way I work now, with a branch per feature that are pushed to a web
>> server and also sent to the list, I can imagine that when I finish a
>> feature I'd want to do
>
>> bzr push # to sourcefrog.net/bzr
>> bzr send # to the list for review
>
>> I do see them as different operations.
>
>> Maybe we should keep bundle as a lower-level or hidden command, but use
>> send as the main interface.
>
> Yeah, I think once we've got a real send command, that would make sense.
My workflow is similar but not quite the same because I don't have a
public branch for each feature. When I'm pretty sure my feature/fix
branch is ready for review, I run
bzr bundle > ../patches/xxxx.patch (keep a record)
less ../patches/xxxx.patch (double check)
hit Compose in Tbird ...
After it gets through review, I switch to my integration branch, merge
it there, push to the public mirror of my integration branch and
pqm-submit. After pqm succeeds, I delete the original feature/fix
branch. My patches directory therefore ends up being my "personal
archive" of changes submitted.
I like the idea of a send command that can either send locally, send via
email or send to a bot like pqm, depending on the arguments/options
given. IMO, "send" is an absolutely core command so thanks to everyone
for their response in this thread.
To clarify the outcomes so far, "submit" will be renamed "send", bundle
will be an alias and we'll continue discussing how best to configure
send to do the actual email/submission bit? Or is submit staying and
send is only the latter?
Ian C.
More information about the bazaar
mailing list