Skip to content

Stale caching of crate that has apparently been deleted from crates.io #765

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

Closed
richard-w opened this issue May 21, 2020 · 3 comments
Closed

Comments

@richard-w
Copy link

My crate 'advantage' has two published versions on crates.io (0.0.0 and 0.1.0). Apparently this crate name previously belonged to someone else who published a placeholder with the same name and version 0.1.1. I was not aware of this until I checked docs.rs.

Expected behavior

  • https://docs.rs/advantage leads to documentation for version 0.1.0 of my crate.
  • In the owners section only my avatar is displayed.

Actual behavior

  • https://docs.rs/advantage leads to documentation for version 0.1.1 of the deleted crate.
  • The previous owner's avatar is displayed in the owners section too.

Notes

I understand that deleted crates constitute an absolute edge-case. Maybe a manual cleanup of the database is the solution here?

@richard-w
Copy link
Author

Apparently the previous owner published a lot of crates that have since been deleted from crates.io but are still on docs.rs. See https://docs.rs/releases/rustbae.

@pietroalbini
Copy link
Member

Thanks for opening the issue!

I deleted all the contents of the advantage crate and queued a rebuild of advantage 0.0.0 and 0.1.0.

@pietroalbini
Copy link
Member

The documentation is now live!

https://docs.rs/advantage/0.1.0/advantage/

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