[151032] trunk/dports/devel/buildbot

ryandesign at macports.org ryandesign at macports.org
Fri Aug 5 13:45:35 PDT 2016


Revision: 151032
          https://trac.macports.org/changeset/151032
Author:   ryandesign at macports.org
Date:     2016-08-05 13:45:34 -0700 (Fri, 05 Aug 2016)
Log Message:
-----------
buildbot: sort builder names in natural order on grid and transposed grid pages

Modified Paths:
--------------
    trunk/dports/devel/buildbot/Portfile

Added Paths:
-----------
    trunk/dports/devel/buildbot/files/patch-buildbot-status-web-grid.py.diff

Modified: trunk/dports/devel/buildbot/Portfile
===================================================================
--- trunk/dports/devel/buildbot/Portfile	2016-08-05 20:07:16 UTC (rev 151031)
+++ trunk/dports/devel/buildbot/Portfile	2016-08-05 20:45:34 UTC (rev 151032)
@@ -6,7 +6,7 @@
 
 name                    buildbot
 version                 0.8.12
-revision                4
+revision                5
 categories              devel python
 platforms               darwin
 supported_archs         noarch
@@ -37,6 +37,7 @@
 
 patchfiles-append       patch-allowRecent_SQA_Migrate.diff \
                         patch-buildbot-status-web-console.py.diff \
+                        patch-buildbot-status-web-grid.py.diff \
                         patch-buildbot-steps-trigger.py.diff
 
 build.env               NO_INSTALL_REQS=1

Added: trunk/dports/devel/buildbot/files/patch-buildbot-status-web-grid.py.diff
===================================================================
--- trunk/dports/devel/buildbot/files/patch-buildbot-status-web-grid.py.diff	                        (rev 0)
+++ trunk/dports/devel/buildbot/files/patch-buildbot-status-web-grid.py.diff	2016-08-05 20:45:34 UTC (rev 151032)
@@ -0,0 +1,28 @@
+--- buildbot/status/web/grid.py.orig	2015-04-21 00:53:41.000000000 -0500
++++ buildbot/status/web/grid.py	2016-08-05 15:42:30.000000000 -0500
+@@ -13,6 +13,7 @@
+ #
+ # Copyright Buildbot Team Members
+ 
++from buildbot import util
+ from buildbot.sourcestamp import SourceStamp
+ from buildbot.status.web.base import HtmlResource
+ from buildbot.status.web.base import build_get_class
+@@ -204,7 +205,7 @@
+                     'stamps': [map(SourceStamp.asDict, sstamp) for sstamp in stamps],
+                     })
+ 
+-        sortedBuilderNames = sorted(status.getBuilderNames())
++        sortedBuilderNames = util.naturalSort(status.getBuilderNames())
+ 
+         cxt['builders'] = []
+ 
+@@ -273,7 +274,7 @@
+                     'stamps': [map(SourceStamp.asDict, sstamp) for sstamp in stamps],
+                     })
+ 
+-        sortedBuilderNames = sorted(status.getBuilderNames())
++        sortedBuilderNames = util.naturalSort(status.getBuilderNames())
+ 
+         cxt['sorted_builder_names'] = sortedBuilderNames
+         cxt['builder_builds'] = builder_builds = []
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160805/a2675a0e/attachment-0001.html>


More information about the macports-changes mailing list