Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/tool/webkit_patch.py

Issue 2797913002: Remove the commit-announcer command from webkit-patch (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/commit_announcer.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 Google Inc. All rights reserved. 1 # Copyright (c) 2010 Google Inc. All rights reserved.
2 # Copyright (c) 2009 Apple Inc. All rights reserved. 2 # Copyright (c) 2009 Apple Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 25 matching lines...) Expand all
36 """ 36 """
37 37
38 import logging 38 import logging
39 import optparse 39 import optparse
40 import sys 40 import sys
41 41
42 from webkitpy.common.host import Host 42 from webkitpy.common.host import Host
43 from webkitpy.tool.commands.analyze_baselines import AnalyzeBaselines 43 from webkitpy.tool.commands.analyze_baselines import AnalyzeBaselines
44 from webkitpy.tool.commands.auto_rebaseline import AutoRebaseline 44 from webkitpy.tool.commands.auto_rebaseline import AutoRebaseline
45 from webkitpy.tool.commands.command import HelpPrintingOptionParser 45 from webkitpy.tool.commands.command import HelpPrintingOptionParser
46 from webkitpy.tool.commands.commit_announcer import CommitAnnouncerCommand
47 from webkitpy.tool.commands.flaky_tests import FlakyTests 46 from webkitpy.tool.commands.flaky_tests import FlakyTests
48 from webkitpy.tool.commands.help_command import HelpCommand 47 from webkitpy.tool.commands.help_command import HelpCommand
49 from webkitpy.tool.commands.layout_tests_server import LayoutTestsServer 48 from webkitpy.tool.commands.layout_tests_server import LayoutTestsServer
50 from webkitpy.tool.commands.optimize_baselines import OptimizeBaselines 49 from webkitpy.tool.commands.optimize_baselines import OptimizeBaselines
51 from webkitpy.tool.commands.pretty_diff import PrettyDiff 50 from webkitpy.tool.commands.pretty_diff import PrettyDiff
52 from webkitpy.tool.commands.queries import CrashLog 51 from webkitpy.tool.commands.queries import CrashLog
53 from webkitpy.tool.commands.queries import PrintBaselines 52 from webkitpy.tool.commands.queries import PrintBaselines
54 from webkitpy.tool.commands.queries import PrintExpectations 53 from webkitpy.tool.commands.queries import PrintExpectations
55 from webkitpy.tool.commands.rebaseline import CopyExistingBaselinesInternal 54 from webkitpy.tool.commands.rebaseline import CopyExistingBaselinesInternal
56 from webkitpy.tool.commands.rebaseline import Rebaseline 55 from webkitpy.tool.commands.rebaseline import Rebaseline
(...skipping 18 matching lines...) Expand all
75 '-d', '--directory', action='append', default=[], 74 '-d', '--directory', action='append', default=[],
76 help='Directory to look at for changed files'), 75 help='Directory to look at for changed files'),
77 ] 76 ]
78 77
79 def __init__(self, path): 78 def __init__(self, path):
80 super(WebKitPatch, self).__init__() 79 super(WebKitPatch, self).__init__()
81 self._path = path 80 self._path = path
82 self.commands = [ 81 self.commands = [
83 AnalyzeBaselines(), 82 AnalyzeBaselines(),
84 AutoRebaseline(), 83 AutoRebaseline(),
85 CommitAnnouncerCommand(),
86 CopyExistingBaselinesInternal(), 84 CopyExistingBaselinesInternal(),
87 CrashLog(), 85 CrashLog(),
88 FlakyTests(), 86 FlakyTests(),
89 LayoutTestsServer(), 87 LayoutTestsServer(),
90 OptimizeBaselines(), 88 OptimizeBaselines(),
91 PrettyDiff(), 89 PrettyDiff(),
92 PrintBaselines(), 90 PrintBaselines(),
93 PrintExpectations(), 91 PrintExpectations(),
94 Rebaseline(), 92 Rebaseline(),
95 RebaselineCL(), 93 RebaselineCL(),
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 return False 162 return False
165 if command.requires_local_commits: 163 if command.requires_local_commits:
166 return self.git().supports_local_commits() 164 return self.git().supports_local_commits()
167 return True 165 return True
168 166
169 def command_by_name(self, command_name): 167 def command_by_name(self, command_name):
170 for command in self.commands: 168 for command in self.commands:
171 if command_name == command.name: 169 if command_name == command.name:
172 return command 170 return command
173 return None 171 return None
OLDNEW
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/commit_announcer.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698