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

eric at webkit.org eric at webkit.org
Thu Apr 8 00:22:52 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 78e1a374059496bb251a38cabab60ef980450233
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Dec 7 07:45:07 2009 +0000

    2009-12-06  Eric Seidel  <eric at webkit.org>
    
            Reviewed by Adam Barth.
    
            Add an API for uploading results files to StatusBot
            https://bugs.webkit.org/show_bug.cgi?id=32210
    
            * Scripts/modules/statusbot.py:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51753 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index e6cae97..ed46f5f 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -2,6 +2,15 @@
 
         Reviewed by Adam Barth.
 
+        Add an API for uploading results files to StatusBot
+        https://bugs.webkit.org/show_bug.cgi?id=32210
+
+        * Scripts/modules/statusbot.py:
+
+2009-12-06  Eric Seidel  <eric at webkit.org>
+
+        Reviewed by Adam Barth.
+
         Status Server needs a way to handle uploaded results
         https://bugs.webkit.org/show_bug.cgi?id=32209
 
diff --git a/WebKitTools/Scripts/modules/statusbot.py b/WebKitTools/Scripts/modules/statusbot.py
index ba9ca83..350aebf 100644
--- a/WebKitTools/Scripts/modules/statusbot.py
+++ b/WebKitTools/Scripts/modules/statusbot.py
@@ -60,7 +60,7 @@ class StatusBot:
         self.statusbot_host = host
         self.statusbot_server_url = "http://%s" % self.statusbot_host
 
-    def update_status(self, queue_name, status, patch=None):
+    def update_status(self, queue_name, status, patch=None, results_file=None):
         # During unit testing, statusbot_host is None
         if not self.statusbot_host:
             return
@@ -75,6 +75,8 @@ class StatusBot:
             if patch.get('id'):
                 self.browser['patch_id'] = str(patch['id'])
         self.browser['status'] = status
+        if results_file:
+            self.browser.add_file(results_file, "text/plain", "results.txt", 'results_file')
         self.browser.submit()
 
     def patch_status(self, queue_name, patch_id):

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list