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

Issue 2079303003: Track Source objects in PackageNames. (Closed)

Created:
4 years, 6 months ago by nweiz
Modified:
4 years, 6 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/pub.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Track Source objects in PackageNames. This allows PackageName equality to include description equality, and it substantially cleans up other logic dealing with sources. See #912 R=rnystrom@google.com Committed: https://github.com/dart-lang/pub/commit/07397054bf0cfe269f3c47ae5d78c056dd41b0d7

Patch Set 1 #

Total comments: 7

Patch Set 2 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -232 lines) Patch
M lib/src/command/build.dart View 2 chunks +2 lines, -1 line 0 comments Download
M lib/src/command/cache_add.dart View 1 chunk +1 line, -1 line 0 comments Download
M lib/src/command/cache_repair.dart View 2 chunks +2 lines, -3 lines 0 comments Download
M lib/src/entrypoint.dart View 1 4 chunks +9 lines, -19 lines 0 comments Download
M lib/src/global_packages.dart View 6 chunks +16 lines, -12 lines 0 comments Download
M lib/src/lock_file.dart View 7 chunks +10 lines, -15 lines 0 comments Download
M lib/src/package.dart View 1 9 chunks +61 lines, -58 lines 0 comments Download
M lib/src/solver/backtracking_solver.dart View 4 chunks +4 lines, -15 lines 0 comments Download
M lib/src/solver/solve_report.dart View 3 chunks +4 lines, -5 lines 0 comments Download
M lib/src/solver/version_solver.dart View 3 chunks +3 lines, -4 lines 0 comments Download
M lib/src/source.dart View 1 3 chunks +10 lines, -3 lines 0 comments Download
M lib/src/source/git.dart View 6 chunks +11 lines, -5 lines 0 comments Download
M lib/src/source/hosted.dart View 3 chunks +6 lines, -4 lines 0 comments Download
M lib/src/source/path.dart View 6 chunks +8 lines, -6 lines 0 comments Download
M lib/src/source/unknown.dart View 1 chunk +4 lines, -2 lines 0 comments Download
M lib/src/source_registry.dart View 2 chunks +0 lines, -17 lines 0 comments Download
M lib/src/system_cache.dart View 2 chunks +14 lines, -17 lines 0 comments Download
M lib/src/validator/dependency.dart View 3 chunks +4 lines, -5 lines 0 comments Download
M test/lock_file_test.dart View 4 chunks +10 lines, -9 lines 0 comments Download
M test/pubspec_test.dart View 2 chunks +5 lines, -3 lines 0 comments Download
M test/test_pub.dart View 2 chunks +3 lines, -7 lines 0 comments Download
M test/version_solver_test.dart View 12 chunks +21 lines, -21 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
nweiz
4 years, 6 months ago (2016-06-20 23:14:34 UTC) #1
Bob Nystrom
https://codereview.chromium.org/2079303003/diff/1/lib/src/package.dart File lib/src/package.dart (right): https://codereview.chromium.org/2079303003/diff/1/lib/src/package.dart#newcode489 lib/src/package.dart:489: bool allowsID(PackageId id) => Can this just be "allows"? ...
4 years, 6 months ago (2016-06-23 20:29:49 UTC) #2
nweiz
Code review changes
4 years, 6 months ago (2016-06-23 21:01:16 UTC) #3
nweiz
https://codereview.chromium.org/2079303003/diff/1/lib/src/package.dart File lib/src/package.dart (right): https://codereview.chromium.org/2079303003/diff/1/lib/src/package.dart#newcode489 lib/src/package.dart:489: bool allowsID(PackageId id) => On 2016/06/23 20:29:49, Bob Nystrom ...
4 years, 6 months ago (2016-06-23 21:01:21 UTC) #4
Bob Nystrom
LGTM! https://codereview.chromium.org/2079303003/diff/1/test/version_solver_test.dart File test/version_solver_test.dart (right): https://codereview.chromium.org/2079303003/diff/1/test/version_solver_test.dart#newcode656 test/version_solver_test.dart:656: 'a-x': '1.0.0', On 2016/06/23 21:01:21, nweiz wrote: > ...
4 years, 6 months ago (2016-06-23 22:02:20 UTC) #5
nweiz
4 years, 6 months ago (2016-06-23 22:04:28 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
07397054bf0cfe269f3c47ae5d78c056dd41b0d7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698