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

Issue 418503005: GSUtils: allow uploads to happen ALWAYS, IF_NEW, or IF_MODIFIED (Closed)

Created:
6 years, 5 months ago by epoger
Modified:
6 years, 5 months ago
Reviewers:
borenet
CC:
reviews_skia.org, rmistry
Base URL:
https://skia.googlesource.com/common.git@master
Visibility:
Public.

Description

GSUtils: allow uploads to happen ALWAYS, IF_NEW, or IF_MODIFIED This will allow us to upload image files most efficiently. BUG=skia:1942 R=borenet@google.com Committed: https://skia.googlesource.com/common/+/c0a68c7

Patch Set 1 : translate only_if_modified to UploadIf.IF_MODIFIED #

Patch Set 2 : add UploadIf.IF_NEW #

Total comments: 2

Patch Set 3 : allow all methods to be called with either a bucket name or Bucket object #

Patch Set 4 : refactor upload_dir_contents() to call upload_file() #

Total comments: 2

Patch Set 5 : Eric comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -86 lines) Patch
M py/utils/gs_utils.py View 1 2 3 4 12 chunks +64 lines, -75 lines 0 comments Download
M py/utils/gs_utils_manualtest.py View 1 3 chunks +22 lines, -11 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
epoger
Eric: PTAL as of patchset 4. I am proud that this CL adds functionality while ...
6 years, 5 months ago (2014-07-23 19:52:02 UTC) #1
borenet
Reviewing diff between patch sets 2 and 4 now. https://codereview.chromium.org/418503005/diff/20001/py/utils/gs_utils.py File py/utils/gs_utils.py (right): https://codereview.chromium.org/418503005/diff/20001/py/utils/gs_utils.py#newcode222 py/utils/gs_utils.py:222: ...
6 years, 5 months ago (2014-07-24 14:21:50 UTC) #2
borenet
2:4 LGTM, but I don't think *args or **kwargs parameters should ever need documentation. https://codereview.chromium.org/418503005/diff/60001/py/utils/gs_utils.py ...
6 years, 5 months ago (2014-07-24 14:25:18 UTC) #3
epoger
https://codereview.chromium.org/418503005/diff/20001/py/utils/gs_utils.py File py/utils/gs_utils.py (right): https://codereview.chromium.org/418503005/diff/20001/py/utils/gs_utils.py#newcode222 py/utils/gs_utils.py:222: On 2014/07/24 14:21:50, borenet wrote: > I might add ...
6 years, 5 months ago (2014-07-24 14:49:49 UTC) #4
epoger
6 years, 5 months ago (2014-07-24 14:50:00 UTC) #5
Message was sent while issue was closed.
Committed patchset #5 manually as rc0a68c7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698