[142904] contrib/buildbot/master.cfg

jmr at macports.org jmr at macports.org
Sat Dec 12 07:43:44 PST 2015


Revision: 142904
          https://trac.macports.org/changeset/142904
Author:   jmr at macports.org
Date:     2015-11-26 20:16:45 -0800 (Thu, 26 Nov 2015)
Log Message:
-----------
buildbot config: support trunk-style display of openmaintainer and nomaintainer addresses

Modified Paths:
--------------
    contrib/buildbot/master.cfg

Modified: contrib/buildbot/master.cfg
===================================================================
--- contrib/buildbot/master.cfg	2015-11-27 03:34:27 UTC (rev 142903)
+++ contrib/buildbot/master.cfg	2015-11-27 04:16:45 UTC (rev 142904)
@@ -343,11 +343,12 @@
                 halves = line.split()
                 if halves[0] == "[FAIL]":
                     failedPorts.add(halves[1])
-
+            
+            fakeAddresses = {'nomaintainer', 'nomaintainer at macports.org', 'openmaintainer', 'openmaintainer at macports.org'}
             for p in failedPorts:
                 output = subprocess.Popen(['/opt/local/bin/port', 'info', '--index', '--maintainers', '--line', p], stdout=subprocess.PIPE).communicate()[0].strip()
                 for m in output.split(','):
-                    if m != "nomaintainer at macports.org" and m != "openmaintainer at macports.org":
+                    if m not in fakeAddresses:
                         interestedUsers.add(m)
 
             ss = build.getSourceStamp()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/da684022/attachment-0001.html>


More information about the macports-changes mailing list