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

Side by Side Diff: sky/tools/webkitpy/tool/steps/options.py

Issue 946753002: Delete a bunch of dead python code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/tools/webkitpy/tool/steps/confirmdiff.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
(Empty)
1 # Copyright (C) 2010 Google Inc. All rights reserved.
2 #
3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are
5 # met:
6 #
7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer
11 # in the documentation and/or other materials provided with the
12 # distribution.
13 # * Neither the name of Google Inc. nor the names of its
14 # contributors may be used to endorse or promote products derived from
15 # this software without specific prior written permission.
16 #
17 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
29 from optparse import make_option
30
31 class Options(object):
32 blocks = make_option("--blocks", action="store", type="string", dest="blocks ", default=None, help="Bug number which the created bug blocks.")
33 build = make_option("--build", action="store_true", dest="build", default=Fa lse, help="Build and run run-webkit-tests before committing.")
34 build_style = make_option("--build-style", action="store", dest="build_style ", default=None, help="Whether to build debug, release, or both.")
35 cc = make_option("--cc", action="store", type="string", dest="cc", help="Com ma-separated list of email addresses to carbon-copy.")
36 check_style = make_option("--ignore-style", action="store_false", dest="chec k_style", default=True, help="Don't check to see if the patch has proper style b efore uploading.")
37 check_style_filter = make_option("--check-style-filter", action="store", typ e="string", dest="check_style_filter", default=None, help="Filter style-checker rules (see check-webkit-style --help).")
38 clean = make_option("--no-clean", action="store_false", dest="clean", defaul t=True, help="Don't check if the working directory is clean before applying patc hes")
39 close_bug = make_option("--no-close", action="store_false", dest="close_bug" , default=True, help="Leave bug open after landing.")
40 comment = make_option("--comment", action="store", type="string", dest="comm ent", help="Comment to post to bug.")
41 component = make_option("--component", action="store", type="string", dest=" component", help="Component for the new bug.")
42 confirm = make_option("--no-confirm", action="store_false", dest="confirm", default=True, help="Skip confirmation steps.")
43 description = make_option("-m", "--description", action="store", type="strin g", dest="description", help="Description string for the attachment")
44 email = make_option("--email", action="store", type="string", dest="email", help="Email address to use in ChangeLogs.")
45 force_clean = make_option("--force-clean", action="store_true", dest="force_ clean", default=False, help="Clean working directory before applying patches (re moves local changes and commits)")
46 git_commit = make_option("-g", "--git-commit", action="store", dest="git_com mit", help="Operate on a local commit. If a range, the commits are squashed into one. <ref>.... includes the working copy changes. UPSTREAM can be used for the upstream/tracking branch.")
47 local_commit = make_option("--local-commit", action="store_true", dest="loca l_commit", default=False, help="Make a local commit for each applied patch")
48 non_interactive = make_option("--non-interactive", action="store_true", dest ="non_interactive", default=False, help="Never prompt the user, fail as fast as possible.")
49 obsolete_patches = make_option("--no-obsolete", action="store_false", dest=" obsolete_patches", default=True, help="Do not obsolete old patches before postin g this one.")
50 open_bug = make_option("--open-bug", action="store_true", dest="open_bug", d efault=False, help="Opens the associated bug in a browser.")
51 parent_command = make_option("--parent-command", action="store", dest="paren t_command", default=None, help="(Internal) The command that spawned this instanc e.")
52 quiet = make_option("--quiet", action="store_true", dest="quiet", default=Fa lse, help="Produce less console output.")
53 request_commit = make_option("--request-commit", action="store_true", dest=" request_commit", default=False, help="Mark the patch as needing auto-commit afte r review.")
54 review = make_option("--no-review", action="store_false", dest="review", def ault=True, help="Do not mark the patch for review.")
55 reviewer = make_option("-r", "--reviewer", action="store", type="string", de st="reviewer", help="Update ChangeLogs to say Reviewed by REVIEWER.")
56 suggest_reviewers = make_option("--suggest-reviewers", action="store_true", default=False, help="Offer to CC appropriate reviewers.")
57 test = make_option("--test", action="store_true", dest="test", default=False , help="Run run-webkit-tests before committing.")
58 update = make_option("--no-update", action="store_false", dest="update", def ault=True, help="Don't update the working directory.")
59 update_changelogs = make_option("--update-changelogs", action="store_true", dest="update_changelogs", default=False, help="Update existing ChangeLog entries with new date, bug description, and touched files/functions.")
60 changelog_count = make_option("--changelog-count", action="store", type="int ", dest="changelog_count", help="Number of changelogs to parse.")
OLDNEW
« no previous file with comments | « sky/tools/webkitpy/tool/steps/confirmdiff.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698