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

Issue 472553003: Allow chromium buildtools path to be overriden in the environment. (Closed)

Created:
6 years, 4 months ago by zturner
Modified:
6 years, 4 months ago
Reviewers:
agable, iannucci
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Project:
tools
Visibility:
Public.

Description

Allow chromium buildtools path to be overriden in the environment. This is useful in certain (admittedly unsupported) cases when trying to use tools from depot_tools outside of a chrome repository. In this particular case, I was trying to "git cl format" something that wasn't a chrome repository. BUG=0 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=289412

Patch Set 1 #

Patch Set 2 : Fix error when os environment variable isn't set. #

Patch Set 3 : Add comment indicating just how on-your-own you are if you use this. #

Total comments: 1

Patch Set 4 : Fix my poor python. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M gclient_utils.py View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
zturner
6 years, 4 months ago (2014-08-13 22:41:19 UTC) #1
iannucci
:( I have no reason to block this, but I know that it will swing ...
6 years, 4 months ago (2014-08-13 22:44:01 UTC) #2
zturner
On 2014/08/13 22:44:01, iannucci wrote: > :( I have no reason to block this, but ...
6 years, 4 months ago (2014-08-13 22:47:42 UTC) #3
iannucci
lgtm thanks :) https://codereview.chromium.org/472553003/diff/40001/gclient_utils.py File gclient_utils.py (right): https://codereview.chromium.org/472553003/diff/40001/gclient_utils.py#newcode665 gclient_utils.py:665: override = os.environ['CHROMIUM_BUILDTOOLS_PATH'] os.environ.get could also ...
6 years, 4 months ago (2014-08-13 22:56:49 UTC) #4
zturner
On 2014/08/13 22:56:49, iannucci wrote: > lgtm thanks :) > > https://codereview.chromium.org/472553003/diff/40001/gclient_utils.py > File gclient_utils.py ...
6 years, 4 months ago (2014-08-13 22:58:37 UTC) #5
agable
On 2014/08/13 22:58:37, zturner wrote: > On 2014/08/13 22:56:49, iannucci wrote: > > lgtm thanks ...
6 years, 4 months ago (2014-08-13 23:09:01 UTC) #6
zturner
The CQ bit was checked by zturner@chromium.org
6 years, 4 months ago (2014-08-13 23:11:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zturner@chromium.org/472553003/60001
6 years, 4 months ago (2014-08-13 23:12:59 UTC) #8
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 23:15:28 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (60001) as 289412

Powered by Google App Engine
This is Rietveld 408576698