From: abarth@webkit.org Date: Thu, 26 Nov 2009 02:25:31 +0000 (+0000) Subject: 2009-11-25 Adam Barth X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=007c7390ca9c6f17a8f8746b2035be140f1273b4;hp=5c7ab417ebe34416d592bdf0b5787e5c247dd0ef 2009-11-25 Adam Barth Reviewed by Eric Seidel. bugzilla-tool should have a mark-fixed command https://bugs.webkit.org/show_bug.cgi?id=31853 Pretty simple stuff. * Scripts/modules/commands/upload.py: git-svn-id: https://svn.webkit.org/repository/webkit/trunk@51404 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog index 5eb44272449c..ec342c04f5e4 100644 --- a/WebKitTools/ChangeLog +++ b/WebKitTools/ChangeLog @@ -1,3 +1,14 @@ +2009-11-25 Adam Barth + + Reviewed by Eric Seidel. + + bugzilla-tool should have a mark-fixed command + https://bugs.webkit.org/show_bug.cgi?id=31853 + + Pretty simple stuff. + + * Scripts/modules/commands/upload.py: + 2009-11-25 Eric Seidel Reviewed by Adam Barth. diff --git a/WebKitTools/Scripts/modules/commands/upload.py b/WebKitTools/Scripts/modules/commands/upload.py index cc52e3326b96..d261ddc4bc09 100644 --- a/WebKitTools/Scripts/modules/commands/upload.py +++ b/WebKitTools/Scripts/modules/commands/upload.py @@ -170,6 +170,16 @@ class PostCommits(Command): tool.bugs.add_patch_to_bug(bug_id, diff_file, description, comment_text, mark_for_review=options.review, mark_for_commit_queue=options.request_commit) +class MarkFixed(Command): + name = "mark-fixed" + show_in_main_help = False + def __init__(self): + Command.__init__(self, "Mark the specified bug as fixed", "BUG_ID REASON") + + def execute(self, options, args, tool): + tool.bugs.close_bug_as_fixed(args[0], args[1]) + + class CreateBug(Command): name = "create-bug" show_in_main_help = True