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

Issue 1048103002: In upload_to_google_storage, pass -z argument through to gsutil. (Closed)

Created:
5 years, 8 months ago by azarchs
Modified:
5 years, 8 months ago
Reviewers:
pasko, hinoka
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Target Ref:
refs/heads/master
Project:
tools
Visibility:
Public.

Description

In upload_to_google_storage, pass -z argument through to gsutil. Also fix some latent bugs in the unit tests. BUG=467005

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix nit with documentation. #

Patch Set 3 : Address comments from hinoka #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -13 lines) Patch
M tests/upload_to_google_storage_unittests.py View 6 chunks +9 lines, -8 lines 0 comments Download
M upload_to_google_storage.py View 1 2 6 chunks +12 lines, -5 lines 0 comments Download

Messages

Total messages: 29 (11 generated)
azarchs
5 years, 8 months ago (2015-03-31 13:36:19 UTC) #2
jochen (gone - plz use gerrit)
i don't know about the google storage stuff, so I'm not a good reviewer for ...
5 years, 8 months ago (2015-04-01 14:38:02 UTC) #3
azarchs
On 2015/04/01 14:38:02, jochen wrote: > i don't know about the google storage stuff, so ...
5 years, 8 months ago (2015-04-01 14:41:20 UTC) #4
azarchs
5 years, 8 months ago (2015-04-01 14:42:52 UTC) #6
pasko
this is handy, non-owner lgtm, thank you, Adam! https://codereview.chromium.org/1048103002/diff/1/upload_to_google_storage.py File upload_to_google_storage.py (right): https://codereview.chromium.org/1048103002/diff/1/upload_to_google_storage.py#newcode233 upload_to_google_storage.py:233: help='Gzip ...
5 years, 8 months ago (2015-04-01 18:41:39 UTC) #7
azarchs
https://codereview.chromium.org/1048103002/diff/1/upload_to_google_storage.py File upload_to_google_storage.py (right): https://codereview.chromium.org/1048103002/diff/1/upload_to_google_storage.py#newcode233 upload_to_google_storage.py:233: help='Gzip files which end in ext. ' On 2015/04/01 ...
5 years, 8 months ago (2015-04-02 09:47:23 UTC) #8
hinoka
Lgtm I'd also be okay with whitelisting various extensions to be gzipped by default https://codereview.chromium.org/1048103002/diff/1/upload_to_google_storage.py ...
5 years, 8 months ago (2015-04-03 09:59:32 UTC) #9
azarchs
Thanks. For now I think leaving the behavior unchanged is fine. Whitelisting some extensions would ...
5 years, 8 months ago (2015-04-03 10:07:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048103002/40001
5 years, 8 months ago (2015-04-03 10:07:51 UTC) #13
commit-bot: I haz the power
Presubmit check for 1048103002-40001 failed and returned exit status 1. Running presubmit commit checks ...
5 years, 8 months ago (2015-04-03 10:12:36 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048103002/40001
5 years, 8 months ago (2015-04-03 11:43:08 UTC) #17
commit-bot: I haz the power
Presubmit check for 1048103002-40001 failed and returned exit status 1. Running presubmit commit checks ...
5 years, 8 months ago (2015-04-03 11:47:34 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048103002/40001
5 years, 8 months ago (2015-04-03 12:54:18 UTC) #21
commit-bot: I haz the power
Presubmit check for 1048103002-40001 failed and returned exit status 1. Running presubmit commit checks ...
5 years, 8 months ago (2015-04-03 12:56:41 UTC) #23
azarchs
These presubmit failures appear to be unrelated to this change. I see no option besides ...
5 years, 8 months ago (2015-04-03 13:24:00 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048103002/40001
5 years, 8 months ago (2015-04-03 13:24:13 UTC) #26
commit-bot: I haz the power
Presubmit check for 1048103002-40001 failed and returned exit status 1. Running presubmit commit checks ...
5 years, 8 months ago (2015-04-03 13:29:12 UTC) #28
pasko-google - do not use
5 years, 8 months ago (2015-04-03 14:16:30 UTC) #29
Cherry-picked it at: https://codereview.chromium.org/1059723003/

(presubmit failed for me asking to install python-coverage (3.7) and
google_appengine sdk, I believe these failures are unrelated to this patch)

Powered by Google App Engine
This is Rietveld 408576698