Commit Graph

48 Commits

Author SHA1 Message Date
Arpad Borsos
be4be3720d
explicitly close dir handles, add more logging, cleanups 2022-09-04 13:10:36 +02:00
Arpad Borsos
622616010e
prepare v2 2022-07-16 12:38:38 +02:00
Arpad Borsos
0497f9301f
improve registry cleanpu 2022-07-09 19:20:02 +02:00
Arpad Borsos
7b8626742a
update registry cleaning 2022-07-09 18:51:34 +02:00
Arpad Borsos
911d8e9e55
test sparse registry 2022-07-09 17:49:43 +02:00
Arpad Borsos
07a2ee71bc
lol, dependency check was reversed 2022-07-09 17:37:48 +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
36af5cb1ae
fix pretty printing and selftest 2022-07-09 15:39:43 +02:00
Arpad Borsos
cb43a50800
fix env filtering 2022-07-09 15:31:33 +02:00
Arpad Borsos
11be10514b
fix pretty printing 2022-07-09 15:25:09 +02:00
Arpad Borsos
6ed4c28a7c
rewrite it all 2022-07-09 15:19:29 +02:00
Arpad Borsos
fc84c9d9a3
move selftests to subdirectory and run more selftests 2022-07-09 12:23:37 +02:00
Nick Mosher
260a713186
Cache multiple target directories from 'target-dir' 2022-07-09 11:58:11 +02:00
Dominik Nakamura
fa61956921
Include env vars in the generated cache key 2022-07-09 11:53:57 +02:00
Vlad-Shcherbina
5040f39404
Skip registry cleaning if no registry was found (#65)
This fixes #64.

When Cargo is run in sparse-registry mode, it doesn't create
  ~/.cargo/registry/index/github.com-1ecc6299db9ec823/
directory.
2022-06-26 10:51:36 +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
31c41a926e
Handle missing cargo installs gracefully
fixes #17
2021-05-30 10:55:21 +02:00
Arpad Borsos
3b8bbcb11d
add description 2021-05-19 10:10:43 +02:00
Rik Nauta
f82d41bcc2
feat: allow for configurable target-dir 2021-05-19 10:06:31 +02:00
Caleb Maclennan
da42bbe56d Additionally key on Rust toolchain file(s) if present 2021-03-15 14:07:46 +01: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
be44a3e6ff introduce a new sharedKey option
fixes #6
2021-01-28 18:39:11 +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
6ccf2463db deal with uncaught exceptions 2020-10-21 09:32:47 +02: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
b740ae5d3a clean and persist the git db/checkouts 2020-10-05 18:18:59 +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
2bcc375de8 key target by job id automatically 2020-10-03 17:33:09 +02:00
Arpad Borsos
d38127a85b Improve target pruning
fixes #1
2020-09-29 12:30:19 +02:00
Arpad Borsos
08ca2ff969 make macos workaround silent 2020-09-28 12:46:36 +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
a6b59fa340 clean up exports 2020-09-28 12:14:11 +02:00
Arpad Borsos
e0c07d2a65 work around macos cache corruption 2020-09-28 12:08:11 +02:00
Arpad Borsos
06ff70612d remove git-db for now 2020-09-28 12:06:51 +02:00
Arpad Borsos
1304a2ec8d add ability to version caches 2020-09-28 12:00:58 +02:00
Arpad Borsos
cfcc373039 improve logging 2020-09-28 11:54:24 +02:00
Arpad Borsos
8902a8fc6c collect packages with --all-features 2020-09-28 11:44:06 +02:00
Arpad Borsos
99970e092c
initial commit 2020-09-26 23:48:29 +02:00