[151153] contrib/buildbot-test/master.cfg

cal at macports.org cal at macports.org
Mon Aug 8 15:09:54 PDT 2016


Revision: 151153
          https://trac.macports.org/changeset/151153
Author:   cal at macports.org
Date:     2016-08-08 15:09:54 -0700 (Mon, 08 Aug 2016)
Log Message:
-----------
buildbot: Always sort subportlist after generation

This could be one of the reasons why the order of triggered portbuilders isn't
always the same, even though I doubt it; it's likely a Python dict being
iterated somewhere in buildbot code.

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

Modified: contrib/buildbot-test/master.cfg
===================================================================
--- contrib/buildbot-test/master.cfg	2016-08-08 21:23:00 UTC (rev 151152)
+++ contrib/buildbot-test/master.cfg	2016-08-08 22:09:54 UTC (rev 151153)
@@ -330,7 +330,7 @@
             # Set an empty subport list on error
             return {"subportlist": ""}
         subports = [x.strip() for x in stdout.splitlines()]
-        return {"subportlist": " ".join(subports)}
+        return {"subportlist": " ".join(sorted(subports))}
 
     portwatcher_factory.addStep(SetPropertyFromCommandWithPortlist(
         command=WithProperties('./mpbb/mpbb list-subports %(fullportlist)s'),
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160808/fd4b5796/attachment-0001.html>


More information about the macports-changes mailing list