[MacPorts] #52446: Buildbot failure emails go to too many recipients

MacPorts noreply at macports.org
Thu Sep 29 10:00:16 CEST 2016


#52446: Buildbot failure emails go to too many recipients
---------------------------+--------------------------------
  Reporter:  ryandesign@…  |      Owner:  macports-tickets@…
      Type:  defect        |     Status:  new
  Priority:  High          |  Milestone:
 Component:  contrib       |    Version:
Resolution:                |   Keywords:
      Port:                |
---------------------------+--------------------------------
Changes (by ryandesign@…):

 * priority:  Normal => High


Old description:

> Each buildbot failure email is sent not only to the maintainers of the
> ports affected by this build failure, but also to the recipients of all
> previous build failure emails.
>
> I've looked at [browser:contrib/buildbot-test/master.cfg the code] for a
> long time and don't understand it. Obviously the list of interested users
> isn't being cleared at the beginning of each build. But I don't see where
> in the code anything gets added to the list of interested users. I see
> that we have a custom `PortsMailNotifier` class that inherits from
> `MailNotifier`, which is "same as original, but calls
> `portMessageFormatter` with access to interested_users". But I don't see
> where `portWatcherMessageFormatter` ever makes use of the
> `interested_users` argument its been passed.

New description:

 Each buildbot failure email is sent not only to the maintainers of the
 ports affected by this build failure, but also to the recipients of all
 previous build failure emails.

 I've looked at [browser:contrib/buildbot-test/master.cfg the code] for a
 long time and don't understand it. Obviously the list of interested users
 isn't being cleared at the beginning of each build. But I don't see where
 in the code anything gets added to the list of interested users. I see
 that we have a custom `PortsMailNotifier` class that inherits from
 `MailNotifier`, which is "same as original, but calls
 `portMessageFormatter` with access to `interested_users`". But I don't see
 where `portWatcherMessageFormatter` ever makes use of the
 `interested_users` argument its been passed.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/52446#comment:1>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system


More information about the macports-tickets mailing list