You should be able to do the same in PolyGerrit only that your looking for something more specific as polygerrit uses dom-modules. On Tuesday, 5 February 2019, 14:30:27 GMT, Stephen Niedzielski sniedzielski@wikimedia.org wrote:
filtering out CI messages from Gerrit comments.
I use a hacky bookmarklet to hide jenkins-bot comments:
javascript:Array.from(document.querySelectorAll('[class*=messageBox]')).filter(box => box.querySelector('[class*=name]').textContent === 'jenkins-bot').forEach(box => box.style.display = 'none')
I don't know if it works with PolyGerrit.
On Mon, Feb 4, 2019 at 6:44 PM Gergo Tisza gtisza@wikimedia.org wrote:
On Mon, Jan 28, 2019 at 4:26 PM Paladox via Wikitech-l < wikitech-l@lists.wikimedia.org> wrote:
Hi, what would you like to see in gerrit or improved?
Thanks for all your work on Gerrit! Some things that IMO would be useful:
- filtering out CI messages from Gerrit comments. This is something the
next version of Gerrit supports (the "Only comments" checkbox), but I imagine something somewhere must be changed so that it can identify bots.
- making it clearer when CI fails. Currently it's hard to visually
differentiate failed tests from successful tests, and within failed test logs the exact reason for failure from all the other logs. I guess this is more of a Jenkins improvement...
- I really miss the Github feature of selecting a line range (as opposed to
a single line) from the gitiles plugin.
- again not really a Gerrit change but our mechanism for linking Gerrit
patches to related Phabricator tasks is rather crude. T95309 has some related discussion but a nice solution would probably not include comments/tags and use something more specialized like a custom Maniphest field type instead. Or maybe a frontend hack like Pherrit [1].
[1]
https://chrome.google.com/webstore/detail/pherrit/polcefipbgcdfkpbmmbdjgkgfg... _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l