- Jun 28, 2017
-
-
Natalie Weizenbaum authored
-
Natalie Weizenbaum authored
-
Natalie Weizenbaum authored
-
- Jun 27, 2017
-
-
Natalie Weizenbaum authored
We used to name these after the package itself, but that makes it difficult to share repositories between sub-packages.
-
- Jun 20, 2017
-
-
Natalie Weizenbaum authored
These classes are largely independent of the Package class.
-
- Mar 15, 2017
-
-
Jacob MacDonald authored
-
- Dec 07, 2016
-
-
Natalie Weizenbaum authored
In particular, "pub get --offline" and "pub cache repair" shouldn't choke when there are parse failures in the version cache. Closes #1479
-
- Aug 01, 2016
-
-
Natalie Weizenbaum authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//2184303002 .
-
- 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
Closes #1368 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1555133002 .
-
- 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 .
-
- Aug 07, 2015
-
-
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 .
-
- 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 BUG= Review URL: https://codereview.chromium.org//848363003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42938 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com BUG=20947 Review URL: https://codereview.chromium.org//831983005 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42936 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
Previously, the binaries were only updated if the version number had changed. Now they're updated if just the commit changes. This also improves the output of "pub upgrade" if a git dependency changes its commit but not its version number. R=rnystrom@google.com BUG=21971 Review URL: https://codereview.chromium.org//844263004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42883 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
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=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
-
nweiz@google.com authored
This change does three things: * Splits out a WrappedException class from ApplicationException. * Uses fail() pervasively rather than new ApplicationException() everywhere. * Moves exception classes from utils.dart to exceptions.dart. R=rnystrom@google.com Review URL: https://codereview.chromium.org//354663008 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@37713 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
-
nweiz@google.com authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//341643002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@37425 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com BUG=19067 Review URL: https://codereview.chromium.org//308793016 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@36910 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
R=nweiz@google.com Review URL: https://codereview.chromium.org//243683002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35344 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG=https://code.google.com/p/dart/issues/detail?id=5391 RELNOTE=Add "pub cache repair" command to re-install cached packages. R=nweiz@google.com Review URL: https://codereview.chromium.org//228703006 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35111 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
When looking into issue 17854, I noticed that when installing without a locked git revision, "pub get" was running "git fetch" over and over again on the same repository. This avoids doing so and increases the speed of "pub get" with git repositories considerably. R=rnystrom@google.com Review URL: https://codereview.chromium.org//221733002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@34671 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com BUG= Review URL: https://codereview.chromium.org//221713003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@34630 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com BUG=17854 RELNOTE=Don't fetch git repository unnecessarily when running "pub get". Review URL: https://codereview.chromium.org//221383002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@34626 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
Previously, if a git dependency's version was locked but its repo wasn't available locally, attempting to download it would crash pub. This also enhances some logging infrastructure around git and other processes. R=alanknight@google.com BUG=16470 Review URL: https://codereview.chromium.org//145633008 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@32264 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG=https://code.google.com/p/dart/issues/detail?id=12211 R=nweiz@google.com Review URL: https://codereview.chromium.org//114193010 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@31249 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
Specifically, when run with "--trace" or "--verbose", pub will capture its stack chains and report them along with errors. Otherwise it should behave identically to before. R=rnystrom@google.com BUG=8842 Review URL: https://codereview.chromium.org//113453005 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@31176 260f80e4-7a28-3924-810f-c04153c831b5
-
lrn@google.com authored
R=floitsch@google.com, nweiz@google.com, rnystrom@google.com Review URL: https://codereview.chromium.org//94843002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@30809 260f80e4-7a28-3924-810f-c04153c831b5
-
lrn@google.com authored
Review URL: https://codereview.chromium.org//94593002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@30758 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG= R=nweiz@google.com Review URL: https://codereview.chromium.org//89493002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@30682 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG=https://code.google.com/p/dart/issues/detail?id=7351 R=nweiz@google.com Review URL: https://codereview.chromium.org//26284002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@28330 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG= R=nweiz@google.com Review URL: https://codereview.chromium.org//22941002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@26040 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
R=ajohnsen@google.com Review URL: https://codereview.chromium.org//18356011 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@24964 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
R=nweiz@google.com Review URL: https://codereview.chromium.org//18143002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@24555 260f80e4-7a28-3924-810f-c04153c831b5
-