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

RFC: GUI button to download cache for a specific file #416

Closed
YaelDillies opened this issue Mar 20, 2024 · 4 comments · Fixed by #509
Closed

RFC: GUI button to download cache for a specific file #416

YaelDillies opened this issue Mar 20, 2024 · 4 comments · Fixed by #509
Labels
RFC Request for comments

Comments

@YaelDillies
Copy link
Contributor

Proposal

Oftentimes I want to work on a rather low-level file X. lake exe cache get would download me way too many files and take too long, but typing lake exe cache get Mathlib/X.lean (where X is a long file path) is also quite unergonomic.

I suggest we add a pretty visible button on the file window to download cache for the file currently in focus.

Community Feedback

Zulip

Impact

Add 👍 to issues you consider important. If others benefit from the changes in this proposal being added, please ask them to add 👍 to it.

@YaelDillies YaelDillies added the RFC Request for comments label Mar 20, 2024
@YaelDillies YaelDillies changed the title RFC: GUI button to download cache for a specific RFC: GUI button to download cache for a specific file Mar 20, 2024
@arthurpaulino
Copy link

If there's a file in focus that doesn't have its current olean up to date, I assume there will be work happening in the background. Won't the background job conflict with what the user tries to do when summoning cache? Or was this issue resolved?

@YaelDillies
Copy link
Contributor Author

oleans now get rebuilt only if the user explicitly asks for it. Does this answer your question?

@arthurpaulino
Copy link

Yeap, thanks!

@YaelDillies
Copy link
Contributor Author

🏓 This feature would save me 10-15min a day, so I really want it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFC Request for comments
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants