Home | History | Annotate | Download | only in commands

Lines Matching refs:tool

32 from webkitpy.tool import steps
37 from webkitpy.tool.commands.abstractsequencedcommand import AbstractSequencedCommand
38 from webkitpy.tool.commands.stepsequence import StepSequence
39 from webkitpy.tool.comments import bug_comment_from_commit_text
40 from webkitpy.tool.grammar import pluralize
41 from webkitpy.tool.multicommandtool import AbstractDeclarativeCommand
52 def _prepare_state(self, options, args, tool):
74 def _prepare_state(self, options, args, tool):
108 def _prepare_state(self, options, args, tool):
112 "bug_id": (args and args[0]) or tool.checkout().bug_id_for_this_commit(options.git_commit, changed_files),
133 # def _fetch_list_of_patches_to_process(self, options, args, tool):
134 # def _prepare_to_process(self, options, args, tool):
143 def execute(self, options, args, tool):
144 self._prepare_to_process(options, args, tool)
145 patches = self._fetch_list_of_patches_to_process(options, args, tool)
152 self._process_patch(patch, options, args, tool)
166 def _prepare_to_process(self, options, args, tool):
167 self._prepare_sequence.run_and_handle_errors(tool, options)
169 def _process_patch(self, patch, options, args, tool):
171 self._main_sequence.run_and_handle_errors(tool, options, state)
175 def _fetch_list_of_patches_to_process(self, options, args, tool):
176 return map(lambda patch_id: tool.bugs.fetch_attachment(patch_id), args)
180 def _fetch_list_of_patches_to_process(self, options, args, tool):
183 patches = tool.bugs.fetch_bug(bug_id).reviewed_patches()
308 def _prepare_state(self, options, args, tool):
360 def _prepare_state(self, options, args, tool):
361 state = AbstractRolloutPrepCommand._prepare_state(self, options, args, tool)