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

Issue 16854005: First pass at build dependency graph for barback. (Closed)

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

Description

First pass at build dependency graph for barback. BUG= R=nweiz@google.com Committed: https://code.google.com/p/dart/source/detail?r=24257

Patch Set 1 #

Total comments: 196

Patch Set 2 : Remove in-progress stuff. #

Patch Set 3 : Remove more in-progress stuff from this patch. #

Patch Set 4 : Test that transforms in the same phase run in parallel. #

Patch Set 5 : Revise. #

Total comments: 64

Patch Set 6 : Revise. #

Total comments: 8

Patch Set 7 : Handle unprovided sources and errors a bit better. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2167 lines, -10 lines) Patch
A + pkg/barback/lib/barback.dart View 1 2 3 4 5 1 chunk +9 lines, -9 lines 0 comments Download
A pkg/barback/lib/src/asset.dart View 1 2 3 4 5 1 chunk +95 lines, -0 lines 0 comments Download
A pkg/barback/lib/src/asset_graph.dart View 1 2 3 4 5 6 1 chunk +225 lines, -0 lines 0 comments Download
A pkg/barback/lib/src/asset_id.dart View 1 2 3 4 5 1 chunk +91 lines, -0 lines 0 comments Download
A pkg/barback/lib/src/asset_node.dart View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
A pkg/barback/lib/src/asset_provider.dart View 1 2 3 4 5 1 chunk +32 lines, -0 lines 0 comments Download
A pkg/barback/lib/src/change_batch.dart View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
A pkg/barback/lib/src/errors.dart View 1 2 3 4 5 1 chunk +38 lines, -0 lines 0 comments Download
A pkg/barback/lib/src/phase.dart View 1 2 3 4 5 1 chunk +184 lines, -0 lines 0 comments Download
A pkg/barback/lib/src/transform.dart View 1 2 3 4 5 1 chunk +79 lines, -0 lines 0 comments Download
A pkg/barback/lib/src/transform_node.dart View 1 2 3 4 5 1 chunk +107 lines, -0 lines 0 comments Download
A pkg/barback/lib/src/transformer.dart View 1 2 3 4 5 1 chunk +48 lines, -0 lines 0 comments Download
A pkg/barback/pubspec.yaml View 1 2 3 4 5 1 chunk +17 lines, -0 lines 0 comments Download
A pkg/barback/test/asset_graph/errors_test.dart View 1 2 3 4 5 6 1 chunk +220 lines, -0 lines 0 comments Download
A pkg/barback/test/asset_graph/source_test.dart View 1 2 3 4 5 6 1 chunk +170 lines, -0 lines 0 comments Download
A pkg/barback/test/asset_graph/transform_test.dart View 1 2 3 4 5 1 chunk +406 lines, -0 lines 0 comments Download
A pkg/barback/test/asset_id_test.dart View 1 2 3 4 5 1 chunk +35 lines, -0 lines 0 comments Download
A pkg/barback/test/utils.dart View 1 2 3 4 5 1 chunk +342 lines, -0 lines 0 comments Download
M pkg/pathos/lib/path.dart View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Bob Nystrom
Here's my first stab at the asset graph core. Give me your feedbacks.
7 years, 6 months ago (2013-06-12 22:50:06 UTC) #1
nweiz
https://codereview.chromium.org/16854005/diff/1/pkg/barback/lib/barback.dart File pkg/barback/lib/barback.dart (right): https://codereview.chromium.org/16854005/diff/1/pkg/barback/lib/barback.dart#newcode10 pkg/barback/lib/barback.dart:10: // TODO(rnystrom): Is this the prefix we want to ...
7 years, 6 months ago (2013-06-14 00:57:57 UTC) #2
Bob Nystrom
Should be better now. Thanks, as always, for the thorough review. The code and tests ...
7 years, 6 months ago (2013-06-17 23:35:05 UTC) #3
nweiz
https://codereview.chromium.org/16854005/diff/1/pkg/barback/lib/barback.dart File pkg/barback/lib/barback.dart (right): https://codereview.chromium.org/16854005/diff/1/pkg/barback/lib/barback.dart#newcode15 pkg/barback/lib/barback.dart:15: /// Parses an [AssetId] string of the form "package|path/to/asset.txt". ...
7 years, 6 months ago (2013-06-18 23:14:45 UTC) #4
Bob Nystrom
Thanks! https://codereview.chromium.org/16854005/diff/1/pkg/barback/lib/barback.dart File pkg/barback/lib/barback.dart (right): https://codereview.chromium.org/16854005/diff/1/pkg/barback/lib/barback.dart#newcode15 pkg/barback/lib/barback.dart:15: /// Parses an [AssetId] string of the form ...
7 years, 6 months ago (2013-06-20 00:23:59 UTC) #5
nweiz
I still want to be sure we avoid top-levelling errors, but other than that LGTM. ...
7 years, 6 months ago (2013-06-20 23:06:08 UTC) #6
Bob Nystrom
Thanks! https://codereview.chromium.org/16854005/diff/1/pkg/barback/lib/src/asset_graph.dart File pkg/barback/lib/src/asset_graph.dart (right): https://codereview.chromium.org/16854005/diff/1/pkg/barback/lib/src/asset_graph.dart#newcode36 pkg/barback/lib/src/asset_graph.dart:36: // Add phases for each transformer stage. On ...
7 years, 6 months ago (2013-06-21 00:13:20 UTC) #7
Bob Nystrom
7 years, 6 months ago (2013-06-21 00:22:00 UTC) #8
Message was sent while issue was closed.
Committed patchset #7 manually as r24257 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698