I'd be useful if bug status were automatically updated once the patch is in tree. Not just because it's time saved updating bug status but also for the value in the email notification generated for QA fixer. It should be fairly easy to scrape the commit message body for [YOCTO #nnnn] and then the bug number parsed. Various tools exist to update the bug status such as pybugz http://www.liquidx.net/pybugz/
The consensus is that we wouldn't want to mark bugs resolved automatically, however we should be at the very least adding a comment to the bug with a link to the commit. Richard raised another concern that this should not impose additional time on his process of pushing changes, so it would have to be either completely independent of the pushing client, or a process that simply gets triggered at the end of pushing and asynchronously does the bugzilla updates on a server somewhere.
We may do this from patchwork rather than from a separate script, since that's already triggered when commits are pushed to the git repository.
I was reminded about this by looking at a bug in glibc, which does comment in bugs when a commit references the bug. As we agreed it doesn't do anything apart from leave a comment: https://sourceware.org/bugzilla/show_bug.cgi?id=20019#c14 Gitzilla (https://github.com/gera/gitzilla) appears to make this fairly simple, and the reminder that a patch has landed will be very useful to ensure bugs are closed and alert users that their bugs are resolved. Is there any chance we can get this done sooner rather than later?
Would you expect the bugzilla entry to be similar to the sourceware comment you linked to?
Yes, similar, the commit log and patch summary would be good to help identify what landed.
*** Bug 9817 has been marked as a duplicate of this bug. ***
A script rather than a git hook is what people prefer. Ross claims to have a starting point.
So some time ago I wrote a little script that looks through the git history (up to a certain point), looking for mentioned bugs that are still open: https://github.com/rossburton/ross-tools/blob/master/git-find-bugs No idea if it still works...