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

Issue 136063005: Add a "cache add" command to download packages to the cache. (Closed)

Created:
6 years, 10 months ago by Bob Nystrom
Modified:
6 years, 10 months ago
Reviewers:
nweiz
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add a "cache add" command to download packages to the cache. BUG=https://code.google.com/p/dart/issues/detail?id=16265 R=nweiz@google.com Committed: https://code.google.com/p/dart/source/detail?r=32575

Patch Set 1 #

Patch Set 2 : Tweaks. #

Total comments: 34

Patch Set 3 : Revise. #

Patch Set 4 : Revise. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+438 lines, -103 lines) Patch
M sdk/lib/_internal/pub/lib/src/command.dart View 1 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/command/cache.dart View 1 2 chunks +2 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/lib/src/command/cache_add.dart View 1 2 3 1 chunk +98 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/solver/version_solver.dart View 1 2 3 1 chunk +4 lines, -10 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/source.dart View 1 1 chunk +15 lines, -3 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/system_cache.dart View 1 chunk +11 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/version.dart View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/cache/add/adds_latest_matching_version_test.dart View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/cache/add/adds_latest_version_test.dart View 1 chunk +24 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/cache/add/all_adds_all_matching_versions_test.dart View 1 chunk +32 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/cache/add/all_with_some_versions_present_test.dart View 1 chunk +40 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/cache/add/already_cached_test.dart View 1 chunk +27 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/cache/add/bad_version_test.dart View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/cache/add/missing_package_arg_test.dart View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/cache/add/no_matching_version_test.dart View 1 chunk +21 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/cache/add/package_not_found_test.dart View 1 chunk +18 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/cache/add/unexpected_arguments_test.dart View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
A + sdk/lib/_internal/pub/test/cache/list_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/descriptor.dart View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
D sdk/lib/_internal/pub/test/pub_cache_test.dart View 1 chunk +0 lines, -79 lines 0 comments Download
M sdk/lib/_internal/pub/test/pub_test.dart View 1 2 8 chunks +12 lines, -9 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Bob Nystrom
6 years, 10 months ago (2014-02-06 22:01:42 UTC) #1
nweiz
https://codereview.chromium.org/136063005/diff/20001/sdk/lib/_internal/pub/lib/src/command/cache_add.dart File sdk/lib/_internal/pub/lib/src/command/cache_add.dart (right): https://codereview.chromium.org/136063005/diff/20001/sdk/lib/_internal/pub/lib/src/command/cache_add.dart#newcode1 sdk/lib/_internal/pub/lib/src/command/cache_add.dart:1: // Copyright (c) 2012, the Dart project authors. Please ...
6 years, 10 months ago (2014-02-07 01:20:41 UTC) #2
Bob Nystrom
Thanks! https://codereview.chromium.org/136063005/diff/20001/sdk/lib/_internal/pub/lib/src/command/cache_add.dart File sdk/lib/_internal/pub/lib/src/command/cache_add.dart (right): https://codereview.chromium.org/136063005/diff/20001/sdk/lib/_internal/pub/lib/src/command/cache_add.dart#newcode1 sdk/lib/_internal/pub/lib/src/command/cache_add.dart:1: // Copyright (c) 2012, the Dart project authors. ...
6 years, 10 months ago (2014-02-07 17:22:44 UTC) #3
Bob Nystrom
Friendly ping! - bob
6 years, 10 months ago (2014-02-10 16:49:59 UTC) #4
nweiz
A couple more comments, otherwise lgtm. https://codereview.chromium.org/136063005/diff/20001/sdk/lib/_internal/pub/lib/src/command/cache_add.dart File sdk/lib/_internal/pub/lib/src/command/cache_add.dart (right): https://codereview.chromium.org/136063005/diff/20001/sdk/lib/_internal/pub/lib/src/command/cache_add.dart#newcode19 sdk/lib/_internal/pub/lib/src/command/cache_add.dart:19: String get description ...
6 years, 10 months ago (2014-02-10 22:39:30 UTC) #5
Bob Nystrom
Thanks! https://codereview.chromium.org/136063005/diff/20001/sdk/lib/_internal/pub/lib/src/command/cache_add.dart File sdk/lib/_internal/pub/lib/src/command/cache_add.dart (right): https://codereview.chromium.org/136063005/diff/20001/sdk/lib/_internal/pub/lib/src/command/cache_add.dart#newcode60 sdk/lib/_internal/pub/lib/src/command/cache_add.dart:60: } On 2014/02/10 22:39:30, nweiz wrote: > On ...
6 years, 10 months ago (2014-02-11 19:42:09 UTC) #6
Bob Nystrom
6 years, 10 months ago (2014-02-11 19:42:41 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 manually as r32575 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698