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

Issue 2336443002: Bump pub version (Closed)

Created:
4 years, 3 months ago by vsm
Modified:
4 years, 3 months ago
CC:
dev-compiler+reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Bump pub version We seem to be hitting an error on travis: https://travis-ci.org/dart-lang/sdk/jobs/159136296 The pubspec for analyzer 0.28.2-alpha.0 from path has version 0.29.0-alpha.0. The command "pub get" failed and exited with 65 during . Looks like the analyzer version bumped forward and was incompatible with the pubspec.lock entry? Is there a way to avoid this? TBR=rnystrom@google.com,jmesserly@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/ab47c33f3d85fb79bdec72a9ac374e84afcd7b4f

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -6 lines) Patch
M pkg/dev_compiler/pubspec.lock View 5 chunks +5 lines, -5 lines 0 comments Download
M pkg/dev_compiler/pubspec.yaml View 1 chunk +1 line, -1 line 3 comments Download

Messages

Total messages: 8 (1 generated)
vsm
Committed patchset #1 (id:1) manually as ab47c33f3d85fb79bdec72a9ac374e84afcd7b4f (presubmit successful).
4 years, 3 months ago (2016-09-12 03:06:40 UTC) #2
Jennifer Messerly
LGTM https://codereview.chromium.org/2336443002/diff/1/pkg/dev_compiler/pubspec.yaml File pkg/dev_compiler/pubspec.yaml (right): https://codereview.chromium.org/2336443002/diff/1/pkg/dev_compiler/pubspec.yaml#newcode11 pkg/dev_compiler/pubspec.yaml:11: analyzer: ^0.29.0-alpha.0 Should we just make this a ...
4 years, 3 months ago (2016-09-12 17:12:14 UTC) #3
Bob Nystrom
https://codereview.chromium.org/2336443002/diff/1/pkg/dev_compiler/pubspec.yaml File pkg/dev_compiler/pubspec.yaml (right): https://codereview.chromium.org/2336443002/diff/1/pkg/dev_compiler/pubspec.yaml#newcode11 pkg/dev_compiler/pubspec.yaml:11: analyzer: ^0.29.0-alpha.0 On 2016/09/12 17:12:14, John Messerly wrote: > ...
4 years, 3 months ago (2016-09-12 18:15:23 UTC) #4
Jennifer Messerly
https://codereview.chromium.org/2336443002/diff/1/pkg/dev_compiler/pubspec.yaml File pkg/dev_compiler/pubspec.yaml (right): https://codereview.chromium.org/2336443002/diff/1/pkg/dev_compiler/pubspec.yaml#newcode11 pkg/dev_compiler/pubspec.yaml:11: analyzer: ^0.29.0-alpha.0 On 2016/09/12 18:15:23, Bob Nystrom wrote: > ...
4 years, 3 months ago (2016-09-12 18:19:00 UTC) #5
Bob Nystrom
On 2016/09/12 18:19:00, John Messerly wrote: > https://codereview.chromium.org/2336443002/diff/1/pkg/dev_compiler/pubspec.yaml > File pkg/dev_compiler/pubspec.yaml (right): > > https://codereview.chromium.org/2336443002/diff/1/pkg/dev_compiler/pubspec.yaml#newcode11 ...
4 years, 3 months ago (2016-09-12 20:12:24 UTC) #6
vsm
On 2016/09/12 20:12:24, Bob Nystrom wrote: > On 2016/09/12 18:19:00, John Messerly wrote: > > ...
4 years, 3 months ago (2016-09-12 20:18:47 UTC) #7
Bob Nystrom
4 years, 3 months ago (2016-09-12 20:24:23 UTC) #8
Message was sent while issue was closed.
On 2016/09/12 20:18:47, vsm wrote:
> On 2016/09/12 20:12:24, Bob Nystrom wrote:
> > On 2016/09/12 18:19:00, John Messerly wrote:
> > >
> >
>
https://codereview.chromium.org/2336443002/diff/1/pkg/dev_compiler/pubspec.yaml
> > > File pkg/dev_compiler/pubspec.yaml (right):
> > > 
> > >
> >
>
https://codereview.chromium.org/2336443002/diff/1/pkg/dev_compiler/pubspec.ya...
> > > pkg/dev_compiler/pubspec.yaml:11: analyzer: ^0.29.0-alpha.0
> > > On 2016/09/12 18:15:23, Bob Nystrom wrote:
> > > > On 2016/09/12 17:12:14, John Messerly wrote:
> > > > > Should we just make this a file dependency?
> > > > 
> > > > If you do that, you won't be able to also publish dev_compiler. Packages
> on
> > > > http://pub.dartlang.org can't have regular dependencies onto local
files.
> An
> > > override
> > > > is probably the right way to handle it.
> > > > 
> > > > (Though there are the usual concerns then of making sure you actually
test
> > it
> > > > without the override so that you know the published version of DDC works
> > with
> > > > that version of analyzer.)
> > > 
> > > yeah ... I think maybe we want to stop publishing the package. At least I
> > can't
> > > think of a good reason to publish it as we're built as a binary in the SDK
> > > (`dartdevc`), but maybe we'll have a reason to do so later.
> > 
> > In that case moving the path dependency to "dependencies" might be a good
> idea,
> > because it will *ensure* you don't publish it.
> > 
> > – bob
> 
> I don't see a reason to continue publishing separately (now that we're
> distributing a binary with the sdk).  What is the right change to make?  Do we
> still need the override?  There is a comment there about package:test and
> dart_style.

Ah, yes. If you have a shared dependency on analyzer, you'll need to keep it an
override. Unless the versions of test and dart_style that you use also get
analyzer from a local path.

– bob

Powered by Google App Engine
This is Rietveld 408576698