reduce gerrit mails?

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Max msuraev at sysmocom.de
Tue Dec 13 13:42:51 UTC 2016


Maybe we can suppress it inside our smtp server?


On 13.12.2016 13:41, Neels Hofmeyr wrote:
> I've found the mailing templates to *modify* what is sent, but no documented
> way to completely suppress a specific mail.
>
> If a template is removed, the default internal template is used. Possibly an
> empty template results in an empty message to trigger this code:
>
>      if (body.length() == 0) {
>        // If we have no message body, don't send.
>        return false;
>      }
> gerrit-server/src/main/java/com/google/gerrit/server/mail/OutgoingEmail.java
>
> But the jenkins notifications are apparently only comments like any other
> users', i.e. we'd need crafty filtering and such :/
>
> Maybe I'll come back to this some other time... <disappointed>
>
> ~N
>

-- 
Max Suraev <msuraev at sysmocom.de> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Director: Harald Welte




More information about the OpenBSC mailing list