-
-
Notifications
You must be signed in to change notification settings - Fork 320
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
compatibility with cargo auditable #962
Comments
This seems to be tracked here and turned out to be a |
In order to build gitoxide in nixpkgs, I patched the v0.29.0 gitoxide repo, the patchset is very minimal: Two lines modified each in a different Cargo.toml, no functional changes, would you be interested in upstreaming it? @Byron It changes this line https://github.com/Byron/gitoxide/blob/main/gitoxide-core/Cargo.toml#L26 And this line https://github.com/Byron/gitoxide/blob/main/gix-features/Cargo.toml#L20 This is the full patch: |
Thanks for the patch. I couldn't figure out why this would fix anything though, so I fear it will break again. When using older versions of cargo I noticed that it tends to interpret Besides, I had more trouble than I anticipated applying the patch provided here. If you have any tips on how applying the patch should have worked I'd be grateful. |
It's a cargo metadata bug that happens on an edge case of cargo feature parsing: If you define To prevent it there are 2 options:
Option 1 is easier for you to apply, but I will make PRs if cargo auditable breaks as I can notice with a ~24h delay after a new version of gitoxide comes to nixpkgs-unstable.
I think I messed this up as it should've been a PR directly 😅, I even have a fork of gitoxide with the commit applied locally. |
It does, but it skips the commit message and the author as well. I assumed you might want to keep this information in the commit, since you provided it. In theory,
PRs are definitely preferred, even though I am generally open to other channels as long as I find a way to apply these file-based commits correctly :D. |
I made the patch with |
It seems |
nixpkgs doesn't apply patches to a git repo so it ignores the commit info c: |
Summary 💡
cargo_audtiable aims to make it possible to know the versions of packages compiled in a rust executable there by making it possible to identify vulnerabilities in production binaries currently when building with cargo auditable you get this error
Motivation 🔦
No response
The text was updated successfully, but these errors were encountered: