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 cache garbage collection #12634

Merged
merged 31 commits into from
Nov 11, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
094632b
Add -Zgc flag.
ehuss Sep 7, 2023
9588fb6
Add a du utility function.
ehuss Sep 7, 2023
34fdf5f
Add a module with sqlite utilities.
ehuss Sep 7, 2023
da3ca05
Add a global cache garbage collector.
ehuss Sep 7, 2023
8f327a7
Add benchmarks for the global cache tracker.
ehuss Sep 7, 2023
809d4e9
Add unstable documentation for -Zgc
ehuss Sep 7, 2023
2a922d7
Add tracking issue number
ehuss Sep 7, 2023
14073f9
Don't repeat values in `--gc` help output
ehuss Oct 18, 2023
0fe72eb
Fix typos
ehuss Oct 18, 2023
afe71ea
Fix rustfmt formatting
ehuss Oct 18, 2023
bf0a653
Use value_parser for human size and duration CLI arguments.
ehuss Oct 18, 2023
6110d9d
Simplify with split_at
ehuss Oct 18, 2023
14d78e4
Fix to correctly use config.extra_verbose()
ehuss Oct 18, 2023
5e27630
Use average days in a month instead of fixed 30.
ehuss Oct 19, 2023
5d35867
Add a trace message when running offline.
ehuss Oct 19, 2023
803cb81
Add tracking issue
ehuss Oct 19, 2023
79da175
Always assert the package cache lock is held.
ehuss Oct 19, 2023
7c55a4e
Add headers to unstable gc docs.
ehuss Oct 19, 2023
4ad8adc
Fix unstable gc.auto config not showing the table name.
ehuss Oct 19, 2023
e7cebdc
Tweak unstable docs wording to avoid some confusion.
ehuss Oct 19, 2023
a86c4aa
Some doc clarifications and fixes.
ehuss Oct 19, 2023
4d9b165
Move types to be near their impls.
ehuss Oct 19, 2023
73b87a2
Use constants for auto gc config defaults.
ehuss Oct 20, 2023
73bf9fc
Consolidate the git checkout du logic.
ehuss Oct 20, 2023
89b870e
Use newtype wrapper for parent table IDs.
ehuss Oct 20, 2023
ead7904
Add `gc` tracing target.
ehuss Oct 20, 2023
9a41a61
Remove shared-target gc kind.
ehuss Oct 20, 2023
56c8d90
Use walkdir's built-in sorting option.
ehuss Oct 20, 2023
7dd15fe
Move gc.auto.frequency default to a constant.
ehuss Oct 20, 2023
1e1a42c
Use unreachable instead of panic.
ehuss Oct 21, 2023
0cd970b
Move gc options under a `cargo clean gc` subcommand.
ehuss Nov 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading