Skip to content

delete crates from database if they're deleted from crates.io #285

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
QuietMisdreavus opened this issue Jan 10, 2019 · 1 comment
Closed

Comments

@QuietMisdreavus
Copy link
Member

There have been a couple incidents recently where hundreds of crates were procedurally published to squat their names, and crates.io decided to delete the squatted crates after the spam attack was stopped. However, their records still exist on docs.rs, which may cause issues later on if someone else tries to register the same crate and publish the same version number. We should track crate deletions from the crates.io index and scrub the crate from our database when that happens.

This will likely need work in the crates-index-diff crate, since IIRC it doesn't currently check for crate deletions, just new publishes and yanks.

@jyn514
Copy link
Member

jyn514 commented Jul 16, 2020

Closing as duplicate of #368

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