[RFC] Branches that fix bugs
John Arbash Meinel
john at arbash-meinel.com
Thu Jun 25 22:58:18 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jonathan Lange wrote:
> The Launchpad developer discussion list recently started talking about
> how we link our Bazaar version control data to bugs.
>
> Right now, we have two or three ways of linking branches & revisions
> to bugs, none of which are used all the time. In particular, not many
> people are huge fans of the --fixes option, since it seems to require
> you to enter the bug fixing information at the wrong time.
>
> In the discussion, this list of desirable traits came up, and I
> thought it would make a good starting point for a discussion on the
> Bazaar list:
>
> - I want to be able to link a branch to a bug offline
> - I want to be able to say "this branch is intended to fix this bug"
> on branch creation
> - I'd like to change my mind about bug branch links
> - I'd like to distinguish between 'working on this bug' and 'fixes this bug'
> - I'd like to say that a bug was fixed pretty much independently of
> when I commit.
I assume this also includes removing that declaration?
> - On mainline branches, I would like to know which revision introduced the fix.
As in, which merged it, or which committed the fix? (I think you mean
the former.)
> - I want to see as much of this data as possible through the bzr
> command line (again offline), ideally as part of bzr log.
>
> Are these clear? Would you change or remove any of these? Is there
> anything you would add?
>
> jml
Potentially:
- I want to see what revisions were committed that were intended to be
part of this fix. (bzr log --related-to lp:33455)
- It would be good to mark a *group* of commits as fixing a bug, since
I pretty much never implement the whole fix in a single commit.
(Generally my --fixes commit is actually the one where I go update NEWS
about having fixed the bug, which obviously has no actual code fix in
itself.)
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpD8voACgkQJdeBCYSNAAPrGACeMXorliWpv18hlxWJSfXMSdVs
mKUAoKPaRIanb4SmekBXT5nAsW3kQcCk
=t9Ec
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list