Skip to content
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

Delete versions / crates #23

Open
glueball opened this issue Sep 14, 2021 · 0 comments
Open

Delete versions / crates #23

glueball opened this issue Sep 14, 2021 · 0 comments

Comments

@glueball
Copy link

Crates.io only supports yanking, so other projects/crates, that are locked to a specific version do not break. However, in a private environment, like ktra, it is safer to remove old versions/crates since you can control whether other crates are locked to that particular version.

This should be implemented as an extra web API, since cargo only has the yank subcommand. For extra safety, the delete API should only work on versions that are already yanked, and that are not depended on by any (non-yanked) crate in the same repository.

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

1 participant