Skip to content

Consistency check with crates.io database #766

Closed
@jyn514

Description

@jyn514

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-adminArea: Administration of the production docs.rs serverE-mediumEffort: This requires a fair amount of workP-mediumMedium priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions