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

Issue 844373002: Support optional BOTO specification with --no_auth. (Closed)

Created:
5 years, 11 months ago by Michael Moss
Modified:
5 years, 11 months ago
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, Raphael Kubo da Costa (rakuco)
Target Ref:
refs/heads/master
Project:
tools
Visibility:
Public.

Description

Support optional BOTO specification with --no_auth. This prevents --no_auth from always clearing BOTO_CONFIG, since there are times when a BOTO is needed for other things than just auth info (e.g. proxy settings). BUG=443523 R=hinoka@chromium.org, szager@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=293652

Patch Set 1 #

Total comments: 6

Patch Set 2 : strings #

Patch Set 3 : test PROXY vars instead #

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

Messages

Total messages: 22 (2 generated)
Michael Moss
5 years, 11 months ago (2015-01-12 23:11:25 UTC) #1
Raphael Kubo da Costa (rakuco)
If that matters, I've verified it worked here behind my corporate proxy. Perhaps there's a ...
5 years, 11 months ago (2015-01-12 23:23:28 UTC) #3
Michael Moss
On 2015/01/12 23:23:28, Raphael Kubo da Costa (rakuco) wrote: > If that matters, I've verified ...
5 years, 11 months ago (2015-01-12 23:31:22 UTC) #4
Raphael Kubo da Costa (rakuco)
FWIW, I don't have access to https://code.google.com/p/chromium/issues/detail?id=321254 :(
5 years, 11 months ago (2015-01-12 23:35:36 UTC) #5
Michael Moss
On 2015/01/12 23:35:36, Raphael Kubo da Costa (rakuco) wrote: > FWIW, I don't have access ...
5 years, 11 months ago (2015-01-12 23:40:15 UTC) #6
Raphael Kubo da Costa (rakuco)
Ah, CrOS. vapier@ was involved in the gsutil issue (https://github.com/GoogleCloudPlatform/gsutil/issues/241) from a CrOS perspective and ...
5 years, 11 months ago (2015-01-12 23:46:43 UTC) #7
Michael Moss
hinoka: ping
5 years, 11 months ago (2015-01-14 16:45:19 UTC) #8
hinoka
What about https://codereview.chromium.org/841823002/ ? Do you prefer one solution over the other?
5 years, 11 months ago (2015-01-14 18:31:06 UTC) #9
Michael Moss
On 2015/01/14 18:31:06, hinoka wrote: > What about https://codereview.chromium.org/841823002/ ? Do you prefer one > ...
5 years, 11 months ago (2015-01-14 18:36:12 UTC) #10
hinoka
https://codereview.chromium.org/844373002/diff/1/download_from_google_storage.py File download_from_google_storage.py (right): https://codereview.chromium.org/844373002/diff/1/download_from_google_storage.py#newcode388 download_from_google_storage.py:388: os.environ.get('NO_AUTH_BOTO_CONFIG')): Lets only trigger this if proxy settings are ...
5 years, 11 months ago (2015-01-14 18:50:15 UTC) #11
Michael Moss
https://codereview.chromium.org/844373002/diff/1/download_from_google_storage.py File download_from_google_storage.py (right): https://codereview.chromium.org/844373002/diff/1/download_from_google_storage.py#newcode388 download_from_google_storage.py:388: os.environ.get('NO_AUTH_BOTO_CONFIG')): On 2015/01/14 18:50:15, hinoka wrote: > Lets only ...
5 years, 11 months ago (2015-01-14 20:04:05 UTC) #12
hinoka
Also this won't catch the case where boto_config isn't exported (defaulting to ~/.boto), but proxy ...
5 years, 11 months ago (2015-01-14 20:11:40 UTC) #13
hinoka
All the bots exports boto_config, so this would print a scary but not terribly useful ...
5 years, 11 months ago (2015-01-14 20:12:22 UTC) #14
Michael Moss
On 2015/01/14 20:11:40, hinoka wrote: > Also this won't catch the case where boto_config isn't ...
5 years, 11 months ago (2015-01-14 21:05:11 UTC) #15
Michael Moss
https://codereview.chromium.org/844373002/diff/1/download_from_google_storage.py File download_from_google_storage.py (right): https://codereview.chromium.org/844373002/diff/1/download_from_google_storage.py#newcode391 download_from_google_storage.py:391: 'it from being used.\n' On 2015/01/14 18:50:15, hinoka wrote: ...
5 years, 11 months ago (2015-01-14 21:05:44 UTC) #16
hinoka
Sorry when I said proxy is set, I meant the env var HTTP_PROXY (and its ...
5 years, 11 months ago (2015-01-15 00:59:13 UTC) #17
Michael Moss
On 2015/01/15 00:59:13, hinoka wrote: > Sorry when I said proxy is set, I meant ...
5 years, 11 months ago (2015-01-15 04:49:24 UTC) #18
hinoka
lgtm
5 years, 11 months ago (2015-01-15 18:37:14 UTC) #19
szager1
lgtm
5 years, 11 months ago (2015-01-15 18:57:40 UTC) #21
Michael Moss
5 years, 11 months ago (2015-01-15 19:00:52 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 293652 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698