PatchLogs are not getting created on QueueStatusServer
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Feb 2013 06:16:10 +0000 (06:16 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Feb 2013 06:16:10 +0000 (06:16 +0000)
https://bugs.webkit.org/show_bug.cgi?id=108593

Patch by Alan Cutter <alancutter@chromium.org> on 2013-02-03
Reviewed by Eric Seidel.

Added missing "added" patch event to submit-to-ews handler.

* QueueStatusServer/app.yaml:
* QueueStatusServer/handlers/submittoews.py:
(SubmitToEWS._add_attachment_to_ews_queues):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@141739 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/QueueStatusServer/app.yaml
Tools/QueueStatusServer/handlers/submittoews.py

index babdd5b..741d83a 100644 (file)
@@ -1,3 +1,16 @@
+2013-02-03  Alan Cutter  <alancutter@chromium.org>
+
+        PatchLogs are not getting created on QueueStatusServer
+        https://bugs.webkit.org/show_bug.cgi?id=108593
+
+        Reviewed by Eric Seidel.
+
+        Added missing "added" patch event to submit-to-ews handler.
+
+        * QueueStatusServer/app.yaml:
+        * QueueStatusServer/handlers/submittoews.py:
+        (SubmitToEWS._add_attachment_to_ews_queues):
+
 2013-02-03  Douglas Stockwell  <dstockwell@chromium.org>
 
         Unreviewed. Add dstockwell as a contributor in comitters.py and to the watchlist for animation
index 050c82c..be760c0 100644 (file)
@@ -1,5 +1,5 @@
 application: webkit-commit-queue
-version: 108621 # Bugzilla bug ID of last major change
+version: 108593 # Bugzilla bug ID of last major change
 runtime: python
 api_version: 1
 
index 248bce4..f7669d2 100644 (file)
@@ -30,6 +30,7 @@ from google.appengine.ext import webapp, db
 from google.appengine.ext.webapp import template
 
 from handlers.updatebase import UpdateBase
+from loggers.recordpatchevent import RecordPatchEvent
 from model.attachment import Attachment
 from model.queues import Queue
 
@@ -57,6 +58,7 @@ class SubmitToEWS(UpdateBase):
         for queue in Queue.all_ews():  # all_ews() currently includes the style-queue
             if self._should_add_to_ews_queue(queue, attachment):
                 queue.work_items().add_work_item(attachment.id)
+                RecordPatchEvent.added(attachment.id, queue.name())
 
     def post(self):
         attachment_id = self._int_from_request("attachment_id")