On 11/08/2012 07:43 PM, Daniel Friesen wrote:
Would it be
possible/sensible to automatically close a bug when the
patch is merged? Or did I miss something?
That would require two things:
A) Far more integration between Gerrit and Bugzilla than we currently have.
B) An assumption that every commit that mentions a bug actually fixes it.
And I really don't like the idea of B. I can easily see people
mentioning bugs that are related to a commit in the commit message but
not directly fixed by it.
I do not know enough about Gerrit and how hard it would be to implement
this, but B could be solved by having some popup that asks the person
merging a patch if the patch fixes the bug mentioned in the commit message.
Cheers,
Stephan