-
-
Notifications
You must be signed in to change notification settings - Fork 312
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
Availability: crates.io vs releases #1331
Comments
gix 0.61.1 is yanked due to breaking compilation error unless gix-transport is upgraded at the same time. Though I agree that it would be better to update the release, to mark them as "yanked" on github. |
Fixed downstream, you can probably close this. |
Thanks for reporting! It's incredibly hard to do this right and I hope that over time, I get good enough to get everything right. Thus, I am glad it was fixed downstream by avoiding the yanked version in the manifest instead. Apparently what would have worked is to yank the patch release, but let that be followed up by another patch which reverts to the last known valid state, allowing Cargo to skip the yanked version instead of failing. However, somehow I feel that when using Closing the issue, as suggested, with the option of creating a special patch release if more of downstream is reporting such issues. |
rust-lang/cargo#7169 is the relevant issue. The installation method on starship.rs website is with the For yanking a version, I would recommend what has been told in the
Not a hard requirement but it would be nicer if we follow that :) |
Thanks, I am watching that now.
That's exactly what I learned the hard way here 🤦♂️. Amazing 😅. |
Current behavior 😯
It seems as if the release process does not integrate well with crates.io
https://github.com/Byron/gitoxide/releases has gix at 0.61.1, https://crates.io/crates/gix has it at 0.61.0
Starship release 1.81.1 (https://github.com/starship/starship/releases) released five days ago wants to consume gix 0.61.1
Because crates.io does not have that version of gix, a
cargo install starship
will fail:Expected behavior 🤔
In the immediate case here,
cargo install starship
should work because tagging ofgix
on github should follow a release onto crates.io, too.In case there is release automation, reliable uploading to crates.io should become part of the automation.
(There is a point to be made that starship should not release unless all deps are on crates.io, but then ...)
Git behavior
No response
Steps to reproduce 🕹
No response
The text was updated successfully, but these errors were encountered: