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

Issue 1140493005: Improve package version constraint suggestions. (Closed)

Created:
5 years, 7 months ago by nweiz
Modified:
5 years, 7 months ago
Reviewers:
kustermann
CC:
Kathy Walrath
Base URL:
git@github.com:dart-lang/pub-dartlang.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Improve package version constraint suggestions. Prerelease versions now suggest the stable version as the upper bound, which provides a compromise between flexibility and potential breakage. Other versions now use the caret syntax, since most active versions of pub support it at this point. Closes #266 See #274 R=kustermann@google.com Committed: https://github.com/dart-lang/pub-dartlang/commit/a43ed13ab14004387e9f1ca960b2e91f15de52ce

Patch Set 1 #

Total comments: 1

Patch Set 2 : cr #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -5 lines) Patch
M app/models/package_version.py View 1 1 chunk +4 lines, -5 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
nweiz
5 years, 7 months ago (2015-05-18 20:08:15 UTC) #2
kustermann
https://chromiumcodereview.appspot.com/1140493005/diff/1/app/models/package_version.py File app/models/package_version.py (right): https://chromiumcodereview.appspot.com/1140493005/diff/1/app/models/package_version.py#newcode255 app/models/package_version.py:255: )) I'm not sure if this is working as ...
5 years, 7 months ago (2015-05-19 08:24:36 UTC) #3
nweiz
On 2015/05/19 08:24:36, kustermann wrote: > https://chromiumcodereview.appspot.com/1140493005/diff/1/app/models/package_version.py > File app/models/package_version.py (right): > > https://chromiumcodereview.appspot.com/1140493005/diff/1/app/models/package_version.py#newcode255 > ...
5 years, 7 months ago (2015-05-19 18:40:35 UTC) #4
kustermann
LGTM - Although personally I find upper+lower bound to be more self-describing for (in particular) ...
5 years, 7 months ago (2015-05-19 20:06:15 UTC) #5
nweiz
5 years, 7 months ago (2015-05-19 20:47:01 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
a43ed13ab14004387e9f1ca960b2e91f15de52ce (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698