-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pub command to cache hosted package #16265
Comments
Marked this as blocking #16266. |
This comment was originally written by @butlermatt Yes! I see this as an absolute must for application based packages as well (that and of course adding the package bin/ to a user's PATH). |
Definitely.
This will take some more work, but this bug is definitely a precondition for enabling that. |
Added Started label. |
This has landed now: https://codereview.chromium.org/136063005/ Let me know if you need any help hooking the bots up to use it! Added Fixed label. |
Oops, this is still in-progress. Added Started label. |
Added Fixed label. |
This issue has been moved to dart-lang/pub#824. |
The concrete use case we have is for the testing bots, but it's also useful for others to be able to explicitly populate their package cache without having to slap together a package that depends on something you want to download.
I'm thinking a "pub download" command. Something like:
$ pub download foo # Download latest version of "foo" into cache.
$ pub download foo >=1.2.3 # Download all versions of "foo" that match constraint.
The text was updated successfully, but these errors were encountered: