Last modified: 2012-12-19 14:38:24 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 T39712, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37712 - allow people to CR -2 (do not submit)
allow people to CR -2 (do not submit)
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
Git/Gerrit (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Chad H.
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-19 13:48 UTC by Antoine "hashar" Musso (WMF)
Modified: 2012-12-19 14:38 UTC (History)
7 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2012-06-19 13:48:25 UTC
I would like registered user to be able to CodeReview -2 (do not submit) changes submitted in Gerrit. That is a recurring complaint about people sending a patch only to get review on it.

If people are able to mark they change as do not submit, that will save sometime to the reviewers that can just skip the red crossed changes. :-]
Comment 1 Chad H. 2012-06-19 16:36:24 UTC
I was actually just thinking about this the other day. My use case was this:

1) Joe Developer submits a change
2) Jane User sees a really big problem, so sets it to -1 and says so
3) Jim Approver comes along, doesn't notice the problem, and +2/Submits the change
4) We've now got a broken commit that's been merged.

I think the +1 permissions should remain as-is, but granting -2 to the same group seems reasonable to me...anyone should be able to say "Don't merge, because this is fundamentally broken." For cases where we'd really like to override a -2 (which I would hope would be few and far between), we can cross that bridge when we come to it.

Maybe worth floating the idea on wikitech-l in case anyone has any objections, otherwise this is a < 2 minute change.
Comment 2 Victor Vasiliev 2012-06-19 17:00:13 UTC
(In reply to comment #1)
> I was actually just thinking about this the other day. My use case was this:
> 
> 1) Joe Developer submits a change
> 2) Jane User sees a really big problem, so sets it to -1 and says so
> 3) Jim Approver comes along, doesn't notice the problem, and +2/Submits the
> change
> 4) We've now got a broken commit that's been merged.
> 
> I think the +1 permissions should remain as-is, but granting -2 to the same
> group seems reasonable to me...anyone should be able to say "Don't merge,
> because this is fundamentally broken." For cases where we'd really like to
> override a -2 (which I would hope would be few and far between), we can cross
> that bridge when we come to it.
> 
> Maybe worth floating the idea on wikitech-l in case anyone has any objections,
> otherwise this is a < 2 minute change.

I think the problem here is with Jim Approver, rather than with users being unable to set -2.
Comment 3 Chad H. 2012-06-19 17:02:17 UTC
(In reply to comment #2)
> I think the problem here is with Jim Approver, rather than with users being
> unable to set -2.

Agreed, Jim Approver shouldn't be in such a rush to approve things that he overlooks the comments. But Jane Commenter should be able to said "Hang on a minute..." and keep broken shit from getting merged, IMHO.
Comment 4 Antoine "hashar" Musso (WMF) 2012-06-20 12:53:08 UTC
That happened to me a few time yesterday, I did review a change but did not spot some trivial mistakes. Was not going to kill the site though, but still. That might just happen :-]
Comment 5 Antoine "hashar" Musso (WMF) 2012-06-20 12:58:25 UTC
Mail sent to wikitech-l :
http://lists.wikimedia.org/pipermail/wikitech-l/2012-June/061275.html
Comment 6 Marcin Cieślak 2012-06-20 19:13:06 UTC
I think there are two "-2"'s hidden here:

1. "Please treat this change as work in progress - comments welcome, do not merge"

2. "This is so broken that it must not be merged"

For (1) I think gerrit "drafts" would be a better solution. I argue in bug 37115 that drafts should be visible to everyone.

(2) raises some political problems (who can "veto" a change and for how long).

Can I "veto" a change that breaks unit tests or kills support for my favourite non-MySQL database?
Comment 7 Victor Vasiliev 2012-06-20 19:17:32 UTC
I think it would be only feasible if it was possible to override others' -2s.
Comment 8 Srikanth Logic 2012-06-21 08:19:53 UTC
(In reply to comment #6)
> 1. "Please treat this change as work in progress - comments welcome, do not
> merge"
> 
> For (1) I think gerrit "drafts" would be a better solution. I argue in bug
> 37115 that drafts should be visible to everyone.

People can use (draft) just like (bug xx) in the commit message summary and irrespective of bug 37115 it can be achieved. People can remove (draft) when they want it change to be reviewed/merged.
Comment 9 Roan Kattouw 2012-06-22 21:21:34 UTC
(In reply to comment #7)
> I think it would be only feasible if it was possible to override others' -2s.
I can override a -2 review by removing the reviewer from the reviewer list (by clicking the x button next to their name). However, I'm both a project owner for MediaWiki core and a Gerrit administrator, so I don't know why I have this ability and who else has it.
Comment 10 Chad H. 2012-06-22 21:27:14 UTC
(In reply to comment #9)
> (In reply to comment #7)
> > I think it would be only feasible if it was possible to override others' -2s.
> I can override a -2 review by removing the reviewer from the reviewer list (by
> clicking the x button next to their name). However, I'm both a project owner
> for MediaWiki core and a Gerrit administrator, so I don't know why I have this
> ability and who else has it.

Only people who can do that are Admins, the change owner (I think), and the Project Owner. Ideally, this should be a delegatable right, but it's not right now :\
Comment 11 Chad H. 2012-09-18 16:32:57 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > (In reply to comment #7)
> > > I think it would be only feasible if it was possible to override others' -2s.
> > I can override a -2 review by removing the reviewer from the reviewer list (by
> > clicking the x button next to their name). However, I'm both a project owner
> > for MediaWiki core and a Gerrit administrator, so I don't know why I have this
> > ability and who else has it.
> 
> Only people who can do that are Admins, the change owner (I think), and the
> Project Owner. Ideally, this should be a delegatable right, but it's not right
> now :\

This is now grantable https://gerrit-review.googlesource.com/#/c/37840/ :) 

Dunno if it'll make 2.5.
Comment 12 Antoine "hashar" Musso (WMF) 2012-09-18 18:44:05 UTC
You are my hero !
Comment 13 Chad H. 2012-12-19 14:38:24 UTC
We're not going to be granting -2 to everyone--that was a bad idea. WONTFIX.

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


Navigation
Links