- 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 .
-
- Dec 17, 2015
-
-
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 .
-
- 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
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 .
-
- 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 10, 2015
-
-
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
Closes pub#22 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1277773002 .
-
Bob Nystrom authored
Fixes #1230. R=nweiz@google.com Review URL: https://codereview.chromium.org//1272813003 .
-
- Jul 20, 2015
-
-
Natalie Weizenbaum authored
Closes #1304 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1248483003 .
-
- Jul 15, 2015
-
-
Natalie Weizenbaum authored
Now instead of just saying how many packages failed to be reinstalled/reactivated, "pub cache repair" will print a list of those packages. This also fixes an issue where "pub cache repair" would incorrectly return a 0 exit code when packages failed to reactivate. Closes #1301 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1239623005 .
-
- May 14, 2015
-
-
nweiz@google.com authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//1101343004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@45508 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com BUG=22076 Review URL: https://codereview.chromium.org//899373002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@43737 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//868463003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@43057 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
Previously, binstubs used [[ ]], which is a bash-specific construct. R=rnystrom@google.com BUG=21854 Review URL: https://codereview.chromium.org//800733003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42308 260f80e4-7a28-3924-810f-c04153c831b5
-
whesse@google.com authored
BUG= R=ricow@google.com Review URL: https://codereview.chromium.org//753063003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42063 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
This also makes "pub cache repair" repair activated packages, including updating the binstub format. R=rnystrom@google.com BUG=21463 Review URL: https://codereview.chromium.org//745153002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42055 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
R=nweiz@google.com Review URL: https://codereview.chromium.org//602253002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40849 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
Review URL: https://codereview.chromium.org//599343003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40667 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
TBR. Review URL: https://codereview.chromium.org//600313002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40666 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com TBR Review URL: https://codereview.chromium.org//601973002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40664 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
R=nweiz@google.com Review URL: https://codereview.chromium.org//601933002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40662 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
A package's executables may not use all of that package's transformers. This is especially true for browser frameworks where there's a clear divide between client-side and server-side code. This uses pub's existing dependency-sniffing infrastructure to figure out which transformers can be omitted. This takes "pub run polymer:new_element --help" from 1.52s to 0.96s. R=rnystrom@google.com BUG=20859 Review URL: https://codereview.chromium.org//599993004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40659 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG= R=rnystrom@google.com Review URL: https://codereview.chromium.org//600583003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40643 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
BUG=20859 R=rnystrom@google.com Review URL: https://codereview.chromium.org//583853002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40612 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
R=nweiz@google.com Review URL: https://codereview.chromium.org//586173002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40598 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//581283003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40559 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG=https://code.google.com/p/dart/issues/detail?id=18539 R=nweiz@google.com Review URL: https://codereview.chromium.org//566093003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40471 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
pub run now defaults to --mode=debug for local executables. R=rnystrom@google.com BUG=20898 Review URL: https://codereview.chromium.org//550643003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40384 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//548603002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39938 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
R=nweiz@google.com Review URL: https://codereview.chromium.org//521643005 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39933 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com BUG=20483 Review URL: https://codereview.chromium.org//475093003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39787 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
Clean up global_packages.dart. BUG=http://dartbug.com/19962 R=rnystrom@google.com Review URL: https://codereview.chromium.org//489823002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39466 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//496583002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39440 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com BUG=20287 Review URL: https://codereview.chromium.org//494803003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39429 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG=https://code.google.com/p/dart/issues/detail?id=19902 R=nweiz@google.com Review URL: https://codereview.chromium.org//448933002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39279 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
R=nweiz@google.com Review URL: https://codereview.chromium.org//449983002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39219 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG=https://code.google.com/p/dart/issues/detail?id=19902 Committed: https://code.google.com/p/dart/source/detail?r=38798 R=nweiz@google.com Review URL: https://codereview.chromium.org//428313004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38945 260f80e4-7a28-3924-810f-c04153c831b5
-