[84320] contrib/buildbot/master.cfg

jmr at macports.org jmr at macports.org
Thu Sep 22 07:22:53 PDT 2011


Revision: 84320
          http://trac.macports.org/changeset/84320
Author:   jmr at macports.org
Date:     2011-09-22 07:22:53 -0700 (Thu, 22 Sep 2011)
Log Message:
-----------
buildmaster: set a custom validation regex for property values so spaces can be used, which allows specifying multiple ports in a forced build

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

Modified: contrib/buildbot/master.cfg
===================================================================
--- contrib/buildbot/master.cfg	2011-09-22 14:20:42 UTC (rev 84319)
+++ contrib/buildbot/master.cfg	2011-09-22 14:22:53 UTC (rev 84320)
@@ -34,6 +34,12 @@
 else:
     build_platforms = ["snowleopard-x86_64"]
 
+# Allow spaces and tabs in property values
+import re
+c['validation'] = {
+    'property_value' : re.compile(r'^[ \t\w\.\-\/\~:]*$')
+}
+
 ####### BUILDSLAVES
 
 # The 'slaves' list defines the set of recognized buildslaves. Each element is
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110922/3838a78d/attachment.html>


More information about the macports-changes mailing list