Comment 1 for bug 232429

Revision history for this message
Jonathan Lange (jml) wrote : Re: please close bugs automatcially if commit log contains LP: #123456 magic

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.