-
Notifications
You must be signed in to change notification settings - Fork 610
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
Some crate files in the index can't be downloaded #1177
Comments
ping? |
here's a more complete list posted by iscgar on IRC
|
@ashleygwilliams that list contains packages with uppercase letters in their name, like
Most likely iscgar's downloader tried to use all lowercase crate names. I've been there myself :p. As for why The casing for |
Hmmm this commit looks very suspicious: rust-lang/crates.io-index@610b81f So it seems that it has to be https://static.crates.io/crates/glib-2_0-sys/glib-2_0-sys-0.0.1.crate So apparently the rename was performed by @alexcrichton on the index only, but not on the actual files in S3. This rename explains |
@est31 right, my bad. The list of 403s is indeed now down to cargo-ctags-0.2.3. |
cargo-ctags-0.2.3 seems to be missing from the crates.io database (it's the only version of cargo-ctags that is missing) |
@iscgar No problem! |
The cargo-ctags-0.2.3 situation seems to be the same as https://github.com/rust-lang/crates.io-index/pull/11 (see #1447) so the fix here should probably be the same: just remove the 0.2.3 line from the index. |
cargo-ctags 0.2.3 was likely caused by a rare scenario that we've seen a few times where the index gets successfully updated, but something happens (server restart, database issue, etc) before the database transaction was committed. I've checked the index against our database and removed all cases of any files/versions in the index that aren't present in our database in rust-lang/crates.io-index@e58b304 If any additional cases arise in the future, please open a new issue. |
Over the past 2 days I have been downloading the crates from crates.io using a tool I have written for that purpose and I've discovered that some crates, while mentioned in the index, can't be downloaded from the backend.
The affected (crate, version) pairs:
This is exposed to normal users of crates.io as well. If you do the following in your Cargo.toml:
You will get this error:
Looking at the git logs of the index it seems to me that deletions always mean that the specific versions are also deleted from the index. These versions are still present.
The text was updated successfully, but these errors were encountered: