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

Add poetry cache clear-all #8156

Closed
2 tasks done
simonrouse9461 opened this issue Jul 4, 2023 · 3 comments
Closed
2 tasks done

Add poetry cache clear-all #8156

simonrouse9461 opened this issue Jul 4, 2023 · 3 comments
Labels
kind/feature Feature requests/implementations status/triage This issue needs to be triaged

Comments

@simonrouse9461
Copy link

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the FAQ and general documentation and believe that my question is not already covered.

Feature Request

Problem

Currently, the only way to clear all cache is to list all caches with poetry cache list first, then do poetry cache clear <cache> --all for each cache. There is no convenient way to clear all caches directly.

Solution

Please support poetry cache clear-all subcommand to clear all poetry caches with a single command. This is especially useful for building docker images.

@simonrouse9461 simonrouse9461 added kind/feature Feature requests/implementations status/triage This issue needs to be triaged labels Jul 4, 2023
@Secrus
Copy link
Member

Secrus commented Jul 4, 2023

You can use poetry cache clear --all . to do exactly that.

@Secrus Secrus closed this as not planned Won't fix, can't repro, duplicate, stale Jul 4, 2023
@simonrouse9461
Copy link
Author

@Secrus Thanks for the information! Is this documented? I can't find this in the doc. It will be very helpful to write this in the doc.

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Feature requests/implementations status/triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants