- Jan 13, 2016
-
-
Natalie Weizenbaum authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//1585513002 .
-
- Jan 06, 2016
-
-
Natalie Weizenbaum authored
Pub wasn't canonicalizing a path in the same way as the tests, which caused a difference on the Windows bots. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1560393002 .
-
Natalie Weizenbaum authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//1564653002 .
-
Natalie Weizenbaum authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//1561743002 .
-
- Jan 05, 2016
-
-
Natalie Weizenbaum authored
This got broken when the "sdk" field was added. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1557253002 .
-
Natalie Weizenbaum authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//1556243002 .
-
Natalie Weizenbaum authored
Closes #1369 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1556043006 .
-
- Jan 04, 2016
-
-
Natalie Weizenbaum authored
This considers the lockfile stale if the intersection of all selected packages' SDK constraints don't match the current SDK, or if it contains a path dependency whose own dependencies don't match the lockfile. Closes #1091 Closes #1101 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1534093002 .
-
Natalie Weizenbaum authored
Closes #1368 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1555133002 .
-
- Dec 17, 2015
-
-
Natalie Weizenbaum authored
Previously, many tests were generating a lockfile from whole cloth that pointed to barback and its dependencies. This made it hard to improve the heuristics for detecting when the lockfile was out-of-date (#1091 and #1101), since the generated lockfiles failed those heuristics. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1523323004 .
-
Natalie Weizenbaum authored
This also allows us to limit our tests to the latest barback, which simplifies the necessary infrastructure and speeds up the tests dramatically. Closes #1367 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1530353002 .
-
Natalie Weizenbaum authored
This folds the distinction between "resolved" and "unresolved" descriptions into the distinction between PackageIds and PackageRefs. In other words, all PackageIds now have resolved descriptions and all PackageRefs now have unresolved descriptions. This makes it easier to track which descriptions are resolved and express resolution constraints via the type system. This also restricts the creation of PackageRefs and PackageIds to source classes, which helps ensure that the description format—which is an implementation detail—doesn't leak into surrounding code. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1528523003 .
-
- Dec 14, 2015
-
-
Natalie Weizenbaum authored
R=kevmoo@google.com Review URL: https://codereview.chromium.org//1524953002 .
-
- Dec 09, 2015
-
-
Natalie Weizenbaum authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//1511653003 .
-
- Dec 03, 2015
-
-
Natalie Weizenbaum authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//1491263003 .
-
- Dec 02, 2015
-
-
Natalie Weizenbaum authored
Previously these names were only disallowed when publishing, but now the package config format requires that we be more stringent about them. Closes #1361 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1493463002 .
-
- Nov 24, 2015
-
-
Natalie Weizenbaum authored
This allows getVersion() to return a list of package IDs rather than a list of pubspecs, which in turn will allow the Git source to return resolved IDs in #1335. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1459733002 .
-
- Oct 28, 2015
-
-
Natalie Weizenbaum authored
Previously, "pub global run" would happily try to run an executable with an SDK constraint that doesn't match the current SDK, even though it probably wouldn't work (and could fail in confusing ways). Now it errors out with a user-friendly message instead. Closes #1353 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1427523005 .
-
Natalie Weizenbaum authored
Closes #1351 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1406063005 .
-
Natalie Weizenbaum authored
When we tried to run a global script that didn't exist, we would try to load an AssetEnvironment, which would try to compute the transformers for it. Because the script doesn't exist, the computation would conservatively assume that all transformers had to run in case one of them generated it. To find all the scripts, it iterated through the package's dependencies. Since it's notionally the entrypoint, it tried to include its dev dependencies, but this broke because dev dependencies aren't installed for globally-activated packages. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1413713010 .
-
- Oct 21, 2015
-
-
Natalie Weizenbaum authored
We didn't properly check for no sources in a dependency, which caused a crash for some invalid pubspecs. Closes #1348 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1417993002 .
-
Natalie Weizenbaum authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//1414243004 .
-
Natalie Weizenbaum authored
This is useful for visualizing what transitive dependencies a package will add for its users. This is especially useful now that the test runner has so many dependencies. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1409043004 .
-
- Oct 20, 2015
-
-
Natalie Weizenbaum authored
This includes several fixes: * It upgrades to the latest compiler_unsupported which uses dart:developer rather than dart:profiler, * It fixes the test runner detection to match the new spawning mechanism. * It works around dart-lang/sdk#24653 in a dart2js test. * It upgrades an invocation of `new oauth2.Credentials()` to match the new oauth2 API. Closes #1346 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1408423006 .
-
- Oct 13, 2015
-
-
Natalie Weizenbaum authored
Closes #1342 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1400543004 .
-
- Sep 14, 2015
-
-
Natalie Weizenbaum authored
We used to do this, but we stopped without really meaning to when the dart:io default changed. Closes #1332 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1340043004 .
-
Natalie Weizenbaum authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//1344633003 .
-
- Aug 31, 2015
-
-
Natalie Weizenbaum authored
Instead of relying only on modification times, this does a more complex compatibility check if the modification times of the pubspec, lockfile, and .packages file aren't ordered properly. If they are up-to-date, it updates the modification times accordingly. This also fixes a case where "pub run" wasn't properly checking that the dependencies were up-to-date. Closes #1322 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1307853004 .
-
- Aug 27, 2015
-
-
Natalie Weizenbaum authored
If the root directory of a package is .gitignored, it will no longer be considered to be a "git package", since that just means that it'll be seen to contain no files at all. Closes #1321 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1317043002 .
-
Natalie Weizenbaum authored
Pub won't upload gitignored files, so its validation shouldn't consider them to exist either. See #1321 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1310253007 .
-
- Aug 19, 2015
-
-
Natalie Weizenbaum authored
Closes #1319 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1293383006 .
-
Natalie Weizenbaum authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//1295803003 .
-
- Aug 18, 2015
-
-
Natalie Weizenbaum authored
We were assuming that all globally-activated packages have a .packages file, but this isn't true for packages that were activated by earlier versions of pub. Closes #1316 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1292003005 .
-
- Aug 14, 2015
-
-
Natalie Weizenbaum authored
Since there's no way to load resources without using the packages/ directory, this flag will introduce a lot of confusing unfixable breakage. We should un-hide it once there's sufficient SDK support for locating/loading resources (dart-lang/sdk#23990). R=rnystrom@google.com Review URL: https://codereview.chromium.org//1292933003 .
-
- Aug 10, 2015
-
-
Natalie Weizenbaum authored
Previously, if a dependency depended on the entrypoint package, the entrypoint would have all its direct dependencies re-printed. This fixes that. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1274763010 .
-
Natalie Weizenbaum authored
Previously, several commands automatically ran "pub get" implicitly before doing their work. We've determined that this behavior is confusing, and for "pub run" in particular, makes the executables seem much slower than they actually are. This also allows us to make access to the entrypoint's package graph synchronous. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1282533003 .
-
Natalie Weizenbaum authored
The spec doesn't actually need all the data loaded from the package graph; all it needs are the locations of packages which can be looked up using their IDs and a SourceRegistry. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1282083002 .
-
- Aug 07, 2015
-
-
Natalie Weizenbaum authored
This also has it store its SourceRegistry, so that various methods don't need to re-supply it. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1281043004 .
-
Natalie Weizenbaum authored
It never really made sense for this to be asynchronous; most sources didn't even do any IO to determine the directory. The only exception was the git source, which would actually *clone a repository* if one didn't exist yet. This heavyweight behavior wasn't a good fit for what looks like a lightweight method anyway. Making this synchronous has a ripple effect of making a bunch of other methods synchronous, too. Hooray for synchrony! R=rnystrom@google.com Review URL: https://codereview.chromium.org//1276673006 .
-
- Aug 06, 2015
-
-
Natalie Weizenbaum authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//1281623002 .
-