Title: [104413] trunk/Tools
Revision
104413
Author
[email protected]
Date
2012-01-08 15:28:25 -0800 (Sun, 08 Jan 2012)

Log Message

Categorize bots by ports instead of core/non-core separation
https://bugs.webkit.org/show_bug.cgi?id=75766

Reviewed by Adam Barth.

Get rid of the concept of core/non-core builders, and categorize build bots by ports instead.

* BuildSlaveSupport/build.webkit.org-config/master.cfg:
(loadBuilderConfig):
* BuildSlaveSupport/build.webkit.org-config/templates/root.html:

Modified Paths

Diff

Modified: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg (104412 => 104413)


--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg	2012-01-08 23:15:42 UTC (rev 104412)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg	2012-01-08 23:28:25 UTC (rev 104413)
@@ -20,7 +20,6 @@
 
 from committer_auth import CommitterAuth
 from webkitpy.common.config import build as wkbuild
-from webkitpy.common.net.buildbot import BuildBot as wkbuildbot
 
 
 c = BuildmasterConfig = {}
@@ -766,9 +765,6 @@
     passwords = simplejson.load(open('passwords.json'))
     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'] = []
@@ -798,6 +794,8 @@
 
                 break
 
+        platform = builder['platform']
+
         factory = globals()["%sFactory" % builder.pop('type')]
         factoryArgs = []
         for key in "platform", "configuration", "architectures", "triggers":
@@ -812,9 +810,18 @@
 
         builder["factory"] = factory(*factoryArgs, **factoryKwArgs)
 
-        builder["category"] = "noncore"
-        if wkbb._is_core_builder(builder['name']):
-            builder["category"] = "core"
+        if platform.startswith('chromium'):
+            builder["category"] = 'Chromium'
+        elif platform == 'win':
+            builder["category"] = 'Windows'
+        elif platform.startswith('gtk'):
+            builder["category"] = 'GTK'
+        elif platform.startswith('qt'):
+            builder["category"] = 'Qt'
+        elif platform.startswith('mac'):
+            builder["category"] = 'Mac'
+        else:
+            builder["category"] = 'Others'
 
         c['builders'].append(builder)
 

Modified: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/templates/root.html (104412 => 104413)


--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/templates/root.html	2012-01-08 23:15:42 UTC (rev 104412)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/templates/root.html	2012-01-08 23:28:25 UTC (rev 104413)
@@ -9,10 +9,13 @@
 <h1>Welcome to the Buildbot!</h1>
 
 <ul>
-  <li><a href="" Console</a></li>
-  <li><a href="" Waterfall</a></li>
-  <li><a href=""
-  <li><a href="" Display</a> will give you a time-oriented summary of recent buildbot activity.</li>
+  <li><a href="" - <a href="" <a href=""
+  <a href="" <a href="" <a href=""
+  and <a href=""
+  <li><a href="" Display</a>, a time-oriented summary of recent buildbot activity
+  - <a href="" <a href=""
+  <a href="" <a href="" <a href=""
+  and <a href=""
   <li><a href="" Build</a> for each builder is here.</li>
   <li><a href="" Builds</a> are summarized here, one per line.</li>
   <li><a href="" information</li>

Modified: trunk/Tools/ChangeLog (104412 => 104413)


--- trunk/Tools/ChangeLog	2012-01-08 23:15:42 UTC (rev 104412)
+++ trunk/Tools/ChangeLog	2012-01-08 23:28:25 UTC (rev 104413)
@@ -1,3 +1,16 @@
+2012-01-08  Ryosuke Niwa  <[email protected]>
+
+        Categorize bots by ports instead of core/non-core separation
+        https://bugs.webkit.org/show_bug.cgi?id=75766
+
+        Reviewed by Adam Barth.
+
+        Get rid of the concept of core/non-core builders, and categorize build bots by ports instead.
+
+        * BuildSlaveSupport/build.webkit.org-config/master.cfg:
+        (loadBuilderConfig):
+        * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
+
 2012-01-08  Sheriff Bot  <[email protected]>
 
         Unreviewed, rolling out r104403.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to