Changeset 51248 in webkit
- Timestamp:
- Nov 20, 2009 11:22:46 AM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r51244 r51248 1 2009-11-20 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Implement a build-queue 6 https://bugs.webkit.org/show_bug.cgi?id=31725 7 8 Currently this just builds the first 10 patches in the review queue. 9 We'll want to do something smarter soon. 10 11 * Scripts/bugzilla-tool: 12 1 13 2009-11-20 Adam Barth <abarth@webkit.org> 2 14 -
trunk/WebKitTools/Scripts/bugzilla-tool
r51244 r51248 718 718 719 719 720 class StyleQueue(AbstractQueue): 721 name = "style-queue" 720 class AbstractTryQueue(AbstractQueue): 722 721 def __init__(self): 723 722 AbstractQueue.__init__(self) … … 736 735 737 736 def should_proceed_with_work_item(self, patch): 737 raise NotImplementedError, "subclasses must implement" 738 739 def process_work_item(self, patch): 740 raise NotImplementedError, "subclasses must implement" 741 742 def handle_unexpected_error(self, patch, message): 743 log(message) 744 745 746 class StyleQueue(AbstractTryQueue): 747 name = "style-queue" 748 def __init__(self): 749 AbstractTryQueue.__init__(self) 750 751 def should_proceed_with_work_item(self, patch): 738 752 return (True, "Checking style for patch %s on bug %s." % (patch["id"], patch["bug_id"]), patch["bug_id"]) 739 753 … … 741 755 self.run_bugzilla_tool(["check-style", "--force-clean", patch["id"]]) 742 756 743 def handle_unexpected_error(self, patch, message): 744 log(message) 757 758 class BuildQueue(AbstractTryQueue): 759 name = "build-queue" 760 def __init__(self): 761 AbstractTryQueue.__init__(self) 762 763 def should_proceed_with_work_item(self, patch): 764 # FIXME: We should check whether we're currently able to build! 765 return (True, "Building patch %s on bug %s." % (patch["id"], patch["bug_id"]), patch["bug_id"]) 766 767 def process_work_item(self, patch): 768 self.run_bugzilla_tool(["build-attachment", "--force-clean", patch["id"]]) 745 769 746 770
Note: See TracChangeset
for help on using the changeset viewer.