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

Issue 342553002: Respect git's ignore rules pervasively in pub. (Closed)

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

Description

Respect git's ignore rules pervasively in pub. In particular, this makes barback and the "pub lish" validators use gitignore rules. R=rnystrom@google.com BUG=12102, 11198 Committed: https://code.google.com/p/dart/source/detail?r=37469

Patch Set 1 #

Total comments: 17

Patch Set 2 : code review, performance improvements #

Unified diffs Side-by-side diffs Delta from patch set Stats (+312 lines, -377 lines) Patch
M sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart View 1 5 chunks +36 lines, -39 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/command/lish.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/entrypoint.dart View 2 chunks +0 lines, -47 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/io.dart View 1 2 chunks +42 lines, -16 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/package.dart View 1 2 chunks +55 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/utils.dart View 1 1 chunk +28 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/validator/compiled_dartdoc.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/validator/name.dart View 1 1 chunk +1 line, -1 line 0 comments Download
A + sdk/lib/_internal/pub/test/build/preserves_htaccess_test.dart View 1 1 chunk +11 lines, -7 lines 0 comments Download
D sdk/lib/_internal/pub/test/package_files_test.dart View 1 chunk +0 lines, -222 lines 0 comments Download
A + sdk/lib/_internal/pub/test/package_list_files_test.dart View 1 10 chunks +10 lines, -10 lines 0 comments Download
A sdk/lib/_internal/pub/test/serve/does_not_serve_gitignored_assets_in_a_path_dependency_test.dart View 1 chunk +38 lines, -0 lines 0 comments Download
A + sdk/lib/_internal/pub/test/serve/does_not_serve_gitignored_assets_test.dart View 1 chunk +10 lines, -7 lines 0 comments Download
A + sdk/lib/_internal/pub/test/serve/does_not_serve_hidden_assets_test.dart View 1 chunk +5 lines, -5 lines 0 comments Download
A + sdk/lib/_internal/pub/test/serve/serves_hidden_assets_that_arent_gitignored_test.dart View 1 chunk +8 lines, -6 lines 0 comments Download
M sdk/lib/_internal/pub/test/validator/compiled_dartdoc_test.dart View 1 chunk +66 lines, -15 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
nweiz
6 years, 6 months ago (2014-06-17 21:18:39 UTC) #1
Bob Nystrom
https://codereview.chromium.org/342553002/diff/1/sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart File sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart (right): https://codereview.chromium.org/342553002/diff/1/sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart#newcode507 sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart:507: /// but slower [listDir]. You can remove this paragraph ...
6 years, 6 months ago (2014-06-17 21:48:57 UTC) #2
nweiz
https://codereview.chromium.org/342553002/diff/1/sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart File sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart (right): https://codereview.chromium.org/342553002/diff/1/sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart#newcode507 sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart:507: /// but slower [listDir]. On 2014/06/17 21:48:56, Bob Nystrom ...
6 years, 6 months ago (2014-06-18 19:18:15 UTC) #3
Bob Nystrom
I'm a little iffy about the git stuff in package, but LGTM either way. https://codereview.chromium.org/342553002/diff/1/sdk/lib/_internal/pub/lib/src/package.dart ...
6 years, 6 months ago (2014-06-18 20:40:27 UTC) #4
nweiz
https://codereview.chromium.org/342553002/diff/1/sdk/lib/_internal/pub/lib/src/package.dart File sdk/lib/_internal/pub/lib/src/package.dart (right): https://codereview.chromium.org/342553002/diff/1/sdk/lib/_internal/pub/lib/src/package.dart#newcode134 sdk/lib/_internal/pub/lib/src/package.dart:134: relativeBeneath], On 2014/06/18 20:40:27, Bob Nystrom wrote: > On ...
6 years, 6 months ago (2014-06-18 22:45:19 UTC) #5
nweiz
6 years, 6 months ago (2014-06-18 22:48:15 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as r37469 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698