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

Issue 85553002: Add CHANNEL to tools/VERSION (Closed)

Created:
7 years ago by kustermann
Modified:
7 years ago
Reviewers:
ricow1, Bob Nystrom
CC:
reviews_dartlang.org, Bob Nystrom
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -21 lines) Patch
M dart/tools/VERSION View 1 chunk +1 line, -0 lines 2 comments Download
M dart/tools/publish_barback.py View 1 chunk +3 lines, -12 lines 4 comments Download
M dart/tools/utils.py View 1 4 chunks +17 lines, -9 lines 2 comments Download

Messages

Total messages: 7 (0 generated)
kustermann
7 years ago (2013-11-25 10:53:30 UTC) #1
ricow1
LGTM, but we need to be careful when we do the next push, you should ...
7 years ago (2013-11-25 11:35:42 UTC) #2
kustermann
@bob: Just FYI.
7 years ago (2013-11-25 12:51:44 UTC) #3
kustermann
Committed patchset #2 manually as r30620 (presubmit successful).
7 years ago (2013-11-25 12:52:05 UTC) #4
Bob Nystrom
https://codereview.chromium.org/85553002/diff/50001/dart/tools/VERSION File dart/tools/VERSION (right): https://codereview.chromium.org/85553002/diff/50001/dart/tools/VERSION#newcode5 dart/tools/VERSION:5: PATCH 0 Does this affect the VERSION file in ...
7 years ago (2013-11-25 17:41:59 UTC) #5
dgrove
On 2013/11/25 11:35:42, ricow1 wrote: > LGTM, but we need to be careful when we ...
7 years ago (2013-11-26 00:21:25 UTC) #6
kustermann
7 years ago (2013-11-26 14:17:32 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/85553002/diff/50001/dart/tools/VERSION
File dart/tools/VERSION (right):

https://codereview.chromium.org/85553002/diff/50001/dart/tools/VERSION#newcode5
dart/tools/VERSION:5: PATCH 0
On 2013/11/25 17:41:59, Bob Nystrom wrote:
> Does this affect the VERSION file in the SDK?
> 
> If so, can you take a look at sdk/lib/_internal/pub/lib/sdk.dart? That's the
> code that parses that file. If it fails, we do have a test that will fail, so
it
> should let us know if it breaks, but it doesn't hurt to be proactive. :)

It doesn't affect the dart-sdk/version file.

https://codereview.chromium.org/85553002/diff/50001/dart/tools/publish_barbac...
File dart/tools/publish_barback.py (right):

https://codereview.chromium.org/85553002/diff/50001/dart/tools/publish_barbac...
dart/tools/publish_barback.py:38: if (major == 0 and minor <= 1) or channel ==
'be':
On 2013/11/25 17:41:59, Bob Nystrom wrote:
> If channel will reliably be set, you can just remove the major and minor
> checking here.

I thought about removing it, but it doesn't hurt if we keep it and this change
isn't in all channels (though we'll merge it over at some point).

https://codereview.chromium.org/85553002/diff/50001/dart/tools/publish_barbac...
dart/tools/publish_barback.py:66: constraint = '>=%d.%d.%d <%d.%d.0' % (major,
minor, build, major, minor + 1)
On 2013/11/25 17:41:59, Bob Nystrom wrote:
> Hey Rico and Martin: until I know what actual numbering scheme the SDK will
use,
> this may not be correct. What's the status on that?

I think we all agree that having semantic versions is the right way to go. We
just need to work out the details -- but I don't think we should rush.

https://codereview.chromium.org/85553002/diff/50001/dart/tools/utils.py
File dart/tools/utils.py (right):

https://codereview.chromium.org/85553002/diff/50001/dart/tools/utils.py#newco...
dart/tools/utils.py:238: # TODO(kustermann/ricow): Add the channel to the
version string.
On 2013/11/25 17:41:59, Bob Nystrom wrote:
> What would having the channel in the version name mean? Would there ever be
two
> versions where the only difference was the channel name, or is it always just
> additional metadata?

We haven't decided anything, I just put in this TODO to not forget about it.

I think it's beneficial for users to be able to figure out if their SDK is
coming from be/dev or stable channel.

Powered by Google App Engine
This is Rietveld 408576698