trustification / trustify

Apache License 2.0
8 stars 15 forks source link

fix: add a git cli version #387

Closed ctron closed 1 month ago

ctron commented 1 month ago

Workaround for: https://github.com/rust-lang/git2-rs/issues/1057

ctron commented 1 month ago

I am not completely happy with this PR. The downside is, that this requires the git binary in order to import from OSV and CVE sources. Which in PM mode, we would need to require the user to bring.

On the other side, it doesn't segfault.

ctron commented 1 month ago

I also checked gix, which is a pure Rust implementation for a git client. However, it lacks some features. Most notably the reset function. Maybe working around that limitation is an option.

ctron commented 1 month ago

I am closing this in favor of #400. We can always revive it from git.