Title: [205010] trunk/Tools
Revision
205010
Author
aakash_j...@apple.com
Date
2016-08-26 03:54:51 -0700 (Fri, 26 Aug 2016)

Log Message

EWS should indicate which bot processed the patch
https://bugs.webkit.org/show_bug.cgi?id=161222

Reviewed by Daniel Bates.

* QueueStatusServer/handlers/statusbubble.py:
(StatusBubble._build_bubble): Display the bot id in status bubble. Also removed "Started processing" message since
after bug fix of 161223, bots send the "Started processing patch" message and it would be displayed in Recent messages.
Also added "Started processing patch" message to progress_statuses.
I might consider displaying bot id in other statuses as well later on.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (205009 => 205010)


--- trunk/Tools/ChangeLog	2016-08-26 08:46:02 UTC (rev 205009)
+++ trunk/Tools/ChangeLog	2016-08-26 10:54:51 UTC (rev 205010)
@@ -1,3 +1,16 @@
+2016-08-26  Aakash Jain  <aakash_j...@apple.com>
+
+        EWS should indicate which bot processed the patch
+        https://bugs.webkit.org/show_bug.cgi?id=161222
+
+        Reviewed by Daniel Bates.
+
+        * QueueStatusServer/handlers/statusbubble.py:
+        (StatusBubble._build_bubble): Display the bot id in status bubble. Also removed "Started processing" message since
+        after bug fix of 161223, bots send the "Started processing patch" message and it would be displayed in Recent messages.
+        Also added "Started processing patch" message to progress_statuses.
+        I might consider displaying bot id in other statuses as well later on.
+
 2016-08-26  Gyuyoung Kim  <gyuyoung....@webkit.org>
 
         [EFL] Change homepage url to www.ewebkit.org on MiniBrowser

Modified: trunk/Tools/QueueStatusServer/handlers/statusbubble.py (205009 => 205010)


--- trunk/Tools/QueueStatusServer/handlers/statusbubble.py	2016-08-26 08:46:02 UTC (rev 205009)
+++ trunk/Tools/QueueStatusServer/handlers/statusbubble.py	2016-08-26 10:54:51 UTC (rev 205010)
@@ -40,6 +40,7 @@
 from sets import Set
 
 progress_statuses = Set([
+    "Started processing patch",
     "Cleaned working directory",
     "Updated working directory",
     "Applied patch",
@@ -131,7 +132,7 @@
                 statuses))
             if not latest_resultative_status:
                 bubble["state"] = "started"
-                bubble["details_message"] = ("Started processing.\n\nRecent messages:\n\n"
+                bubble["details_message"] = (statuses[0].bot_id + ", recent messages:\n\n"
                     + "\n".join([status.message for status in statuses]) + "\n\n" + self._iso_time(statuses[0].date))
             elif statuses[0].message == "Pass":
                 bubble["state"] = "pass"
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to