[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

abarth at webkit.org abarth at webkit.org
Wed Apr 7 23:58:57 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 75256263243250c20af0fbb66edb10d00972e0a4
Author: abarth at webkit.org <abarth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Nov 27 23:35:18 2009 +0000

    2009-11-27  Adam Barth  <abarth at webkit.org>
    
            Reviewed by Eric Seidel.
    
            [bzt] Support --status-host in style-queue
            https://bugs.webkit.org/show_bug.cgi?id=31941
    
            * Scripts/modules/commands/queues.py:
            * Scripts/modules/statusbot.py:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51448 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index 76f3560..3b0cdb9 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -2,6 +2,16 @@
 
         Reviewed by Eric Seidel.
 
+        [bzt] Support --status-host in style-queue
+        https://bugs.webkit.org/show_bug.cgi?id=31941
+
+        * Scripts/modules/commands/queues.py:
+        * Scripts/modules/statusbot.py:
+
+2009-11-27  Adam Barth  <abarth at webkit.org>
+
+        Reviewed by Eric Seidel.
+
         style-queue should only process each patch once
         https://bugs.webkit.org/show_bug.cgi?id=31939
 
diff --git a/WebKitTools/Scripts/modules/commands/queues.py b/WebKitTools/Scripts/modules/commands/queues.py
index b7ff871..f5c57e5 100644
--- a/WebKitTools/Scripts/modules/commands/queues.py
+++ b/WebKitTools/Scripts/modules/commands/queues.py
@@ -156,11 +156,9 @@ class AbstractTryQueue(AbstractQueue, PersistentPatchCollectionDelegate):
 
     # AbstractQueue methods
 
-    def status_host(self):
-        return None # FIXME: A hack until we come up with a more generic status page.
-
     def begin_work_queue(self):
         AbstractQueue.begin_work_queue(self)
+        self.tool.status().set_host(self.options.status_host)
         self._patches = PersistentPatchCollection(self)
 
     def next_work_item(self):
diff --git a/WebKitTools/Scripts/modules/statusbot.py b/WebKitTools/Scripts/modules/statusbot.py
index 3a69a7b..ba9ca83 100644
--- a/WebKitTools/Scripts/modules/statusbot.py
+++ b/WebKitTools/Scripts/modules/statusbot.py
@@ -53,9 +53,12 @@ class StatusBot:
     default_host = "webkit-commit-queue.appspot.com"
 
     def __init__(self, host=default_host):
+        self.set_host(host)
+        self.browser = Browser()
+
+    def set_host(self, host):
         self.statusbot_host = host
         self.statusbot_server_url = "http://%s" % self.statusbot_host
-        self.browser = Browser()
 
     def update_status(self, queue_name, status, patch=None):
         # During unit testing, statusbot_host is None

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list