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

Issue 11931040: adds file path source to pub (Closed)

Created:
7 years, 11 months ago by Sam E
Modified:
7 years, 4 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org, nweiz
Visibility:
Public.

Description

adds file path source to pub BUG=3732

Patch Set 1 #

Total comments: 12

Patch Set 2 : fixes all miner issues and adds path install tests #

Patch Set 3 : rebase to newest as of 5 min ago #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -53 lines) Patch
M utils/pub/io.dart View 1 1 chunk +3 lines, -1 line 0 comments Download
A utils/pub/path_source.dart View 1 1 chunk +33 lines, -0 lines 0 comments Download
M utils/pub/system_cache.dart View 1 2 3 chunks +3 lines, -1 line 0 comments Download
M utils/pub/validator/dependency.dart View 1 3 chunks +7 lines, -1 line 0 comments Download
A + utils/tests/pub/install/path/absolute_path_test.dart View 1 2 chunks +12 lines, -12 lines 0 comments Download
A + utils/tests/pub/install/path/path_does_not_exist_test.dart View 1 2 chunks +14 lines, -12 lines 0 comments Download
A + utils/tests/pub/install/path/path_is_file_test.dart View 1 2 chunks +14 lines, -12 lines 0 comments Download
A + utils/tests/pub/install/path/relative_path_test.dart View 1 2 chunks +12 lines, -12 lines 0 comments Download
M utils/tests/pub/test_pub.dart View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M utils/tests/pub/validator_test.dart View 1 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Bob Nystrom
Despite the pile of review comments, this actually looks really nice. The main missing piece ...
7 years, 11 months ago (2013-01-17 19:15:10 UTC) #1
Sam E
Bob, I have added the tests as you recommended. I did run into the following ...
7 years, 11 months ago (2013-01-20 04:16:57 UTC) #2
Bob Nystrom
This looks great! There's a few loose ends left, but I think I can take ...
7 years, 11 months ago (2013-01-23 00:49:19 UTC) #3
Sam E
I did another git cl upload. Same thing. I see where the confusion for the ...
7 years, 11 months ago (2013-01-23 12:02:01 UTC) #4
Bob Nystrom
7 years, 11 months ago (2013-01-24 18:16:35 UTC) #5
On 2013/01/23 12:02:01, Sam E wrote:
> I did another git cl upload. Same thing.
> I see where the confusion for the "integration()" stuff is coming from.
> 
> For some reason git cl thinks I moved files from another directory, here is
the
> output from git cl upload:
> 
>  utils/pub/io.dart                                                            
 
>                                 |  4 +++-
>  utils/pub/path_source.dart                                                   
 
>                                 | 33 +++++++++++++++++++++++++++++++++
>  utils/pub/system_cache.dart                                                  
 
>                                 |  4 +++-
>  utils/pub/validator/dependency.dart                                          
 
>                                 |  8 +++++++-
>  utils/tests/pub/install/{git/different_repo_name_test.dart =>
> path/absolute_path_test.dart}                     | 24
++++++++++++------------
>  utils/tests/pub/install/{hosted/fail_gracefully_on_url_resolve_test.dart =>
> path/path_does_not_exist_test.dart} | 26 ++++++++++++++------------
>  utils/tests/pub/install/{hosted/fail_gracefully_on_url_resolve_test.dart =>
> path/path_is_file_test.dart}        | 26 ++++++++++++++------------
>  utils/tests/pub/install/{git/different_repo_name_test.dart =>
> path/relative_path_test.dart}                     | 24
++++++++++++------------
>  utils/tests/pub/test_pub.dart                                                
 
>                                 |  6 +++++-
>  utils/tests/pub/validator_test.dart                                          
 
>                                 | 11 ++++++++++-
>  10 files changed, 113 insertions(+), 53 deletions(-)
> 
> any reason why this is happening?
> Thanks

I think Reitveld (the code review site) tries to detect renames and show them
differently. The new test files are similar to some existing tests, so it's
getting confused. I can probably sort the patch out on my end.

I'm mired in some other stuff right now, but I'll try to take a look at this
soon. Cheers!

Powered by Google App Engine
This is Rietveld 408576698