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

Issue 223553008: Only pass an AssetId to isPrimary and declareOutputs. (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : pubspecs and changelogs #

Total comments: 2

Patch Set 3 : fixes #

Total comments: 14

Patch Set 4 : code review #

Total comments: 5

Patch Set 5 : older barback compatibility #

Total comments: 2

Patch Set 6 : fix script_compactor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+289 lines, -235 lines) Patch
M pkg/barback/CHANGELOG.md View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M pkg/barback/lib/src/base_transform.dart View 3 chunks +0 lines, -69 lines 0 comments Download
M pkg/barback/lib/src/declaring_transform.dart View 1 chunk +4 lines, -1 line 0 comments Download
M pkg/barback/lib/src/declaring_transformer.dart View 1 chunk +6 lines, -5 lines 0 comments Download
M pkg/barback/lib/src/transform.dart View 2 chunks +73 lines, -1 line 0 comments Download
M pkg/barback/lib/src/transform_node.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/barback/lib/src/transformer.dart View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M pkg/barback/pubspec.yaml View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/barback/test/transformer/bad.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M pkg/barback/test/transformer/bad_log.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M pkg/barback/test/transformer/catch_asset_not_found.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/barback/test/transformer/check_content.dart View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M pkg/barback/test/transformer/check_content_and_rename.dart View 1 chunk +8 lines, -6 lines 0 comments Download
M pkg/barback/test/transformer/create_asset.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/barback/test/transformer/emit_nothing.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/barback/test/transformer/has_input.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/barback/test/transformer/lazy_bad.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/barback/test/transformer/lazy_many_to_one.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/barback/test/transformer/lazy_rewrite.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/barback/test/transformer/log.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/barback/test/transformer/many_to_one.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/barback/test/transformer/mock.dart View 2 chunks +5 lines, -5 lines 0 comments Download
M pkg/barback/test/transformer/one_to_many.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/barback/test/transformer/rewrite.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/barback/test/transformer_test.dart View 2 chunks +11 lines, -12 lines 0 comments Download
M pkg/code_transformers/pubspec.yaml View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/code_transformers/test/assets_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/code_transformers/test/entry_point_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/code_transformers/test/resolver_test.dart View 1 2 3 4 1 chunk +6 lines, -2 lines 0 comments Download
M pkg/observe/lib/transformer.dart View 1 2 3 4 1 chunk +13 lines, -12 lines 0 comments Download
M pkg/observe/pubspec.yaml View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/polymer/lib/src/build/build_filter.dart View 1 2 3 4 1 chunk +9 lines, -4 lines 0 comments Download
M pkg/polymer/lib/src/build/import_inliner.dart View 1 2 3 4 1 chunk +6 lines, -2 lines 0 comments Download
M pkg/polymer/lib/src/build/mirrors_remover.dart View 1 2 3 4 1 chunk +7 lines, -3 lines 0 comments Download
M pkg/polymer/lib/src/build/polyfill_injector.dart View 1 2 3 4 1 chunk +6 lines, -2 lines 0 comments Download
M pkg/polymer/lib/src/build/script_compactor.dart View 1 2 3 4 5 1 chunk +6 lines, -2 lines 0 comments Download
M pkg/polymer/pubspec.yaml View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/smoke/lib/src/default_transformer.dart View 1 2 3 4 1 chunk +7 lines, -3 lines 0 comments Download
M pkg/smoke/pubspec.yaml View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M samples/third_party/dromaeo/lib/transformer.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M samples/third_party/dromaeo/pubspec.yaml View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/asset/dart/serialize/transformer.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart View 1 2 3 2 chunks +67 lines, -58 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/excluding_transformer.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
nweiz
I wanted to send this out for review quickly so that I could start working ...
6 years, 8 months ago (2014-04-03 21:03:48 UTC) #1
blois
https://codereview.chromium.org/223553008/diff/20001/pkg/barback/lib/src/transformer.dart File pkg/barback/lib/src/transformer.dart (right): https://codereview.chromium.org/223553008/diff/20001/pkg/barback/lib/src/transformer.dart#newcode62 pkg/barback/lib/src/transformer.dart:62: Future<bool> isPrimary(AssetId id) { Make it not return a ...
6 years, 8 months ago (2014-04-03 21:16:36 UTC) #2
nweiz
https://codereview.chromium.org/223553008/diff/20001/pkg/barback/lib/src/transformer.dart File pkg/barback/lib/src/transformer.dart (right): https://codereview.chromium.org/223553008/diff/20001/pkg/barback/lib/src/transformer.dart#newcode62 pkg/barback/lib/src/transformer.dart:62: Future<bool> isPrimary(AssetId id) { On 2014/04/03 21:16:36, blois wrote: ...
6 years, 8 months ago (2014-04-03 21:34:17 UTC) #3
Bob Nystrom
https://codereview.chromium.org/223553008/diff/40001/pkg/barback/lib/src/transformer.dart File pkg/barback/lib/src/transformer.dart (right): https://codereview.chromium.org/223553008/diff/40001/pkg/barback/lib/src/transformer.dart#newcode46 pkg/barback/lib/src/transformer.dart:46: /// Returns `true` if [inputId] can be a primary ...
6 years, 8 months ago (2014-04-03 22:28:28 UTC) #4
nweiz
https://codereview.chromium.org/223553008/diff/40001/pkg/barback/lib/src/transformer.dart File pkg/barback/lib/src/transformer.dart (right): https://codereview.chromium.org/223553008/diff/40001/pkg/barback/lib/src/transformer.dart#newcode46 pkg/barback/lib/src/transformer.dart:46: /// Returns `true` if [inputId] can be a primary ...
6 years, 8 months ago (2014-04-03 23:03:50 UTC) #5
Bob Nystrom
lgtm
6 years, 8 months ago (2014-04-03 23:06:12 UTC) #6
blois
On 2014/04/03 23:06:12, Bob Nystrom wrote: > lgtm code_transformers changes lgtm
6 years, 8 months ago (2014-04-04 00:31:38 UTC) #7
Emily Fortuna
dromaeo changes lgtm
6 years, 8 months ago (2014-04-04 15:40:26 UTC) #8
Siggi Cherem (dart-lang)
https://codereview.chromium.org/223553008/diff/60001/pkg/barback/pubspec.yaml File pkg/barback/pubspec.yaml (right): https://codereview.chromium.org/223553008/diff/60001/pkg/barback/pubspec.yaml#newcode34 pkg/barback/pubspec.yaml:34: sdk: ">=1.0.1 <2.0.0" should this include a 1.4 dependency? ...
6 years, 8 months ago (2014-04-04 16:02:31 UTC) #9
nweiz
https://codereview.chromium.org/223553008/diff/60001/pkg/barback/pubspec.yaml File pkg/barback/pubspec.yaml (right): https://codereview.chromium.org/223553008/diff/60001/pkg/barback/pubspec.yaml#newcode34 pkg/barback/pubspec.yaml:34: sdk: ">=1.0.1 <2.0.0" On 2014/04/04 16:02:31, Siggi Cherem (dart-lang) ...
6 years, 8 months ago (2014-04-04 17:59:35 UTC) #10
nweiz
I've added compatibility with older versions of barback to other packages. Siggi, Pete, PTAL
6 years, 8 months ago (2014-04-08 22:42:24 UTC) #11
Siggi Cherem (dart-lang)
https://codereview.chromium.org/223553008/diff/60001/pkg/observe/lib/transformer.dart File pkg/observe/lib/transformer.dart (right): https://codereview.chromium.org/223553008/diff/60001/pkg/observe/lib/transformer.dart#newcode57 pkg/observe/lib/transformer.dart:57: return; On 2014/04/04 17:59:36, nweiz wrote: > On 2014/04/04 ...
6 years, 8 months ago (2014-04-08 22:56:19 UTC) #12
nweiz
https://codereview.chromium.org/223553008/diff/80001/pkg/polymer/lib/src/build/script_compactor.dart File pkg/polymer/lib/src/build/script_compactor.dart (right): https://codereview.chromium.org/223553008/diff/80001/pkg/polymer/lib/src/build/script_compactor.dart#newcode52 pkg/polymer/lib/src/build/script_compactor.dart:52: Future<bool> isPrimary(AssetId id) => On 2014/04/08 22:56:20, Siggi Cherem ...
6 years, 8 months ago (2014-04-08 22:58:07 UTC) #13
Siggi Cherem (dart-lang)
lgtm, thanks!
6 years, 8 months ago (2014-04-08 22:58:45 UTC) #14
nweiz
6 years, 8 months ago (2014-04-08 23:46:43 UTC) #15
Message was sent while issue was closed.
Committed patchset #6 manually as r34853 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698