Skip to content

whole crate is marked as yanked if only last version is yanked #253

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
kstep opened this issue Jan 25, 2016 · 2 comments
Closed

whole crate is marked as yanked if only last version is yanked #253

kstep opened this issue Jan 25, 2016 · 2 comments

Comments

@kstep
Copy link

kstep commented Jan 25, 2016

Steps to reproduce:

  1. have several versions of a single package published (e.g. version 0.1.0, 0.1.1 and 0.1.2)
  2. yank the last version with cargo yank (i.e. run cargo yank --vers 0.1.2)

Expected behavior:

Only version 0.1.2 is yanked, the crate's page on crates.io have all other versions accessible (0.1.0 and 0.1.1 in this example, 0.1.1 being the default and latest available version)

Actual behavior:

Whole crate is marked as yanked with a message on crate's page that the crate was removed from repository and only available for already published packages as a dependency.

@alexcrichton
Copy link
Member

I believe this is a dupe of #76, but thanks for the report! If you let me know which crate was affected by this I can fix it up manually in the meantime.

@kstep
Copy link
Author

kstep commented Jan 25, 2016

It was mpd, but I already republished it under another version, so it's OK now.
Thank you for pointing me to the existing issue. I searched for it, but I couldn't find it for some reason.

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