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

Issue 42273002: Add a platform filtering and executable setting abilities to download_from_google_storage. (Closed)

Created:
7 years, 1 month ago by brettw
Modified:
7 years, 1 month ago
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org, Isaac (away)
Visibility:
Public.

Description

Add a platform filtering and executable setting abilities to download_from_google_storage. Adds a command line flag --platform to control which platforms the given download occurs on. Automatically marks downloads executable on non-Windows if the header x-goog-meta-executable is set. Automatically set this flag on upload when the executable bit is set. BUG=233100 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=231387

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Total comments: 5

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -1 line) Patch
M download_from_google_storage.py View 1 2 3 4 5 3 chunks +28 lines, -1 line 0 comments Download
M upload_to_google_storage.py View 1 2 3 4 5 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
brettw
Here is one way to solve the download problem. I would have multiple entries in ...
7 years, 1 month ago (2013-10-24 22:52:27 UTC) #1
Ryan Tseng
+ilevy FYI: Brettw is working on a download_from_google_storage side fix. This approach sounds good to ...
7 years, 1 month ago (2013-10-24 23:42:23 UTC) #2
brettw
New snap up that uses metadata rather than the command line flag for executable-ness.
7 years, 1 month ago (2013-10-25 21:25:21 UTC) #3
Ryan Tseng
lgtm + comments +maruel, iannucci for OWNERs approval. https://codereview.chromium.org/42273002/diff/70001/download_from_google_storage.py File download_from_google_storage.py (right): https://codereview.chromium.org/42273002/diff/70001/download_from_google_storage.py#newcode190 download_from_google_storage.py:190: # ...
7 years, 1 month ago (2013-10-25 22:00:01 UTC) #4
brettw
New snap up with fixes.
7 years, 1 month ago (2013-10-25 22:05:38 UTC) #5
Ryan Tseng
Oh almost forgot, also add BUG=233100 in the CL description.
7 years, 1 month ago (2013-10-25 22:12:36 UTC) #6
M-A Ruel
https://codereview.chromium.org/42273002/diff/140001/download_from_google_storage.py File download_from_google_storage.py (right): https://codereview.chromium.org/42273002/diff/140001/download_from_google_storage.py#newcode192 download_from_google_storage.py:192: # It is supposedly faster to use "gsutil stat" ...
7 years, 1 month ago (2013-10-26 15:32:36 UTC) #7
brettw
It would be nice, given that these things are separate, for me to not be ...
7 years, 1 month ago (2013-10-26 22:32:20 UTC) #8
M-A Ruel
On 2013/10/26 22:32:20, brettw wrote: > It would be nice, given that these things are ...
7 years, 1 month ago (2013-10-28 15:05:47 UTC) #9
brettw
Thanks, new snap up.
7 years, 1 month ago (2013-10-28 16:50:52 UTC) #10
M-A Ruel
lgtm with a few changes. https://codereview.chromium.org/42273002/diff/220001/download_from_google_storage.py File download_from_google_storage.py (right): https://codereview.chromium.org/42273002/diff/220001/download_from_google_storage.py#newcode192 download_from_google_storage.py:192: # It is supposedly ...
7 years, 1 month ago (2013-10-28 19:40:57 UTC) #11
brettw
https://codereview.chromium.org/42273002/diff/220001/upload_to_google_storage.py File upload_to_google_storage.py (right): https://codereview.chromium.org/42273002/diff/220001/upload_to_google_storage.py#newcode111 upload_to_google_storage.py:111: code, _, err = gsutil.check_call('setmeta', '-h', Looks like it ...
7 years, 1 month ago (2013-10-28 19:53:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/brettw@chromium.org/42273002/220002
7 years, 1 month ago (2013-10-28 19:54:04 UTC) #13
commit-bot: I haz the power
7 years, 1 month ago (2013-10-28 19:55:50 UTC) #14
Message was sent while issue was closed.
Change committed as 231387

Powered by Google App Engine
This is Rietveld 408576698