[webkit-dev] Qt is now a "core builder"

William Siegrist wsiegrist at apple.com
Wed Apr 14 09:17:25 PDT 2010


I was thinking of something like the following, assuming we want to have core builders still. The URL to see only core builders would be:

http://build.webkit.org/console?category=core
http://build.webkit.org/waterfall?category=core

... and we could use redirects or just add new links to the main page.



Index: master.cfg
===================================================================
--- master.cfg	(revision 57518)
+++ master.cfg	(working copy)
@@ -16,6 +16,8 @@
 import re
 import simplejson
 
+from webkitpy.common.net.buildbot import BuildBot as wkbuildbot
+
 WithProperties = properties.WithProperties
 
 class ConfigureBuild(buildstep.BuildStep):
@@ -369,6 +371,9 @@
 
     config = simplejson.load(open('config.json'))
 
+    # use webkitpy's buildbot module to test for core builders
+    wkbb = wkbuildbot()
+
     c['slaves'] = [BuildSlave(slave['name'], passwords[slave['name']], max_builds=1) for slave in config['slaves']]
 
     c['schedulers'] = []
@@ -397,6 +402,10 @@
 
         builder["factory"] = factory(*factoryArgs)
 
+        builder["category"] = "noncore"
+        if wkbb._is_core_builder(builder['name']):
+            builder["category"] = "core"
+
         c['builders'].append(builder)
 
 loadBuilderConfig(c)






More information about the webkit-dev mailing list