Home | History | Annotate | Download | only in commands

Lines Matching full:bug

85             bug = self._tool.bugs.fetch_bug(bug_id)
86 patches = bug.patches(include_obsolete=True)
91 message = "Cleared %s from obsolete attachment %s so that this bug does not appear in http://webkit.org/pending-commit." % (flags_to_clear, patch.id())
112 elif patch.bug().is_closed():
113 bug_closed_explanation = " If you would like this patch reviewed, please attach it to a new bug (or re-open this bug before marking it for review again)."
115 # Neither the patch was obsolete or the bug was closed, next patch...
117 message = "Cleared review? from %sattachment %s so that this bug does not appear in %s.%s" % (attachment_obsolete_modifier, patch.id(), queue_url, bug_closed_explanation)
123 help_text = "Assign bug to whoever attached the most recent r+'d patch"
133 bug = self._tool.bugs.fetch_bug(bug_id)
134 if not bug.is_unassigned():
135 assigned_to_email = bug.assigned_to_email()
136 log("Bug %s is already assigned to %s (%s)." % (bug_id, assigned_to_email, committers.committer_by_email(assigned_to_email)))
139 reviewed_patches = bug.reviewed_patches()
141 log("Bug %s has no non-obsolete patches, ignoring." % bug_id)
144 # We only need to do anything with this bug if one of the r+'d patches does not have a valid committer (cq+ set).
146 log("All reviewed patches on bug %s already have commit-queue+, ignoring." % bug_id)
153 log("Attacher %s is not a committer. Bug %s likely needs commit-queue+." % (attacher_email, bug_id))
166 help_text = "Mark all attachments on a bug as obsolete"
177 name = "attach-to-bug"
178 help_text = "Attach the the file to the bug"
193 # Perfer a bug id passed as an argument over a bug url in the diff (i.e. ChangeLogs).
205 error("No bug id passed and no bug url found in ChangeLogs.")
211 help_text = "Attach the current working directory diff to a bug as a patch file"
228 in bugs.webkit.org for BUGID (or the bug ID detected from the ChangeLog).
229 The command then uploads the current diff to the bug and marks it for
242 help_text = "Creates a bug (or prompts for an existing bug) and prepares the ChangeLogs"
273 If no bug id is provided, upload will create a bug.
302 make_option("-b", "--bug-id", action="store", type="string", dest="bug_id", help="Specify bug id if no URL is provided in the commit log."),
321 if len(commit_ids) > 10: # We could lower this limit, 10 is too many for one bug as-is.
328 # Prefer --bug-id=, then a bug url in the commit message, then a bug url in the entire commit diff (i.e. ChangeLogs).
331 log("Skipping %s: No bug id found in commit or specified with --bug-id." % commit_id)
347 name = "mark-bug-fixed"
348 help_text = "Mark the specified bug as fixed"
352 make_option("--bug-id", action="store", type="string", dest="bug_id", help="Specify bug id if no URL is provided in the commit log."),
353 make_option("--comment", action="store", type="string", dest="comment", help="Text to include in bug comment."),
354 make_option("--open", action="store_true", default=False, dest="open_bug", help="Open bug in default web browser (Mac only)."),
355 make_option("--update-only", action="store_true", default=False, dest="update_only", help="Add comment to the bug, but do not close it."),
379 not_found.append("bug id")
402 log("Bug: <%s> %s" % (tool.bugs.bug_url_for_bug_id(bug_id), tool.bugs.fetch_bug_dictionary(bug_id)["title"]))
417 log("Adding comment to Bug %s." % bug_id)
420 log("Adding comment to Bug %s and marking as Resolved/Fixed." % bug_id)
426 name = "create-bug"
427 help_text = "Create a bug from local changes or local commits"
434 make_option("--no-prompt", action="store_false", dest="prompt", default=True, help="Do not prompt for bug title and comment; use commit log instead."),
443 error("Are you sure you want to create one bug with %s patches?" % len(commit_ids))
481 bug_title = User.prompt("Bug title: ")
482 print "Bug comment (hit ^D on blank line to end):"