Feature request: implement --evict-older-than option
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7.7k
- Forks
- 748
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 21
Description
Hello !
I'd love a --evict-older-than option in sccache (like in ccache), which would delete all cache artifacts not used in the last X amount of time. This would allow me to manage cache size dynamically, rather than relying on a fixed cache size limit
I'd love to implement this myself and submit a PR if you accept the idea.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating sccache's command-line option handling and cache eviction implementation, then compare the requested behavior with ccache; done means the option removes cache artifacts unused for the specified duration and is covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100