Last modified: 2013-03-22 12:21:34 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 T42020, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40020 - gerrit-wm bot doesn't post notification on IRC if the primary "Cover Message" edit field was left blank during review
gerrit-wm bot doesn't post notification on IRC if the primary "Cover Message"...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Git/Gerrit (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 35427
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-05 18:55 UTC by Bartosz Dziewoński
Modified: 2013-03-22 12:21 UTC (History)
4 users (show)

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


Attachments

Description Bartosz Dziewoński 2012-09-05 18:55:23 UTC
For example, if only inline comments were posted, or if someone +1's without any comments.
Comment 1 Chad H. 2012-09-05 18:59:12 UTC
(In reply to comment #0)
> For example, if only inline comments were posted, or if someone +1's without
> any comments.

The latter was done on purpose, to reduce the amount of spam (nobody on IRC really cares if a commit was +1'd but didn't bother to comment).

The former happened as a consequence of doing the latter.
Comment 2 Bartosz Dziewoński 2012-09-05 19:01:49 UTC
So am I supposed to write "See inline." every time I write inline comments if I want IRC notification to work properly? 

Because this sort of doubles the functionality already offered by gerrit (the (N inline comments) notices) and, frankly, is stupid.
Comment 3 Chad H. 2012-09-05 19:11:39 UTC
(In reply to comment #2)
> So am I supposed to write "See inline." every time I write inline comments if I
> want IRC notification to work properly? 
> 

Unless someone improves the hooks further to distinguish between the two cases, yes. This has been the case for quite some time now. Having to include a cover message is mildly annoying, but I considered it an acceptable tradeoff at the time to silence the gerrit spam from +1s with no comment, and the even more annoying +2/Submit spam when someone approves & submits in one step with no comment (we only need one notification of the submit, not an empty +2 as well).

The hook stuff is not gerrit code, it's something we wrote and maintain in the puppet repo. The files are all in files/gerrit/hooks/*. I welcome improvements to it and would be more than happy to review them, but I probably won't personally revisit the issue for awhile.
Comment 4 Chad H. 2013-02-22 16:16:28 UTC
This was fixed indirectly as a result of the comment format changing.

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


Navigation
Links