Home | History | Annotate | Download | only in commands

Lines Matching refs:patch

70     def _update_status(self, message, patch=None, results_file=None):
71 self.tool.status_server.update_status(self.name, message, patch, results_file)
73 def _did_pass(self, patch):
74 self._update_status(self._pass_status, patch)
76 def _did_fail(self, patch):
77 self._update_status(self._fail_status, patch)
79 def _did_error(self, patch, reason):
81 self._update_status(message, patch)
86 def work_item_log_path(self, patch):
87 return os.path.join("%s-logs" % self.name, "%s.log" % patch.bug_id())
120 log("%s in %s [%s]" % (pluralize("patch", len(patch_ids)), self.name, ", ".join(map(str, patch_ids))))
133 return tool.status_server.update_status(cls.name, message, state["patch"], StringIO(output))
160 self.log_progress([patch.id() for patch in patches])
179 def should_proceed_with_work_item(self, patch):
186 self._update_status("Landing patch", patch)
189 def process_work_item(self, patch):
191 self._cc_watchers(patch.bug_id())
195 self.run_webkit_patch(["land-attachment", "--force-clean", "--non-interactive", "--no-update", "--parent-command=commit-queue", "--build-style=both", "--quiet", patch.id()])
196 self._did_pass(patch)
198 self._did_fail(patch)
201 def handle_unexpected_error(self, patch, message):
202 self.committer_validator.reject_patch_from_commit_queue(patch.id(), message)
217 validator.reject_patch_from_commit_queue(state["patch"].id(), cls._error_message_for_bug(tool, status_id, script_error))
224 def _review_patch(self, patch):
253 def should_proceed_with_work_item(self, patch):
256 def process_work_item(self, patch):
258 self._review_patch(patch)
259 self._did_pass(patch)
262 self._did_fail(patch)
265 def handle_unexpected_error(self, patch, message):
280 def should_proceed_with_work_item(self, patch):
281 self._update_status("Checking style", patch)
284 def _review_patch(self, patch):
285 self.run_webkit_patch(["check-style", "--force-clean", "--non-interactive", "--parent-command=style-queue", patch.id()])
293 message = "Attachment %s did not pass %s:\n\n%s\n\nIf any of these errors are false positives, please file a bug against check-webkit-style." % (state["patch"].id(), cls.name, script_error.message_with_output(output_limit=3*1024))
294 tool.bugs.post_comment_to_bug(state["patch"].bug_id(), message, cc=cls.watchers)