Last modified: 2012-03-29 20:11:14 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 T37406, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35406 - the Gerrit message "I would prefer that you didn't submit this" is very discouraging
the Gerrit message "I would prefer that you didn't submit this" is very disco...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Git/Gerrit (Other open bugs)
unspecified
All All
: High major (vote)
: ---
Assigned To: Chad H.
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-22 13:51 UTC by Amir E. Aharoni
Modified: 2012-03-29 20:11 UTC (History)
3 users (show)

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


Attachments

Description Amir E. Aharoni 2012-03-22 13:51:38 UTC
"I would prefer that you didn't submit this" is too personal and negative.

One of the goals of the switch to Git and Gerrit is to make MediaWiki development more welcoming to newbies by making sending patches easier. This message does exactly the opposite - it essentially tells the person who wrote the patch: "Your work is bad, you wasted your time and my time and I don't like you".

A better wording would be something like this: "This commit must be fixed before merging". Even SVN's "FIXME" is much better than "I would prefer that you didn't submit this", because it's immediately clear that it's a technical and not a personal thing.

I also commented about this in the Gerrit bug tracker [1], but if it's possible to fix it locally, it should be done ASAP.

[1] http://code.google.com/p/gerrit/issues/detail?id=1241
Comment 1 Chad H. 2012-03-22 16:08:36 UTC
I *believe* we can do this outselves:

mysql> select * from approval_category_values;
+-------------------------------------------------+-------------+-------+
| name                                            | category_id | value |
+-------------------------------------------------+-------------+-------+
| Verified                                        | VRIF        |     1 |
| No score                                        | VRIF        |     0 |
| Fails                                           | VRIF        |    -1 |
| Looks good to me, approved                      | CRVW        |     2 |
| Looks good to me, but someone else must approve | CRVW        |     1 |
| No score                                        | CRVW        |     0 |
| I would prefer that you didn't submit this      | CRVW        |    -1 |
| Do not submit                                   | CRVW        |    -2 |
+-------------------------------------------------+-------------+-------+
8 rows in set (0.00 sec)
Comment 2 Chad H. 2012-03-26 15:48:18 UTC
Hmm, tried setting this on the test gerrit install but it didn't apply. I'm wondering if gerrit needs a restart.

Also, I don't think it'll change for any comments already submitted.
Comment 3 Chad H. 2012-03-29 12:37:13 UTC
Yes, it does need a restart.

No, it doesn't change old comments so we should do this sooner rather than later.
Comment 4 Chad H. 2012-03-29 14:08:26 UTC
Did a bit of bikeshedding on wikitech-l about this. Consensus seems to be for 

"There is a problem with this patchset, please improve."

I'll look at applying this change and getting gerrit restarted.
Comment 5 Chad H. 2012-03-29 20:11:14 UTC
We ended up settling on "There's a problem with this change, please improve" due to varchar(50).

Anyway, this is now live.

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


Navigation
Links