Le 04/08/2014 05:43, [email protected] a écrit :
> Hi folks,
> 
> couldn't we reduce the gerrit notification mails please. Getting
> hundreds a day of them is time consuming and not helpful.
> 
> Greetings
> xqt

Hello,

You can tweak Gerrit mail notifications in your settings. Head to
https://gerrit.wikimedia.org/r/#/settings/projects

Then Watched Projects, check/uncheck as needed.


I have mail filter that use the header List-Id to move the mail
notifications on a per project basis.  Each mail has:

List-Id: <gerrit-pywikibot-core.gerrit.wikimedia.org>

Then there is an xtra header that indicates the state of the change, for
example new-patchset, comment, merged, abandoned:

  X-Gerrit-MessageType: merged

I use that to apply labels on messages which let me change the color of
messages.  An abandoned patch ends up blue, a merge green.


Finally, I have a filter that change the color (red/purple) based on
test result:

 X-Gerrit-MessageType: comment
 From: jenkins-bot
 Body match: build succeeded  or  build failed


End result: http://i.imgur.com/ceq4Klr.png


cheers,


-- 
Antoine "hashar" Musso


_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to