Descriptiongsutil: Pass proxy information via Boto options.
Since the move to gsutil 4.7, download_from_google_storage --no_auth has
been broken for people behind proxies, as it unsets the BOTO_CONFIG
environment variable despite gsutil requiring proxy information to be
set in a Boto configuration file.
This has been reported in
https://github.com/GoogleCloudPlatform/gsutil/issues/241, and it was
suggested we worked around the issue for now by passing the proxy
information ourselves via "gsutil -o".
Implement it by parsing the http_proxy environment variable and
transforming its contents into a series of "-o" arguments that are
passed to the actual gsutil script.
BUG=chromium:443523
Patch Set 1 #
Total comments: 3
Patch Set 2 : Patch v2 #
Total comments: 3
Patch Set 3 : Patch v3 with different order #
Total comments: 5
Messages
Total messages: 11 (2 generated)
|