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

Issue 22824018: Convert gclient to use subcommand.py (Closed)

Created:
7 years, 4 months ago by M-A Ruel
Modified:
7 years, 4 months ago
Reviewers:
iannucci
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org, csharp, Vadim Sh.
Visibility:
Public.

Description

Convert gclient to use subcommand.py Update subcommand to support examples, always disable format_description and format_epilog and add colors when enabled. R=iannucci@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=218180

Patch Set 1 #

Total comments: 14

Patch Set 2 : address review comments #

Patch Set 3 : Bonus, git cl status with colors #

Total comments: 2

Patch Set 4 : fix non-determinism in gclient_smoketest.py #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -209 lines) Patch
M gclient.py View 1 18 chunks +111 lines, -170 lines 0 comments Download
M git_cl.py View 1 2 4 chunks +19 lines, -7 lines 0 comments Download
M subcommand.py View 1 2 6 chunks +72 lines, -22 lines 0 comments Download
M tests/gclient_smoketest.py View 1 2 3 2 chunks +23 lines, -10 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
M-A Ruel
COLORS! https://codereview.chromium.org/22824018/diff/1/gclient.py File gclient.py (right): https://codereview.chromium.org/22824018/diff/1/gclient.py#newcode7 gclient.py:7: # Files We don't want that in the ...
7 years, 4 months ago (2013-08-16 21:08:04 UTC) #1
iannucci
Yay colors! https://codereview.chromium.org/22824018/diff/1/gclient.py File gclient.py (right): https://codereview.chromium.org/22824018/diff/1/gclient.py#newcode1305 gclient.py:1305: Mostly svn-specific. Simply runs 'svn cleanup' for ...
7 years, 4 months ago (2013-08-16 21:32:05 UTC) #2
M-A Ruel
https://codereview.chromium.org/22824018/diff/1/gclient.py File gclient.py (right): https://codereview.chromium.org/22824018/diff/1/gclient.py#newcode1470 gclient.py:1470: @subcommand.example("""Example: On 2013/08/16 21:32:05, iannucci wrote: > should the ...
7 years, 4 months ago (2013-08-17 00:19:09 UTC) #3
M-A Ruel
Bonus change: git cl help status is colorized. I was about to do it in ...
7 years, 4 months ago (2013-08-17 00:40:17 UTC) #4
iannucci
lgtm https://codereview.chromium.org/22824018/diff/10001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/22824018/diff/10001/git_cl.py#newcode1190 git_cl.py:1190: colors = [i for i in dir(Fore) if ...
7 years, 4 months ago (2013-08-17 01:14:36 UTC) #5
M-A Ruel
https://codereview.chromium.org/22824018/diff/10001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/22824018/diff/10001/git_cl.py#newcode1190 git_cl.py:1190: colors = [i for i in dir(Fore) if i[0].isupper()] ...
7 years, 4 months ago (2013-08-17 01:22:08 UTC) #6
iannucci
On 2013/08/17 01:22:08, M-A Ruel wrote: > https://codereview.chromium.org/22824018/diff/10001/git_cl.py > File git_cl.py (right): > > https://codereview.chromium.org/22824018/diff/10001/git_cl.py#newcode1190 ...
7 years, 4 months ago (2013-08-17 01:57:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/22824018/10001
7 years, 4 months ago (2013-08-17 15:41:33 UTC) #8
commit-bot: I haz the power
Presubmit check for 22824018-10001 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 4 months ago (2013-08-17 15:43:12 UTC) #9
M-A Ruel
On 2013/08/17 15:43:12, I haz the power (commit-bot) wrote: > Presubmit check for 22824018-10001 failed ...
7 years, 4 months ago (2013-08-17 16:55:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/22824018/22001
7 years, 4 months ago (2013-08-17 16:55:26 UTC) #11
commit-bot: I haz the power
7 years, 4 months ago (2013-08-17 16:57:04 UTC) #12
Message was sent while issue was closed.
Change committed as 218180

Powered by Google App Engine
This is Rietveld 408576698