[Buildbot-commits] [buildbot/buildbot] 6d4367: Change MailNotifier mode to allow for more flexibi...

GitHub noreply at github.com
Tue Feb 21 20:37:53 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/buildbot/buildbot
  Commit: 6d4367c807302f359eb9eb580c48233ef7e90fd9
      https://github.com/buildbot/buildbot/commit/6d4367c807302f359eb9eb580c48233ef7e90fd9
  Author: Federico G. Schwindt <fgsch at lodoss.net>
  Date:   2012-02-21 (Tue, 21 Feb 2012)

  Changed paths:
    M master/buildbot/status/mail.py
  M master/buildbot/test/unit/test_status_mail.py
  M master/docs/manual/cfg-statustargets.rst

  Log Message:
  -----------
  Change MailNotifier mode to allow for more flexibility

The attached patch changes mode to be a list allowing for example to
receive emails when there is a change and for any successive failures or
only for warnings.

The change also handles backward compatibility when passing a string and
in particular for "all" and "warnings" string modes.

The only change wrt to the current behaviour is that mode="all" will
report whether the build failed, passed or warnings were found instead
of "The Buildbot has finished a build" in the default message. I believe
this is an improvement, ymmv.


  Commit: 6db569cea2bff8a6a891bd6c69730de5797cc18a
      https://github.com/buildbot/buildbot/commit/6db569cea2bff8a6a891bd6c69730de5797cc18a
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2012-02-21 (Tue, 21 Feb 2012)

  Changed paths:
    M master/docs/release-notes.rst

  Log Message:
  -----------
  release notes for previous commit


Compare: https://github.com/buildbot/buildbot/compare/097fedf...6db569c


More information about the Commits mailing list