Changeset 51448 in webkit


Ignore:
Timestamp:
Nov 27, 2009 3:35:18 PM (14 years ago)
Author:
abarth@webkit.org
Message:

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:
Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r51447 r51448  
     12009-11-27  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [bzt] Support --status-host in style-queue
     6        https://bugs.webkit.org/show_bug.cgi?id=31941
     7
     8        * Scripts/modules/commands/queues.py:
     9        * Scripts/modules/statusbot.py:
     10
    1112009-11-27  Adam Barth  <abarth@webkit.org>
    212
  • trunk/WebKitTools/Scripts/modules/commands/queues.py

    r51447 r51448  
    157157    # AbstractQueue methods
    158158
    159     def status_host(self):
    160         return None # FIXME: A hack until we come up with a more generic status page.
    161 
    162159    def begin_work_queue(self):
    163160        AbstractQueue.begin_work_queue(self)
     161        self.tool.status().set_host(self.options.status_host)
    164162        self._patches = PersistentPatchCollection(self)
    165163
  • trunk/WebKitTools/Scripts/modules/statusbot.py

    r51275 r51448  
    5454
    5555    def __init__(self, host=default_host):
     56        self.set_host(host)
     57        self.browser = Browser()
     58
     59    def set_host(self, host):
    5660        self.statusbot_host = host
    5761        self.statusbot_server_url = "http://%s" % self.statusbot_host
    58         self.browser = Browser()
    5962
    6063    def update_status(self, queue_name, status, patch=None):
Note: See TracChangeset for help on using the changeset viewer.