Jonathan Kelley
6095cc4363
cache the roots not the files
2025-01-28 22:53:29 -08:00
Jonathan Kelley
01addf7215
new restore technique
2025-01-28 22:28:27 -08:00
Jonathan Kelley
b37d2821f8
remove invalidation
2025-01-28 21:58:20 -08:00
Jonathan Kelley
07fbca13c8
hmm
2025-01-28 21:52:44 -08:00
Jonathan Kelley
bd6c4068e7
fix accidentally deleting ache
2025-01-28 21:45:23 -08:00
Jonathan Kelley
af6c167d5d
restore from secondary branch
2025-01-28 20:59:32 -08:00
Jonathan Kelley
36c8b73442
cause save state if no incrementa.json
2025-01-28 19:22:56 -08:00
Jonathan Kelley
0381560ff9
move target clean
2025-01-28 19:03:35 -08:00
Jonathan Kelley
3c291936b0
add logging
2025-01-28 18:22:39 -08:00
Jonathan Kelley
3faf29c29b
wip: add incremental mtime restore
2025-01-28 18:13:52 -08:00
Arpad Borsos
008623fb83
also cache cargo install
metadata
2024-12-29 08:47:45 +01:00
Daniel LeCheminant
c00f3025ca
Adds an option to do lookup-only of the cache ( #217 )
2024-11-08 20:36:34 +01:00
Arpad Borsos
378c8285a4
Work around upstream GitHub issue and update dependencies
2024-01-14 09:26:03 +01:00
Arpad Borsos
3312b3ab47
Slightly improve docs
2023-08-02 12:46:45 +02:00
Arpad Borsos
f6987ea139
Improve errors and cleanup
...
- Silence errors and do not create error annotations, fixes #144
- Implement cleanup for new sparse registry
- Do not clean `-sys` dependencies from `registry/src`, hopefully fixes #150
2023-08-02 12:15:14 +02:00
Jordan Oroshiba
b00faf5858
Add BuildJet Option ( #154 )
2023-08-01 09:01:11 +02:00
Steven Hartland
ad97570a01
fix: cache key stability ( #142 )
...
Ensure consistency of main and post configuration by storing and
restoring it from state, which in turn ensures cache key stability.
Also:
* Fixed some typos.
* Use core.error for logging errors.
* Fix inverted condition on cache-all-crates.
Reverts: #138
Fixes #140
2023-05-18 22:48:40 +02:00
Steven Hartland
5e9fae966f
fix: cache restore failures ( #136 )
...
Fix cache restore failures to to upstream bug.
Fixes #119
2023-05-11 09:01:27 +02:00
Arpad Borsos
3f2513fdf4
avoid calling cargo metadata on pre-cleanup
2022-11-03 11:26:22 +01:00
Arpad Borsos
be4be3720d
explicitly close dir handles, add more logging, cleanups
2022-09-04 13:10:36 +02:00
Arpad Borsos
7b8626742a
update registry cleaning
2022-07-09 18:51:34 +02:00
Arpad Borsos
86bae2494f
clean nested and arbitrary profile and target directories
2022-07-09 16:14:38 +02:00
Arpad Borsos
827b33fbd0
pretty printing and fix workspace package retrieval
2022-07-09 15:51:45 +02:00
Arpad Borsos
6ed4c28a7c
rewrite it all
2022-07-09 15:19:29 +02:00
Nick Mosher
260a713186
Cache multiple target directories from 'target-dir'
2022-07-09 11:58:11 +02:00
Vlad-Shcherbina
2055a01dcd
Improve diagnostics: show exception stack trace ( #63 )
...
Also add logging to the quiet exception handlers.
2022-06-25 23:20:01 +02:00
Arpad Borsos
74e8e24b6d
Update dependencies, clean both debug and release targets
2022-04-08 17:25:03 +02:00
Arpad Borsos
d127014599
update dependencies
2021-09-28 17:49:43 +02:00
Tom Parker-Shemilt
536c94f32c
Cache-on-failure support ( #22 )
2021-06-28 23:18:07 +02:00
Arpad Borsos
b495963495
Add a selftest and support for .cargo/bin
2021-02-16 09:06:04 +01:00
Austin Jones
27793b3b80
Add support for the cache-hit
output
2021-01-28 18:39:18 +01:00
Arpad Borsos
2639a56bb8
implement support for CARGO_HOME
...
fixes #8
2021-01-28 18:16:36 +01:00
Arpad Borsos
9e10a44ea3
support working-directory input, cleanup
2020-12-07 23:56:50 +01:00
Arpad Borsos
9de90d2338
only pre-clean when something was restored
2020-10-13 14:01:46 +02:00
Arpad Borsos
292ef23e77
avoid error when saving without git dependencies
2020-10-13 13:52:55 +02:00
Arpad Borsos
5f6034beb8
improve log output
2020-10-06 12:57:42 +02:00
Arpad Borsos
e8e3c57b3b
merge all the caches and simplify
2020-10-03 18:39:38 +02:00
Arpad Borsos
f77cb1be47
merge the registry caches together
2020-10-03 18:10:54 +02:00
Arpad Borsos
ef89c3a8eb
typo
2020-09-28 12:30:40 +02:00
Arpad Borsos
271ff4b692
log individual timings
2020-09-28 12:26:11 +02:00
Arpad Borsos
cfcc373039
improve logging
2020-09-28 11:54:24 +02:00
Arpad Borsos
99970e092c
initial commit
2020-09-26 23:48:29 +02:00