Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checksum failure on stitch-0.1.0 #1

Closed
taktoa opened this issue Aug 7, 2018 · 1 comment
Closed

Checksum failure on stitch-0.1.0 #1

taktoa opened this issue Aug 7, 2018 · 1 comment

Comments

@taktoa
Copy link

taktoa commented Aug 7, 2018

There is a checksum failure when downloading stitch-0.1.0 that won't go away no matter what I do; I tried rerunning it a few times (in case it was a network issue) and I tried running with --no-check-sums. The only way I could get the mirroring to proceed was by deleting the index/st/it/ directory and running it with --no-update-index. It would be nice if crates-ectype was a little more fault-tolerant (i.e.: it didn't just quit when a single checksum fails).

@C4K3
Copy link
Owner

C4K3 commented Aug 7, 2018

That's caused by an inconsistency in the index database, and has happened before rust-lang/crates.io#1201

For my own use, I just add it to the hardcoded list of ignored crates, but you're right that's not a very resilient solution.

I think I'll have it just ignore crates with checksum mismatches (maybe print a warning, but definitely don't save the .crate with mismatched checksum,) and then add in an option to have it fail (current functionality.)

C4K3 added a commit that referenced this issue Aug 7, 2018
@C4K3 C4K3 closed this as completed in 5845e41 Aug 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants