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

Issue 187263003: Move Barback to a more thoroughly push-based model. (Closed)

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

Description

Move Barback to a more thoroughly push-based model. This had a couple smaller ramifications: * Instead of onDirty streams, most nodes now emit onDone streams that indicate when they have no more processing to do. * AssetCascade was made more similar to other nodes; the BuildResult aggregation is now done entirely in PackageGraph. R=rnystrom@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=33391

Patch Set 1 #

Total comments: 19

Patch Set 2 : code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+424 lines, -509 lines) Patch
M pkg/barback/lib/src/asset_cascade.dart View 1 5 chunks +75 lines, -116 lines 0 comments Download
M pkg/barback/lib/src/asset_node.dart View 1 chunk +6 lines, -28 lines 0 comments Download
M pkg/barback/lib/src/group_runner.dart View 2 chunks +29 lines, -48 lines 0 comments Download
M pkg/barback/lib/src/package_graph.dart View 1 10 chunks +63 lines, -31 lines 0 comments Download
M pkg/barback/lib/src/phase.dart View 1 10 chunks +57 lines, -87 lines 0 comments Download
M pkg/barback/lib/src/phase_forwarder.dart View 3 chunks +4 lines, -5 lines 0 comments Download
M pkg/barback/lib/src/phase_input.dart View 8 chunks +103 lines, -149 lines 0 comments Download
M pkg/barback/lib/src/phase_output.dart View 3 chunks +2 lines, -6 lines 0 comments Download
M pkg/barback/lib/src/transform_node.dart View 1 13 chunks +72 lines, -36 lines 0 comments Download
M pkg/barback/test/package_graph/errors_test.dart View 1 chunk +4 lines, -1 line 0 comments Download
M pkg/barback/test/utils.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart View 1 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
nweiz
6 years, 9 months ago (2014-03-05 04:14:58 UTC) #1
Bob Nystrom
Looks nicer! https://codereview.chromium.org/187263003/diff/1/pkg/barback/lib/src/asset_cascade.dart File pkg/barback/lib/src/asset_cascade.dart (right): https://codereview.chromium.org/187263003/diff/1/pkg/barback/lib/src/asset_cascade.dart#newcode75 pkg/barback/lib/src/asset_cascade.dart:75: final _onDoneController = new StreamController<bool>.broadcast(sync: true); Ditch ...
6 years, 9 months ago (2014-03-05 22:13:25 UTC) #2
nweiz
https://codereview.chromium.org/187263003/diff/1/pkg/barback/lib/src/asset_cascade.dart File pkg/barback/lib/src/asset_cascade.dart (right): https://codereview.chromium.org/187263003/diff/1/pkg/barback/lib/src/asset_cascade.dart#newcode75 pkg/barback/lib/src/asset_cascade.dart:75: final _onDoneController = new StreamController<bool>.broadcast(sync: true); On 2014/03/05 22:13:25, ...
6 years, 9 months ago (2014-03-06 00:29:08 UTC) #3
Bob Nystrom
LGTM! https://codereview.chromium.org/187263003/diff/1/pkg/barback/lib/src/phase_input.dart File pkg/barback/lib/src/phase_input.dart (right): https://codereview.chromium.org/187263003/diff/1/pkg/barback/lib/src/phase_input.dart#newcode86 pkg/barback/lib/src/phase_input.dart:86: bool _isAdjustingTransformers = false; On 2014/03/06 00:29:08, nweiz ...
6 years, 9 months ago (2014-03-06 17:21:01 UTC) #4
nweiz
6 years, 9 months ago (2014-03-06 19:32:17 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r33391 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698