Last modified: 2014-02-12 23:40:06 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 T48148, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46148 - Allow hiding of non-discussion comments in Gerrit
Allow hiding of non-discussion comments in Gerrit
Status: NEW
Product: Wikimedia
Classification: Unclassified
Git/Gerrit (Other open bugs)
wmf-deployment
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
https://gerrit.wikimedia.org/r/#/c/27022
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-15 05:19 UTC by Tyler Romeo
Modified: 2014-02-12 23:40 UTC (History)
5 users (show)

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


Attachments
Example lengthy patch (73.66 KB, image/png)
2013-03-15 05:19 UTC, Tyler Romeo
Details

Description Tyler Romeo 2013-03-15 05:19:42 UTC
Created attachment 11936 [details]
Example lengthy patch

In Gerrit patchsets, comments tend to fall into three categories: 1) the user uploading new patchsets, 2) jenkins verifying the patchset, 3) actual code review comments.

This leads to quite a mind-boggling interface. For an example, see the attachment (as a code reviewer, only the highlighted comments would be of any interest).

One solution maybe could be to, rather than have a new comment for each patchset, have the comments be separated into sections based on patchset.
Comment 1 christian 2013-03-15 10:08:36 UTC
Just for reference, the screenshot seems to stem from
https://gerrit.wikimedia.org/r/#/c/27022

> as a code reviewer, only the highlighted comments would be of any
> interest

Why would code reviewing want ignore jenkins output?
Why would code reviewing want ignore newer patch sets?

> One solution maybe could be to [...] have the comments be separated
> into sections based on patchset.

Comments specific to a patch set are typically made right in the code
(See for example patch set 7 of the referenced change).

To me, comments visible on the change screen are typically high level
comments that rather focus on the change itself than on a specific
detail that's only relevant to a single patch set. Even if such
comments were made when patch set 7 was current, the warnings to
check against ConfirmEdit are still relevant when reviewing patch set
14. So when tying such comments to a patch set, they'd probably get
lost.

To me, it's a huge benefit to see all the high level comments in a
complete timeline.

While I do not have any concrete metrics for our gerrit instance,
it seems to me that changes with more than a dozen patch sets and
being actively worked on more than five months after opening the
change are rather the exception.
Comment 2 Tyler Romeo 2013-03-15 10:50:54 UTC
(In reply to comment #1)
> Just for reference, the screenshot seems to stem from
> https://gerrit.wikimedia.org/r/#/c/27022
> 
> > as a code reviewer, only the highlighted comments would be of any
> > interest
> 
> Why would code reviewing want ignore jenkins output?
> Why would code reviewing want ignore newer patch sets?

It's not that you want to ignore them, it's that they're not comments and yet still mix in as comments. When I want to jump into a patchset and see what discussion is going on, I don't care if Jenkins couldn't merge patchset 6.

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


Navigation
Links