• Home
  • Raw
  • Download

Lines Matching refs:options

55         options = [
58 AbstractDeclarativeCommand.__init__(self, options=options)
60 def execute(self, options, args, tool): argument
63 print "%s" % tool.checkout().commit_message_for_this_commit(options.git_commit).message()
82 def execute(self, options, args, tool): argument
100 def execute(self, options, args, tool): argument
159 def execute(self, options, args, tool): argument
172 def _prepare_state(self, options, args, tool): argument
184 def _prepare_state(self, options, args, tool): argument
192 def _bug_id(self, options, args, tool, state): argument
196 changed_files = self._tool.scm().changed_files(options.git_commit)
198 bug_id = tool.checkout().bug_id_for_this_commit(options.git_commit, changed_files)
201 def _prepare_state(self, options, args, tool): argument
203 state["bug_id"] = self._bug_id(options, args, tool, state)
250 def _prepare_state(self, options, args, tool): argument
280 def _prepare_state(self, options, args, tool): argument
282 state["bug_id"] = self._bug_id(options, args, tool, state)
301 options = [
309 AbstractDeclarativeCommand.__init__(self, options=options, requires_local_commits=True)
311 def _comment_text_for_commit(self, options, commit_message, tool, commit_id): argument
313 if (options.add_log_as_comment):
319 def execute(self, options, args, tool): argument
329 …bug_id = options.bug_id or parse_bug_id_from_changelog(commit_message.message()) or parse_bug_id_f…
334 if options.obsolete_patches and bug_id not in have_obsoleted_patches:
336 steps.ObsoletePatches(tool, options).run(state)
340 … description = options.description or commit_message.description(lstrip=True, strip_url=True)
341 comment_text = self._comment_text_for_commit(options, commit_message, tool, commit_id)
342 …_id, diff, description, comment_text, mark_for_review=options.review, mark_for_commit_queue=option…
351 options = [
357 AbstractDeclarativeCommand.__init__(self, options=options)
387 def execute(self, options, args, tool): argument
388 bug_id = options.bug_id
405 if options.open_bug:
413 if options.comment:
414 bug_comment = "%s\n\n%s" % (options.comment, bug_comment)
416 if options.update_only:
431 options = [
438 AbstractDeclarativeCommand.__init__(self, options=options)
440 def create_bug_from_commit(self, options, args, tool): argument
449 if options.prompt:
459 …title, comment_text, options.component, diff, "Patch", cc=options.cc, mark_for_review=options.revi…
462 options.bug_id = bug_id
463 options.obsolete_patches = False
465 PostCommits.execute(self, options, commit_ids[1:], tool)
467 def create_bug_from_patch(self, options, args, tool): argument
470 if options.prompt:
473 commit_message = tool.checkout().commit_message_for_this_commit(options.git_commit)
477 diff = tool.scm().create_patch(options.git_commit)
478 …title, comment_text, options.component, diff, "Patch", cc=options.cc, mark_for_review=options.revi…
495 def execute(self, options, args, tool): argument
499 self.create_bug_from_commit(options, args, tool)
501 self.create_bug_from_patch(options, args, tool)