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 607663002: Harvest from pub. Mostly a straight copy, except: (Closed)

Created:
6 years, 2 months ago by Bob Nystrom
Modified:
6 years, 1 month ago
Reviewers:
nweiz
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/pub_semver.git@master
Visibility:
Public.

Description

Harvest from pub. Mostly a straight copy, except: - Reorganized into smaller libraries. - Added tests for prioritize() and antiprioritize(). - Filled in a few doc comments. R=nweiz@google.com Committed: c901a74427c0027a10ae67a182fb0c9886db3569

Patch Set 1 #

Total comments: 28

Patch Set 2 : Revise! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1457 lines, -0 lines) Patch
A .gitignore View 1 1 chunk +5 lines, -0 lines 0 comments Download
A CHANGELOG.md View 1 chunk +3 lines, -0 lines 0 comments Download
A README.md View 1 1 chunk +77 lines, -0 lines 0 comments Download
A lib/pub_semver.dart View 1 1 chunk +9 lines, -0 lines 0 comments Download
A lib/src/patterns.dart View 1 chunk +19 lines, -0 lines 0 comments Download
A lib/src/version.dart View 1 chunk +295 lines, -0 lines 0 comments Download
A lib/src/version_constraint.dart View 1 1 chunk +151 lines, -0 lines 0 comments Download
A lib/src/version_range.dart View 1 1 chunk +179 lines, -0 lines 0 comments Download
A pubspec.yaml View 1 chunk +13 lines, -0 lines 0 comments Download
A test/test_all.dart View 1 chunk +17 lines, -0 lines 0 comments Download
A test/utils.dart View 1 1 chunk +96 lines, -0 lines 0 comments Download
A test/version_constraint_test.dart View 1 chunk +143 lines, -0 lines 0 comments Download
A test/version_range_test.dart View 1 1 chunk +202 lines, -0 lines 0 comments Download
A test/version_test.dart View 1 1 chunk +248 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Bob Nystrom
I'll pull the old stuff out of pub and bring this in to replace it ...
6 years, 2 months ago (2014-09-25 19:40:25 UTC) #2
nweiz
https://chromiumcodereview.appspot.com/607663002/diff/1/README.md File README.md (right): https://chromiumcodereview.appspot.com/607663002/diff/1/README.md#newcode62 README.md:62: order which is different from strict comparison ordering. Any ...
6 years, 2 months ago (2014-09-25 22:52:03 UTC) #3
Bob Nystrom
https://chromiumcodereview.appspot.com/607663002/diff/1/README.md File README.md (right): https://chromiumcodereview.appspot.com/607663002/diff/1/README.md#newcode62 README.md:62: order which is different from strict comparison ordering. Any ...
6 years, 2 months ago (2014-09-26 19:41:08 UTC) #4
nweiz
lgtm https://chromiumcodereview.appspot.com/607663002/diff/1/lib/src/version_constraint.dart File lib/src/version_constraint.dart (right): https://chromiumcodereview.appspot.com/607663002/diff/1/lib/src/version_constraint.dart#newcode47 lib/src/version_constraint.dart:47: var constraints = <VersionConstraint>[]; On 2014/09/26 19:41:07, Bob ...
6 years, 2 months ago (2014-09-26 19:44:23 UTC) #5
Bob Nystrom
Committed patchset #2 (id:20001) manually as c901a74 (presubmit successful).
6 years, 2 months ago (2014-09-26 19:54:42 UTC) #6
Bob Nystrom
6 years, 1 month ago (2014-11-10 22:14:06 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/607663002/diff/1/lib/src/version_constraint.dart
File lib/src/version_constraint.dart (right):

https://codereview.chromium.org/607663002/diff/1/lib/src/version_constraint.d...
lib/src/version_constraint.dart:47: var constraints = <VersionConstraint>[];
On 2014/09/26 19:44:23, nweiz wrote:
> On 2014/09/26 19:41:07, Bob Nystrom wrote:
> > On 2014/09/25 22:52:02, nweiz wrote:
> > > Nit: no type annotations here or for the functions below.
> > 
> > Done.
> > 
> > > It might be nice to use StringScanner here to get nice error messages.
> > 
> > I think that's probably overkill here. It already does an OK job of showing
> > where the error is.
> 
> This array still has an annotation.

Done.

Powered by Google App Engine
This is Rietveld 408576698