Last modified: 2014-05-21 11:08:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T55084, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53084 - Gerrit-Bugzilla bot re-opens bugs when patch is made for branch
Gerrit-Bugzilla bot re-opens bugs when patch is made for branch
Status: NEW
Product: Wikimedia
Classification: Unclassified
Git/Gerrit (Other open bugs)
wmf-deployment
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-20 02:02 UTC by Tyler Romeo
Modified: 2014-05-21 11:08 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tyler Romeo 2013-08-20 02:02:31 UTC
With the introduction of the recent PATCH_TO_REVIEW automatic logic, now the Gerrit to Bugzilla bot will re-open bugs and post notifications if patch sets are uploaded for WMF branches. In other words, if a patch fixing a bug is merged on master, and the bug is thus marked as FIXED, and then it is backported to another branch, the bot will re-open the bug and post notifications about it.
Comment 1 christian 2013-08-20 09:33:01 UTC
In general, uploading a new change for a bug in RESOLVED state should
bring it back to PATCH_TO_REVIEW state. That looks sane.

For backporting, this behaviour looks like it's not optimal.

How can we detect that a commit is a backport?

Filtering branches for “^wmf/.*” looks error-prone as then we would
not have PATCH_TO_REVIEW set automatically, when implementing geniune
bug-fixes for a wmf branch.

Does this only affect core, or also extensions?
Comment 2 Bawolff (Brian Wolff) 2013-08-22 23:23:58 UTC
(In reply to comment #1)
> In general, uploading a new change for a bug in RESOLVED state should
> bring it back to PATCH_TO_REVIEW state. That looks sane.
> 
> For backporting, this behaviour looks like it's not optimal.
> 
> How can we detect that a commit is a backport?
> 
> Filtering branches for “^wmf/.*” looks error-prone as then we would
> not have PATCH_TO_REVIEW set automatically, when implementing geniune
> bug-fixes for a wmf branch.

Also the REL1_XX branches.

I think its sane to not reopen bug if bug is both in a closed state and the branch is not master.
Comment 3 christian 2013-08-26 09:48:18 UTC
Checking for closed state requires to query bz beforehand, which is
currently not possible.

But that sounds like a worthwhile solution.
Comment 4 db [inactive,noenotif] 2014-02-02 11:30:57 UTC
I would like to see this fixed, because it is annoying, when a resolved bug gets PATCH_TO_REVIEW due to backporting.
Comment 5 db [inactive,noenotif] 2014-02-02 12:01:50 UTC
Most of the backports will have a "cherry picked from commit", maybe in that case a status change on bugzilla is not needed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links