Changeset 51160 in webkit


Ignore:
Timestamp:
Nov 18, 2009 6:01:59 PM (14 years ago)
Author:
eric@webkit.org
Message:

2009-11-18 Eric Seidel <eric@webkit.org>

Reviewed by Darin Adler.

workqueue.py results in totally broken commit-queue UI
https://bugs.webkit.org/show_bug.cgi?id=31645

  • Scripts/bugzilla-tool:
    • Remove unneeded use of PatchCollection.
    • Grab a new copy of the cq'd patches every run of the queue.
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r51147 r51160  
     12009-11-18  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        workqueue.py results in totally broken commit-queue UI
     6        https://bugs.webkit.org/show_bug.cgi?id=31645
     7
     8        * Scripts/bugzilla-tool:
     9         - Remove unneeded use of PatchCollection.
     10         - Grab a new copy of the cq'd patches every run of the queue.
     11
    1122009-11-18  Sam Weinig  <sam@webkit.org>
    213
  • trunk/WebKitTools/Scripts/bugzilla-tool

    r51085 r51160  
    786786    def begin_work_queue(self):
    787787        AbstractQueue.begin_work_queue(self)
    788         self._patches = PatchCollection(self.tool.bugs)
    789788
    790789    def next_work_item(self):
    791         if not len(self._patches):
    792             # Fetch patches instead of just bug ids to that we validate reviewer/committer flags on every patch.
    793             self._patches.add_patches(self.tool.bugs.fetch_patches_from_commit_queue(reject_invalid_patches=True))
    794         self.log_progress(self._patches.patch_ids())
    795         return self._patches.next()
     790        patches = self.tool.bugs.fetch_patches_from_commit_queue(reject_invalid_patches=True)
     791        self.log_progress([patch['id'] for patch in patches])
     792        return patches[0] if patches else None
    796793
    797794    def should_proceed_with_work_item(self, patch):
Note: See TracChangeset for help on using the changeset viewer.