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

Issue 8923007: Changed upload_sdk.py to handle local builds (Closed)

Created:
9 years ago by Mark R Russell
Modified:
9 years ago
Reviewers:
dgrove, danrubel
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Changed upload_sdk.py to look for an environment variable and deploy to a different bucket if a developer is running a local editor build. This prevents local developer builds from ending up on dart-dump-render-tree. Committed: https://code.google.com/p/dart/source/detail?r=2366

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -12 lines) Patch
M editor/build/build.py View 1 2 3 4 4 chunks +27 lines, -10 lines 0 comments Download
M tools/upload_sdk.py View 1 2 chunks +9 lines, -2 lines 1 comment Download

Messages

Total messages: 7 (0 generated)
Mark R Russell
9 years ago (2011-12-12 19:56:03 UTC) #1
danrubel
http://codereview.chromium.org/8923007/diff/1/editor/build/build.py File editor/build/build.py (right): http://codereview.chromium.org/8923007/diff/1/editor/build/build.py#newcode248 editor/build/build.py:248: from_bucket = 'gs://dart-editor-archive-testing' In this case, lets skip the ...
9 years ago (2011-12-12 20:34:52 UTC) #2
Mark R Russell
I did some refactoring of the calls so the build of the sdk will only ...
9 years ago (2011-12-12 22:01:52 UTC) #3
danrubel
lgtm http://codereview.chromium.org/8923007/diff/6003/editor/build/build.py File editor/build/build.py (right): http://codereview.chromium.org/8923007/diff/6003/editor/build/build.py#newcode244 editor/build/build.py:244: running_on_buildbot = False It would be easier to ...
9 years ago (2011-12-13 01:15:11 UTC) #4
Mark R Russell
Handled comments http://codereview.chromium.org/8923007/diff/6003/editor/build/build.py File editor/build/build.py (right): http://codereview.chromium.org/8923007/diff/6003/editor/build/build.py#newcode244 editor/build/build.py:244: running_on_buildbot = False On 2011/12/13 01:15:11, danrubel ...
9 years ago (2011-12-13 01:19:56 UTC) #5
dgrove
http://codereview.chromium.org/8923007/diff/2003/tools/upload_sdk.py File tools/upload_sdk.py (right): http://codereview.chromium.org/8923007/diff/2003/tools/upload_sdk.py#newcode72 tools/upload_sdk.py:72: sys.stderr.write('cound not find {0}'.format(GSUTIL)) I had intentionally made this ...
9 years ago (2011-12-13 05:31:31 UTC) #6
Mark R Russell
9 years ago (2011-12-13 05:37:43 UTC) #7
The reason I put this in was because when I was trying to make this work it
silently failed and it was very confusing.  But I guess that most people do not
actually want to do the upload so a silent failure is not an issue.  

However you know the development team better than I do so I will defer to you
and I can remove it.

On 2011/12/13 05:31:31, dgrove wrote:
> http://codereview.chromium.org/8923007/diff/2003/tools/upload_sdk.py
> File tools/upload_sdk.py (right):
> 
> http://codereview.chromium.org/8923007/diff/2003/tools/upload_sdk.py#newcode72
> tools/upload_sdk.py:72: sys.stderr.write('cound not find {0}'.format(GSUTIL))
> I had intentionally made this not print anything so that it wouldn't cause
noise
> during development. Do we really need this message?

Powered by Google App Engine
This is Rietveld 408576698