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
[Merged by Bors] - feat: specific file names for cache get
and cache get!
#1430
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much! This is a dream come true.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if I:
- Request a file that doesn't exist locally
- Request a file that has no available cache
Do I get any warning or error message?
No warning, but a warning could be added to the first case. |
Probably the word "patterns" should be removed from the PR title and description too. |
cache get
and cache get!
cache get
and cache get!
bors r+ |
This PR allows arguments for `cache get` and `cache get!` as explained in the help menu: ```text 'get' and 'get!' can process list of paths, allowing the user to be more specific about what should be downloaded. For example, with automatic glob expansion in shell, one can call: $ lake exe cache get Mathlib/Algebra/Field/* Mathlib/Data/* Which will download the cache for: * Everything that starts with 'Mathlib/Algebra/Field/' * Everything that starts with 'Mathlib/Data/' * Everything that's needed for the above ```
Pull request successfully merged into master. Build succeeded:
|
cache get
and cache get!
cache get
and cache get!
The description looks wrong. |
This PR allows arguments for `cache get` and `cache get!` as explained in the help menu: ```text 'get' and 'get!' can process list of paths, allowing the user to be more specific about what should be downloaded. For example, with automatic glob expansion in shell, one can call: $ lake exe cache get Mathlib/Algebra/Field/* Mathlib/Data/* Which will download the cache for: * Everything that starts with 'Mathlib/Algebra/Field/' * Everything that starts with 'Mathlib/Data/' * Everything that's needed for the above ```
This PR allows arguments for
cache get
andcache get!
as explained in the help menu: