- Jul 11, 2017
-
-
Natalie Weizenbaum authored
Support features with "pub global activate". Partially addresses #1593
-
- Jun 20, 2017
-
-
Natalie Weizenbaum authored
This more clearly indicates the type of data the class contains. We were already using in more places than just dependencies, so it makes sense to have a name that reflects that.
-
Natalie Weizenbaum authored
These classes are largely independent of the Package class.
-
- May 18, 2017
-
-
Jacob MacDonald authored
-
- May 17, 2017
-
-
Natalie Weizenbaum authored
Closes #1539
-
- May 16, 2017
-
-
Jacob MacDonald authored
Throws UnimplementedError if passing dartdevc today
-
- Mar 15, 2017
-
-
Jacob MacDonald authored
-
- Dec 05, 2016
-
-
Natalie Weizenbaum authored
Similarly 98ecbded, this provides better error messages and faster installation times. See #1473 See #1477
-
- Aug 01, 2016
-
-
Natalie Weizenbaum authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//2184303002 .
-
- Jul 27, 2016
-
-
Natalie Weizenbaum authored
Closes #1430 R=floitsch@google.com, kevmoo@google.com Review URL: https://codereview.chromium.org//2148413002 .
-
- Jul 22, 2016
-
-
Natalie Weizenbaum authored
We still need to verify that a Flutter SDK constraint is only used with an appropriate Dart SDK constraint. See #1432 R=rnystrom@google.com Review URL: https://codereview.chromium.org//2165423002 .
-
- Jun 23, 2016
-
-
Natalie Weizenbaum authored
This allows PackageName equality to include description equality, and it substantially cleans up other logic dealing with sources. See #912 R=rnystrom@google.com Review URL: https://codereview.chromium.org//2079303003 .
-
- Jun 20, 2016
-
-
Natalie Weizenbaum authored
This splits Source into two classes, Source and LiveSource. The former is completely independent of the system cache directory, and mostly contains source metadata and logic about manipulating descriptions. SourceRegistry now deals strictly in Sources, with LiveSources being handled by SystemCache. This means that classes like Pubspec and LockFile no longer have transitive references to the system cache directory. This will also make it possible to clean up PackageName equality logic by making PackageNames track their concrete Sources rather than just their source names. See #912 R=rnystrom@google.com Review URL: https://codereview.chromium.org//2044253003 .
-
- Jan 13, 2016
-
-
Natalie Weizenbaum authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//1585513002 .
-
- 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
-