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: https://svn.webkit.org/repository/webkit/trunk@51448
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2009-11-27 Adam Barth <abarth@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:
+
2009-11-27 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
# 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):
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