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

Issue 12755024: add cache list command to pub (Closed)

Created:
7 years, 9 months ago by keertip
Modified:
7 years, 9 months ago
Reviewers:
Bob Nystrom, nweiz
CC:
reviews_dartlang.org
Visibility:
Public.

Description

add cache list command to pub Committed: https://code.google.com/p/dart/source/detail?r=19977

Patch Set 1 #

Total comments: 67

Patch Set 2 : #

Patch Set 3 : #

Total comments: 12

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -2 lines) Patch
A utils/pub/command_cache.dart View 1 2 3 4 1 chunk +50 lines, -0 lines 0 comments Download
M utils/pub/git_source.dart View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M utils/pub/hosted_source.dart View 1 2 3 4 5 6 3 chunks +18 lines, -1 line 0 comments Download
M utils/pub/pub.dart View 1 2 chunks +3 lines, -1 line 0 comments Download
M utils/pub/source.dart View 1 1 chunk +5 lines, -0 lines 0 comments Download
A utils/tests/pub/pub_cache_test.dart View 1 2 3 4 1 chunk +73 lines, -0 lines 0 comments Download
M utils/tests/pub/pub_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
keertip
7 years, 9 months ago (2013-03-12 03:55:12 UTC) #1
Bob Nystrom
This looks excellent, thanks for doing this! https://codereview.chromium.org/12755024/diff/1/utils/pub/command_cache.dart File utils/pub/command_cache.dart (right): https://codereview.chromium.org/12755024/diff/1/utils/pub/command_cache.dart#newcode1 utils/pub/command_cache.dart:1: // Copyright ...
7 years, 9 months ago (2013-03-12 22:12:03 UTC) #2
nweiz
https://codereview.chromium.org/12755024/diff/1/utils/pub/command_cache.dart File utils/pub/command_cache.dart (right): https://codereview.chromium.org/12755024/diff/1/utils/pub/command_cache.dart#newcode36 utils/pub/command_cache.dart:36: return cache.sources.defaultSource.getCachedPackages().then((packages){ Add a TODO here to add a ...
7 years, 9 months ago (2013-03-12 22:58:48 UTC) #3
keertip
https://codereview.chromium.org/12755024/diff/1/utils/pub/command_cache.dart File utils/pub/command_cache.dart (right): https://codereview.chromium.org/12755024/diff/1/utils/pub/command_cache.dart#newcode1 utils/pub/command_cache.dart:1: // Copyright (c) 2012, the Dart project authors. Please ...
7 years, 9 months ago (2013-03-13 15:55:00 UTC) #4
Bob Nystrom
Much better! https://codereview.chromium.org/12755024/diff/11001/utils/pub/command_cache.dart File utils/pub/command_cache.dart (right): https://codereview.chromium.org/12755024/diff/11001/utils/pub/command_cache.dart#newcode44 utils/pub/command_cache.dart:44: // TODO(keertip): Add support for non-JSON format ...
7 years, 9 months ago (2013-03-13 17:44:07 UTC) #5
keertip
https://codereview.chromium.org/12755024/diff/11001/utils/pub/command_cache.dart File utils/pub/command_cache.dart (right): https://codereview.chromium.org/12755024/diff/11001/utils/pub/command_cache.dart#newcode44 utils/pub/command_cache.dart:44: // TODO(keertip): Add support for non-JSON format and check ...
7 years, 9 months ago (2013-03-13 18:09:48 UTC) #6
Bob Nystrom
https://codereview.chromium.org/12755024/diff/22001/utils/tests/pub/pub_cache_test.dart File utils/tests/pub/pub_cache_test.dart (right): https://codereview.chromium.org/12755024/diff/22001/utils/tests/pub/pub_cache_test.dart#newcode38 utils/tests/pub/pub_cache_test.dart:38: schedulePub(args: ['cache', 'list'], exitCode: 1); I think should actually ...
7 years, 9 months ago (2013-03-13 18:23:24 UTC) #7
keertip
https://codereview.chromium.org/12755024/diff/22001/utils/tests/pub/pub_cache_test.dart File utils/tests/pub/pub_cache_test.dart (right): https://codereview.chromium.org/12755024/diff/22001/utils/tests/pub/pub_cache_test.dart#newcode38 utils/tests/pub/pub_cache_test.dart:38: schedulePub(args: ['cache', 'list'], exitCode: 1); On 2013/03/13 18:23:24, Bob ...
7 years, 9 months ago (2013-03-13 20:40:29 UTC) #8
Bob Nystrom
Almost there! https://codereview.chromium.org/12755024/diff/28001/utils/pub/hosted_source.dart File utils/pub/hosted_source.dart (right): https://codereview.chromium.org/12755024/diff/28001/utils/pub/hosted_source.dart#newcode121 utils/pub/hosted_source.dart:121: Future<List<Package>> getCachedPackages() { Since this method returns ...
7 years, 9 months ago (2013-03-13 21:10:43 UTC) #9
keertip
https://codereview.chromium.org/12755024/diff/28001/utils/pub/hosted_source.dart File utils/pub/hosted_source.dart (right): https://codereview.chromium.org/12755024/diff/28001/utils/pub/hosted_source.dart#newcode121 utils/pub/hosted_source.dart:121: Future<List<Package>> getCachedPackages() { On 2013/03/13 21:10:43, Bob Nystrom wrote: ...
7 years, 9 months ago (2013-03-13 21:36:15 UTC) #10
Bob Nystrom
One nit then LGTM! https://codereview.chromium.org/12755024/diff/36001/utils/pub/hosted_source.dart File utils/pub/hosted_source.dart (right): https://codereview.chromium.org/12755024/diff/36001/utils/pub/hosted_source.dart#newcode123 utils/pub/hosted_source.dart:123: var cacheDir = path.join(systemCacheRoot, _getSourceDirectory(_defaultUrl)); ...
7 years, 9 months ago (2013-03-13 21:44:41 UTC) #11
keertip
https://codereview.chromium.org/12755024/diff/36001/utils/pub/hosted_source.dart File utils/pub/hosted_source.dart (right): https://codereview.chromium.org/12755024/diff/36001/utils/pub/hosted_source.dart#newcode123 utils/pub/hosted_source.dart:123: var cacheDir = path.join(systemCacheRoot, _getSourceDirectory(_defaultUrl)); fixed. On 2013/03/13 21:44:41, ...
7 years, 9 months ago (2013-03-13 21:46:55 UTC) #12
keertip
7 years, 9 months ago (2013-03-13 22:29:09 UTC) #13
Message was sent while issue was closed.
Committed patchset #8 manually as r19977 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698