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

Issue 23753008: Add json output for gclient. (Closed)

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

Description

Add json output for gclient. This is in order to support 'features' like got_revision for build systems unwilling to scrape the human-readable output of gclient in order to extract basic information :) R=agable@chromium.org, maruel@chromium.org BUG=265618 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=225046

Patch Set 1 #

Total comments: 11

Patch Set 2 : Address comments #

Total comments: 6

Patch Set 3 : Fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -8 lines) Patch
M gclient.py View 1 2 7 chunks +41 lines, -2 lines 0 comments Download
M gclient_scm.py View 1 2 9 chunks +16 lines, -6 lines 0 comments Download
M tests/gclient_scm_test.py View 11 chunks +28 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
iannucci
7 years, 3 months ago (2013-09-15 00:09:45 UTC) #1
Isaac (away)
https://chromiumcodereview.appspot.com/23753008/diff/1/gclient.py File gclient.py (right): https://chromiumcodereview.appspot.com/23753008/diff/1/gclient.py#newcode1621 gclient.py:1621: slns = doc.setdefault('solutions', {}) How about: doc = { ...
7 years, 3 months ago (2013-09-15 16:18:10 UTC) #2
agable
https://codereview.chromium.org/23753008/diff/1/gclient.py File gclient.py (right): https://codereview.chromium.org/23753008/diff/1/gclient.py#newcode1618 gclient.py:1618: ret = client.RunOnDeps('update', args) Keep this line right above ...
7 years, 3 months ago (2013-09-16 17:02:59 UTC) #3
iannucci
https://codereview.chromium.org/23753008/diff/1/gclient.py File gclient.py (right): https://codereview.chromium.org/23753008/diff/1/gclient.py#newcode1618 gclient.py:1618: ret = client.RunOnDeps('update', args) On 2013/09/16 17:02:59, Aaron Gable ...
7 years, 3 months ago (2013-09-19 21:20:42 UTC) #4
agable
This LGTM, but it would be good if you could paste windows and *nix output ...
7 years, 3 months ago (2013-09-23 22:36:06 UTC) #5
iannucci
Windows/git: {"solutions": {"src/chrome/test/data/perf/canvas_bench/": {"scm": "git", "revision": "a7b40ea5ae0239517d78845a5fc9b12976bfc732"}, "third_party/python_26/": {"scm": null, "revision": null}, "src/third_party/swig/Lib/": {"scm": "git", ...
7 years, 3 months ago (2013-09-24 18:06:13 UTC) #6
iannucci
Linux/svn: {"solutions": {"src/chrome/test/data/perf/canvas_bench/": {"scm": "svn", "revision": 122605}, "trunk/third_party/googlemock/": {"scm": null, "revision": null}, "src/third_party/libyuv/build/": {"scm": null, ...
7 years, 3 months ago (2013-09-24 18:09:47 UTC) #7
M-A Ruel
lgtm with nits https://codereview.chromium.org/23753008/diff/8001/gclient.py File gclient.py (right): https://codereview.chromium.org/23753008/diff/8001/gclient.py#newcode1620 gclient.py:1620: doc = {} slns = {} ...
7 years, 3 months ago (2013-09-24 18:52:40 UTC) #8
iannucci
thanks! https://codereview.chromium.org/23753008/diff/8001/gclient.py File gclient.py (right): https://codereview.chromium.org/23753008/diff/8001/gclient.py#newcode1620 gclient.py:1620: doc = {} On 2013/09/24 18:52:41, M-A Ruel ...
7 years, 3 months ago (2013-09-24 18:58:09 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iannucci@chromium.org/23753008/17001
7 years, 3 months ago (2013-09-24 19:08:10 UTC) #10
commit-bot: I haz the power
7 years, 3 months ago (2013-09-24 19:10:09 UTC) #11
Message was sent while issue was closed.
Change committed as 225046

Powered by Google App Engine
This is Rietveld 408576698