[ovirt-devel] gerrit userscript for muting patches

Greg Sheremeta gshereme at redhat.com
Tue Jul 4 17:48:50 UTC 2017


Hi,

Like filtering email, wading through gerrit patches can be a challenge. I
like to keep my inboxes at zero, and having a gigantic list of incoming
patches in gerrit hurts my brain sometimes.

Thus, I wrote this userscript to enable a Mute button similar to Gmail.
Since this is an in-browser plugin only, it has limitations:
 * gerrit will still email you
 * Mute storage works per-browser. If you use a different browser, you
won't see your muted patches.

If this sounds helpful to you, give it a try:

1. install Tampermonkey (Chrome) or Greasemonkey (FF)
2. browse to https://gerrit.ovirt.org
3. click on the extension, Add Script
4. paste in the contents of gerrit-mute-userscript.js and save
5. refresh gerrit. The icon should indicate the script is running:

[image: Inline image 2]

Now you'll have a Mute button on patches and Muted section at the bottom
(once you mute your first patch.)

[image: Inline image 4]


[image: Inline image 3]

(Let me know if you try it and if it works for you, or if you need help,
let me know that too :))

Best wishes,
Greg

-- 
Greg Sheremeta, MBA
Sr. Software Engineer
Red Hat, Inc.
gshereme at redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170704/29a0a166/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Selection_275.png
Type: image/png
Size: 24307 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170704/29a0a166/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Selection_273.png
Type: image/png
Size: 661 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170704/29a0a166/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Selection_274.png
Type: image/png
Size: 3190 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170704/29a0a166/attachment-0005.png>


More information about the Devel mailing list