Skip to content
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

Closed
munificent opened this issue Jan 23, 2014 · 8 comments
Closed

Pub command to cache hosted package #16265

munificent opened this issue Jan 23, 2014 · 8 comments
Assignees
Labels
type-enhancement A request for a change that isn't a bug

Comments

@munificent
Copy link
Member

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.

@munificent
Copy link
Member Author

Marked this as blocking #16266.

@DartBot
Copy link

DartBot commented Jan 29, 2014

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).

@munificent
Copy link
Member Author

I see this as an absolute must for application based packages as well

Definitely.

(that and of course adding the package bin/ to a user's PATH).

This will take some more work, but this bug is definitely a precondition for enabling that.

@munificent
Copy link
Member Author

Added Started label.

@munificent
Copy link
Member Author

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.

@munificent
Copy link
Member Author

Oops, this is still in-progress.


Added Started label.

@munificent
Copy link
Member Author

Added Fixed label.

@DartBot
Copy link

DartBot commented Jun 5, 2015

This issue has been moved to dart-lang/pub#824.

@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed type-enhancement labels Mar 1, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants