- Aug 10, 2015
-
-
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
This reverts commit 7fbc1040, which reverted commit dc626af3. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1272903002 .
-
Natalie Weizenbaum authored
Currently we don't auto-run "pub get" if there's no lockfile and also no dependencies. We should, in order to create a self-link. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1277633004 .
-
- Aug 05, 2015
-
-
Natalie Weizenbaum authored
This reverts commit dc626af3. This broke due to dart-lang/sdk#23991. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1272833003 .
-
Natalie Weizenbaum authored
Previously this was using the packages/ directory, but that's no longer reliable since there's now an option to not generate it. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1269393003 .
-
- Jul 09, 2015
-
-
Natalie Weizenbaum authored
* The package spec's reference to the entrypoint package was pointing to the hosted cache rather than the package's directory. This was caused by the package graph's instance of the entrypoint package incorrectly pointing to the cache; the graph now re-uses `entrypoint.root`. * The package spec didn't contain relative paths for relative path dependencies. This was being missed by our tests because the package spec parser was automatically converting all paths to absolute at parse-time. Closes #1294 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1228093003 .
-
- Jun 24, 2015
-
-
Lasse R.H. Nielsen authored
R=nweiz@google.com Review URL: https://codereview.chromium.org//1096723002.
-
- May 14, 2015
-
-
nweiz@google.com authored
BUG= http://dartbug.com/23113 R=kevmoo@google.com Review URL: https://codereview.chromium.org//1087053003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@45147 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
This fixes the "Could not find asset" issue people were seeing on "pub upgrade". R=rnystrom@google.com BUG=21810 Review URL: https://codereview.chromium.org//792993004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42273 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
-
nweiz@google.com authored
This also makes pub print more detailed timing information in --verbose mode. R=rnystrom@google.com BUG=20859 Review URL: https://codereview.chromium.org//600293002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41407 260f80e4-7a28-3924-810f-c04153c831b5
-
whesse@google.com authored
BUG=https://github.com/dart-lang/async_await/issues/68 R=ricow@google.com Review URL: https://codereview.chromium.org//655703004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41126 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//655943002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41112 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
-
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
-
nweiz@google.com authored
R=rnystrom@google.com BUG=20859 Review URL: https://codereview.chromium.org//576333002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40477 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
This shaves off a pretty significant amount of time for packages that are transformed but whose transformers never change (I saw a ~450ms gain in one of my tests). R=rnystrom@google.com BUG=20859 Review URL: https://codereview.chromium.org//559833004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40392 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
-
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
-
nweiz@google.com authored
R=rnystrom@google.com BUG=20482 Review URL: https://codereview.chromium.org//494943002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39528 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com BUG=20482 Review URL: https://codereview.chromium.org//491993002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39441 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//489943002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39437 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com BUG=20482 Review URL: https://codereview.chromium.org//491103002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39431 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com BUG=20482 Review URL: https://codereview.chromium.org//482053002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39424 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
-
nweiz@google.com authored
This will help the editor test against the no-symlink behavior before we roll it out to the world. BUG=20253 R=danrubel@google.com, rnystrom@google.com Review URL: https://codereview.chromium.org//427853002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38702 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
This means commands don't have to declare that they need. It also ensures the pubspec isn't parsed until JSON output has been selected. BUG=http://dartbug.com/20066, http://dartbug.com/20065 R=nweiz@google.com Review URL: https://codereview.chromium.org//397843005 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38291 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
This is useful for ensuring that a package's dependencies' lower bounds are correct. R=rnystrom@google.com BUG= https://code.google.com/p/dart/issues/detail?id=15670 Review URL: https://codereview.chromium.org//365993007 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38220 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
R=nweiz@google.com Review URL: https://codereview.chromium.org//364943004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@37967 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG=https://code.google.com/p/dart/issues/detail?id=18538 R=nweiz@google.com Review URL: https://codereview.chromium.org//354763006 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@37963 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG=https://code.google.com/p/dart/issues/detail?id=18538 R=nweiz@google.com Review URL: https://codereview.chromium.org//331593012 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@37832 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
This is prep work for global packages, which need to ensure their dependencies are local, but do not want to create symlinks for them. R=nweiz@google.com Review URL: https://codereview.chromium.org//357483004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@37672 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
Also add support for --dry-run to pub get. BUG=dartbug.com/19439 dartbug.com/15587 R=nweiz@google.com Review URL: https://codereview.chromium.org//342763003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@37525 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
In particular, this makes barback and the "pub lish" validators use gitignore rules. R=rnystrom@google.com BUG=12102, 11198 Review URL: https://codereview.chromium.org//342553002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@37469 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG=https://code.google.com/p/dart/issues/detail?id=10582 R=nweiz@google.com Review URL: https://codereview.chromium.org//344493003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@37464 260f80e4-7a28-3924-810f-c04153c831b5
-