M4SS-Code / cargo-goggles

Verify that registry crates in your Cargo.lock are reproducible from the git repository
https://crates.io/crates/cargo-goggles
Apache License 2.0
36 stars 2 forks source link

Put crate name and version in `repo_dir` #14

Open link2xt opened 3 months ago

link2xt commented 3 months ago

This will fix "Make it pull previously cloned repositories when changes are available" todo item from the readme. Together with #13 this should be relatively cheap to clone the same repo multiple times.

Having a separate checkout for each crate makes everything easier because each repository is cloned and checked out once and is not changed afterwards.