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

Issue 8935008: Create the SDK in dart-sdk directory. The sdk zip file's contents (Closed)

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

Description

Create the SDK in dart-sdk directory. The sdk zip file's contents will be rooted at dart-sdk/ (rather than being root at bin/lib/... , as it is today). Also, add a revision file to the SDK that contains the version number. Committed: https://code.google.com/p/dart/source/detail?r=2400

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 9

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -14 lines) Patch
M dart.gyp View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
M tools/upload_sdk.py View 1 2 3 4 5 3 chunks +14 lines, -10 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
dgrove
danrubel - an fyi that i'm adding a top-level directory to the SDK so that ...
9 years ago (2011-12-13 18:03:18 UTC) #1
Siggi Cherem (dart-lang)
lgtm (with comments below) http://codereview.chromium.org/8935008/diff/2001/tools/upload_sdk.py File tools/upload_sdk.py (right): http://codereview.chromium.org/8935008/diff/2001/tools/upload_sdk.py#newcode16 tools/upload_sdk.py:16: from os.path import basename, dirname, ...
9 years ago (2011-12-13 19:01:00 UTC) #2
danrubel
http://codereview.chromium.org/8935008/diff/8001/tools/upload_sdk.py File tools/upload_sdk.py (right): http://codereview.chromium.org/8935008/diff/8001/tools/upload_sdk.py#newcode19 tools/upload_sdk.py:19: GSUTIL='/Users/dgrove/repo/dart-bleeding/dart/third_party/gsutil/20110627/gsutil' Should this 2nd GSUTIL assignment be removed?
9 years ago (2011-12-13 22:09:34 UTC) #3
dgrove
9 years ago (2011-12-13 22:38:41 UTC) #4
http://codereview.chromium.org/8935008/diff/2001/tools/upload_sdk.py
File tools/upload_sdk.py (right):

http://codereview.chromium.org/8935008/diff/2001/tools/upload_sdk.py#newcode16
tools/upload_sdk.py:16: from os.path import basename, dirname, join
On 2011/12/13 19:01:00, sigmund wrote:
> I personally like how this looks in the code, but I think our style guide
> requires using os.path.X in the code instead.

Done.

http://codereview.chromium.org/8935008/diff/2001/tools/upload_sdk.py#newcode22
tools/upload_sdk.py:22: LATEST = 'latest'
On 2011/12/13 19:01:00, sigmund wrote:
> this var is not used

Done.

http://codereview.chromium.org/8935008/diff/2001/tools/upload_sdk.py#newcode23
tools/upload_sdk.py:23: SDK = 'sdk'
On 2011/12/13 19:01:00, sigmund wrote:
> maybe rename to GS_SDK_SUBDIR (for a moment I thought this could be the local
> dir that got renamed to dart-sdk)

Done.

http://codereview.chromium.org/8935008/diff/2001/tools/upload_sdk.py#newcode85
tools/upload_sdk.py:85: revision_file.close()
On 2011/12/13 19:01:00, sigmund wrote:
> (nit): slightly better style:
> with open(join(basename(argv[1]), 'revision'), 'w') as f:
>   f.write(revision + '\n')
> 
> (close is done automatically, even if an exception is thrown)

Done.

http://codereview.chromium.org/8935008/diff/8001/tools/upload_sdk.py
File tools/upload_sdk.py (right):

http://codereview.chromium.org/8935008/diff/8001/tools/upload_sdk.py#newcode19
tools/upload_sdk.py:19:
GSUTIL='/Users/dgrove/repo/dart-bleeding/dart/third_party/gsutil/20110627/gsutil'
Yes. this is what happens when I upload just before running to a meeting.
thanks!
On 2011/12/13 22:09:34, danrubel wrote:
> Should this 2nd GSUTIL assignment be removed?

Done.

Powered by Google App Engine
This is Rietveld 408576698