Extract bug fixing information from commit messages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
Bug 318439 describes automatically changing bug status based on --fixes information in the revision.
It would be nice if we also extracted this information from the commit message.
Original description:
I had recently external SVN repository imported and it is synchronized with bzr at LP regularly (https:/
This is the way it works for package changelogs. It is a very convenient feature; perhaps the bug should be marked as "fix commited" if LP: #.... is in commit log and "fix released" if it appears in package changelog.
Changed in launchpad-bazaar: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
description: | updated |
There are two distinct problems to solve here.
1. Automatically closing bugs based on information in branches.
2. Extracting that information from branches.
We already do 2. to some extent: we'll create a bug-branch link if you close a bug using 'bzr commit --fixes lp:1235'. This stores some data in the revision which Launchpad then extracts. It would be relatively easy to add a Bazaar plugin that parses the commit message and stores similar revision data. Analyzing a changelog on commit might be a little trickier.
Automatically closing bugs has been discussed before (although I don't have a link handy). It's something we've been keen to do for a while, but something that we also want to get right.