matthiaskrgr / matthiaskrgr/cargo-cache
crate source verification
Open
@matthiaskrgr is already working on this.
Since Dec 20, 2021.
feature
- Dominant language
- Rust
- Stars
- 994
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
It would be interesting if cargo-cache could find local extracted sources that differ from the contents of the respective .xz /.crate archives.
EDIT: idea dump:
git fsckall git repos (already implemented:--fsck) todo: parallelize- check extracted sources for mismatching sizes (already implemented)
- read all the
.cratearchives and make sure they are ok (not sure if this is needed since cargo would complain anyway I guess..?) - check git repo checkouts for added/missing/edited files
- check extracted crate sources content (probably expensive, need extract every
.crateinto a temp dir and compare hash sums / diffs of files, there might also be a ton of unexpected problems)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.