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

Issue 1040503003: Formalizes support for '-' in command names. (Closed)

Created:
5 years, 8 months ago by M-A Ruel
Modified:
5 years, 8 months ago
CC:
chromium-reviews, cmp-cc_chromium.org, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org, cmassaro
Target Ref:
refs/heads/master
Project:
tools
Visibility:
Public.

Description

Formalizes support for '-' in command names. This officially drops support for '_' in command names, which is ugly as hell. '_' was very rarely used so it shouldn't affect too much users. Refactor the code to be more readable. R=stip@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=294660

Patch Set 1 #

Patch Set 2 : Fix regression in new code which broke aliases #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -26 lines) Patch
M subcommand.py View 1 7 chunks +32 lines, -26 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
M-A Ruel
I used cmd_name for variables that holds the actual command name and name_asked for user ...
5 years, 8 months ago (2015-03-30 17:46:38 UTC) #1
Cory Massaro
On 2015/03/30 17:46:38, M-A Ruel wrote: > I used cmd_name for variables that holds the ...
5 years, 8 months ago (2015-03-30 19:24:49 UTC) #2
M-A Ruel
Robbie, you can review this now.
5 years, 8 months ago (2015-03-31 14:38:08 UTC) #3
M-A Ruel
-> stip
5 years, 8 months ago (2015-04-02 18:58:00 UTC) #5
ghost stip (do not use)
lgtm
5 years, 8 months ago (2015-04-02 19:16:23 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1040503003/1
5 years, 8 months ago (2015-04-02 19:19:52 UTC) #8
commit-bot: I haz the power
Presubmit check for 1040503003-1 failed and returned exit status 1. Running presubmit commit checks ...
5 years, 8 months ago (2015-04-02 19:23:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1040503003/1
5 years, 8 months ago (2015-04-02 19:25:22 UTC) #12
commit-bot: I haz the power
Presubmit check for 1040503003-1 failed and returned exit status 1. Running presubmit commit checks ...
5 years, 8 months ago (2015-04-02 19:28:18 UTC) #14
M-A Ruel
This was an actual regression for command aliases, fixed.
5 years, 8 months ago (2015-04-02 19:53:04 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1040503003/20001
5 years, 8 months ago (2015-04-02 19:53:36 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001) as http://src.chromium.org/viewvc/chrome?view=rev&revision=294660
5 years, 8 months ago (2015-04-02 19:57:00 UTC) #19
chromium-reviews
Did this make it into the LUCI repo, as well? I've rebased onto it but ...
5 years, 8 months ago (2015-04-03 00:22:32 UTC) #20
M-A Ruel
5 years, 8 months ago (2015-04-03 00:57:44 UTC) #21
Message was sent while issue was closed.
On 2015/04/03 00:22:32, chromium-reviews wrote:
> Did this make it into the LUCI repo, as well? I've rebased onto it but my
> parsers still want underscores.

It was https://codereview.chromium.org/1052993003.

Powered by Google App Engine
This is Rietveld 408576698