Comments (5)
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 cargo install
, it should be less strict to make installations work in this case. Or in other words, installations could be a different mode of operation than cargo build
done by devs locally. CC @weihanglo to share this case and ideas.
Closing the issue, as suggested, with the option of creating a special patch release if more of downstream is reporting such issues.
from gitoxide.
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.
from gitoxide.
Fixed downstream, you can probably close this.
from gitoxide.
rust-lang/cargo#7169 is the relevant issue.
The installation method on starship.rs website is with the --locked
flag, so that yanked version can still be selected. I'd generally suggest following what the author recommends. That being said, I understand the inconvenience 😞.
For yanking a version, I would recommend what has been told in the cargo yank
manual:
A common workflow is to yank a crate having already published a semver compatible version, to reduce the probability of preventing dependent crates from compiling.
Not a hard requirement but it would be nicer if we follow that :)
from gitoxide.
rust-lang/cargo#7169 is the relevant issue.
Thanks, I am watching that now.
A common workflow is to yank a crate having already published a semver compatible version, to reduce the probability of preventing dependent crates from compiling.
Not a hard requirement but it would be nicer if we follow that :)
That's exactly what I learned the hard way here 🤦♂️. Amazing 😅.
from gitoxide.
Related Issues (20)
- unread field warnings on nightly HOT 1
- gix_submodule::File::from_bytes is a catch22 HOT 4
- some way to refresh in-memory packed refs cache without relying on mtime HOT 2
- Panic receiving pack if fetch interrupted HOT 2
- `gix clone` sets `core.symlinks` to `false` on Windows even if globally `true` HOT 1
- Checking out a dangling symlink on Windows is treated as a hard error HOT 3
- CI install-action now fails on Windows, can't find .cargo/bin
- 16 tests fail on Windows with GIX_TEST_IGNORE_ARCHIVES=1
- Tests on Windows require Git Bash or a similar environment HOT 1
- Assertion failure crash in `gix_date::time::write::<impl gix_date::Time>::write_to` HOT 3
- `core.excludesFile` config entry exists but has blank value causes error: is this considered a bug or expected behavior? HOT 1
- Nondeterministic macOS `is_symlink` assertion failure in `overwriting_files_and_lone_directories_works` HOT 1
- Backport outside traversal fix to v0.62.x HOT 2
- Installing `[email protected]` via `cargo install` not possible because the `zip` crate in the specified verision is yanked HOT 1
- Could `gix_object::Find` be async?
- "[48] An unknown option was passed in to libcurl" on CentOS 7 HOT 3
- OSS-Fuzz issue 69546 HOT 1
- Use Conventional Commits and calculate version number for releases HOT 1
- OSS-Fuzz issue 69636
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitoxide.