-
-
Notifications
You must be signed in to change notification settings - Fork 61
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-cliff: instead of finding git-cliff. It tries to install git-cliff-completions and git-cliff-mangen #387
Comments
Its [[bin]]
name = "git-cliff-completions"
path = "src/bin/completions.rs"
[[bin]]
name = "git-cliff-mangen"
path = "src/bin/mangen.rs" It also has |
I've tried using I suspect that this is an upstream bug. |
The code in question is this line: if package.autobins && self.bin.is_empty() { It disables auto discovery of bins if |
I have submit a PR to fix this: https://gitlab.com/crates.rs/cargo_toml/-/merge_requests/12 |
cargo_toml v0.11.7 is released. Unfortunately, we cannot upgrade to it yet. I think the best way to resolve this is to use toml_edit in cargo_toml. |
I just realized that However, what I can do is relax |
@azzamsa This bug is fixed and released in v0.13.2 |
Amazing, thanks for all the hardwork 🎉 |
Just realized that this PR I made is buggy when installing |
@NobodyXu Am I missing something?
|
It's because the pre-built binary tarball does not contain I will submit a PR soon for this. |
@azzamsa cargo-binstall v0.14.0 has released. |
@NobodyXu Am I missing some params?
|
@azzamsa You don't need any |
@azzamsa To fix the issue, I recommend to submit a PR to git-cliff that makes |
I'm not sure how adding |
The pre-built artifacts provided by git-cliff only contains bin git-cliff but not |
Binstall, unlike a more traditional/proper package manager, mostly relies on guessing rather than an authoritative manifest for packaging. We could probably add a binstall metadata option to override the packaged bins list, to make it clearer / more explicit. As we don't have that yet, and binstall's behaviour is to consider binaries with ...or just include these bins in your tarballs~ |
This should be a bug of
cargo-binstall
, I would investigate on that.P.S.
cargo-binstall
v0.13.1 should support installinggit-cliff
out-of-the-box.Originally posted by @NobodyXu in #385 (comment)
The text was updated successfully, but these errors were encountered: