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

MacPorts noreply at macports.org
Thu Sep 29 11:19:38 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:                |
---------------------------+--------------------------------

Comment (by mojca@…):

 I would guess that
 {{{
 class PortsMailNotifier(MailNotifier, object):
     def __init__(self, fromaddr, *args, **kwargs):
         self.interested_users = set()
 }}}
 should reset the list of recipients to an empty set, but I don't fully
 understand why it doesn't.

 You could try one more thing, adding
 {{{
 interested_users = set()
 }}}
 somewhere on top of `portWatcherMessageFormatter`.

 One thing I'm not sure about is when and how the committer gets added and
 I'm not sure how
 {{{
 def useLookup(self, build):
     ...
     return defer.gatherResults(dl)
 }}}
 works, so I cannot pretend I'm an expert.

 Maybe we need to override / initialize some further variable of
 `PortsMailNotifier`.

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


More information about the macports-tickets mailing list