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

Issue 1534093002: Improve the detection lockfile freshness. (Closed)

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

Improve the detection lockfile freshness. This considers the lockfile stale if the intersection of all selected packages' SDK constraints don't match the current SDK, or if it contains a path dependency whose own dependencies don't match the lockfile. Closes #1091 Closes #1101 R=rnystrom@google.com Committed: https://github.com/dart-lang/pub/commit/38b9c3ee42778ffcc74ca4f6bddb6e1a46a3f803

Patch Set 1 #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -61 lines) Patch
M lib/src/entrypoint.dart View 7 chunks +54 lines, -27 lines 6 comments Download
M lib/src/global_packages.dart View 2 chunks +3 lines, -4 lines 0 comments Download
M lib/src/lock_file.dart View 7 chunks +54 lines, -17 lines 4 comments Download
M lib/src/package_graph.dart View 1 chunk +1 line, -4 lines 0 comments Download
M lib/src/solver/version_solver.dart View 1 chunk +8 lines, -0 lines 0 comments Download
M lib/src/source_registry.dart View 1 chunk +11 lines, -0 lines 0 comments Download
M test/must_pub_get_test.dart View 1 chunk +40 lines, -0 lines 0 comments Download
M test/test_pub.dart View 2 chunks +12 lines, -9 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
nweiz
5 years ago (2015-12-17 23:57:40 UTC) #1
Bob Nystrom
https://codereview.chromium.org/1534093002/diff/1/lib/src/entrypoint.dart File lib/src/entrypoint.dart (right): https://codereview.chromium.org/1534093002/diff/1/lib/src/entrypoint.dart#newcode428 lib/src/entrypoint.dart:428: var hasPathDependencies = lockFileText.contains("\n source: path\n"); This feels really ...
5 years ago (2015-12-21 20:55:03 UTC) #2
nweiz
https://codereview.chromium.org/1534093002/diff/1/lib/src/entrypoint.dart File lib/src/entrypoint.dart (right): https://codereview.chromium.org/1534093002/diff/1/lib/src/entrypoint.dart#newcode428 lib/src/entrypoint.dart:428: var hasPathDependencies = lockFileText.contains("\n source: path\n"); On 2015/12/21 20:55:03, ...
4 years, 11 months ago (2016-01-04 23:27:29 UTC) #3
nweiz
Committed patchset #1 (id:1) manually as 38b9c3ee42778ffcc74ca4f6bddb6e1a46a3f803 (presubmit successful).
4 years, 11 months ago (2016-01-04 23:27:57 UTC) #5
Bob Nystrom
4 years, 11 months ago (2016-01-04 23:47:18 UTC) #6
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698