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

Issue 1281043004: Make LockFile immutable. (Closed)

Created:
5 years, 4 months ago by nweiz
Modified:
5 years, 4 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

Make LockFile immutable. This also has it store its SourceRegistry, so that various methods don't need to re-supply it. R=rnystrom@google.com Committed: https://github.com/dart-lang/pub/commit/9d02227d02cd9a362233460ed45763436819210e

Patch Set 1 #

Total comments: 6

Patch Set 2 : Code review changes #

Total comments: 2

Patch Set 3 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -79 lines) Patch
M lib/src/entrypoint.dart View 1 3 chunks +7 lines, -4 lines 0 comments Download
M lib/src/global_packages.dart View 1 4 chunks +7 lines, -6 lines 0 comments Download
M lib/src/lock_file.dart View 1 2 5 chunks +57 lines, -14 lines 0 comments Download
M lib/src/solver/version_solver.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M test/lock_file_test.dart View 1 chunk +21 lines, -26 lines 0 comments Download
M test/test_pub.dart View 1 4 chunks +20 lines, -21 lines 0 comments Download
M test/version_solver_test.dart View 1 1 chunk +8 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
nweiz
5 years, 4 months ago (2015-08-07 21:43:01 UTC) #1
Bob Nystrom
https://codereview.chromium.org/1281043004/diff/1/lib/src/global_packages.dart File lib/src/global_packages.dart (right): https://codereview.chromium.org/1281043004/diff/1/lib/src/global_packages.dart#newcode308 lib/src/global_packages.dart:308: // doesn't expect to be in itw own lockfile. ...
5 years, 4 months ago (2015-08-07 21:50:56 UTC) #2
nweiz
Code review changes
5 years, 4 months ago (2015-08-07 22:16:01 UTC) #3
nweiz
https://codereview.chromium.org/1281043004/diff/1/lib/src/global_packages.dart File lib/src/global_packages.dart (right): https://codereview.chromium.org/1281043004/diff/1/lib/src/global_packages.dart#newcode308 lib/src/global_packages.dart:308: // doesn't expect to be in itw own lockfile. ...
5 years, 4 months ago (2015-08-07 22:16:07 UTC) #4
Bob Nystrom
lgtm https://codereview.chromium.org/1281043004/diff/20001/lib/src/lock_file.dart File lib/src/lock_file.dart (right): https://codereview.chromium.org/1281043004/diff/20001/lib/src/lock_file.dart#newcode29 lib/src/lock_file.dart:29: /// Throws an [ArgumentError] if any package has ...
5 years, 4 months ago (2015-08-07 22:19:19 UTC) #5
nweiz
Code review changes
5 years, 4 months ago (2015-08-07 22:24:13 UTC) #6
nweiz
https://codereview.chromium.org/1281043004/diff/20001/lib/src/lock_file.dart File lib/src/lock_file.dart (right): https://codereview.chromium.org/1281043004/diff/20001/lib/src/lock_file.dart#newcode29 lib/src/lock_file.dart:29: /// Throws an [ArgumentError] if any package has an ...
5 years, 4 months ago (2015-08-07 22:24:18 UTC) #7
nweiz
5 years, 4 months ago (2015-08-07 22:24:25 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
9d02227d02cd9a362233460ed45763436819210e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698