Closed
Description
docs.rs looks at the crates.io index the first time a crate is released, but never again after that. This means that if a crate is deleted from an index, the documentation stays up (e.g. #765). It would be great to have a way to compare the docs.rs database with the crates.io index to make sure they match up. It should start by verifying the name version
pairs match up, but could be expanded to also ensure the authors are consistent as well.
Note that the author thing is a little tricky since we currently store authors in two different places:
author_rels
as a database relation and releases.authors
as JSON. Before implementing the consistency check, we should refactor the database to only use author_rels
.