Closed Shnatsel closed 3 years ago
Fair enough. Do you want to block the PR on that?
Also, since you wrote this, do you have any idea on what's the best way to structure it architecturally? Maybe have store
write to a different dir and make another function commit
that actually commits the cache?
Fun fact: I made a bizarre optimization that brings down the download size for the cache from 350Mb to 60Mb, but it's kinda awkward to implement in the current architecture: https://github.com/rust-secure-code/cargo-supply-chain/tree/download-less
An approach to updating the cache that's explicitly two-phase would work better, I think.
Right, I guess this will need a proper two-phase download then.
Closing in favor of #60
fixes #53