-
Notifications
You must be signed in to change notification settings - Fork 36
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
git-protocol: fix bad gitoxide release #752
Conversation
gitoxide's `git-protocol` released a breaking change from version 0.8.0 to 0.8.1. Satisfy the new API, require a lower bound of 0.8.1, and hope for the best. Signed-off-by: Kim Altintop <[email protected]>
@Byron it would be good to prevent these kinds of things in the future by giving known dependents a chance to test releases. |
My apologies for this one, I don't even know how this could slip in and will assure it won't happen again. New tooling should facilitate that, even though it might have been responsible for the bad release (yanked) in the first place. This, along with the collaboration PR feedback, is a clear wakeup call that will cause
I am thinking about adding a CI step to build |
TIL Thinking about it now, I believe the issue (breaking change is not labeled SemVer-breaking) is virtually impossible to catch until it is too late: the dependent project would either need to be built against git tags, or crates.io would need to support some kind of pre-release publishing. Maybe the way to go is to integrate |
To my mind cargo acted unsurprisingly, as opposed to what happens when these pesky However, when bumping minor releases in pre-release software I think
I plan to make it a written guideline to do exactly that - when making a breaking change, also bump the version number accordingly, even if this means the version is bumped multiple times without publishing (leading to sparse releases on crates.io). That way, one will not miss it. That's the way I wanted to work but thus far I was lacking the tooling and the awareness. |
gitoxide's
git-protocol
released a breaking change from version 0.8.0to 0.8.1. Satisfy the new API, require a lower bound of 0.8.1, and hope
for the best.