Last 12 weeks · 0 commits
2 of 6 standards met
based on https://github.com/sharkdp/bugreport/issues/2#issuecomment-1671072893: I currently struggle with using which seems highly unmaintained (last commit in 2021) and not moving forward to use : https://github.com/fusion-engineering/rust-git-version/pull/20 I suggest we use a simple custom implementation to query the git version: https://stackoverflow.com/questions/43753491/include-git-commit-hash-as-string-into-rust-program would you be open for a PR like this?
Closes #16 : Rumors say is failing for some people due to a compilation failure from the crate. However the fix has not been merged for over half a year and the crate itself hasn't been active for over 2 years now. There is an alternative crate that's more regularly maintained and I believe it should provide similar functionality needed by this project. Examples copied from 's documentation: I can add the kernel version information too if someone can give suggestions on how to format them together. EDIT: ~~This PR depends on the MSRV bump to 1.74 proposed in #18.~~ merged. A more comprehensive list of outputs is also available in a successful action run based on #18: https://github.com/sola-contrib/bugreport/actions/runs/12552288110
Repository: sharkdp/bugreport. Description: Rust library to collect system and environment information for bug reports Stars: 168, Forks: 13. Primary language: Rust. Languages: Rust (97.8%), Shell (2.2%). License: Apache-2.0. Topics: bug-reporting, diagnostics, rust. Latest release: v0.5.1 (1y ago). Open PRs: 0, open issues: 2. Last activity: 1y ago. Community health: 42%. Top contributors: sharkdp, Enselic, unlimitedsola, eth-p, tversteeg.
Rumors say is failing for some people due to a compilation failure from the crate. However the fix has not been merged for over half a year and the crate itself hasn't been active for over 2 years now. There is an alternative crate that's more regularly maintained and I believe it should provide similar functionality needed by this project. Considering the replacement of the crate might change the output format a little, would love to hear your thoughts on this if I should proceed with a PR.
This PR fixes various CI issues for my other PR #17. Changes Updated Runner Images GitHub Action no longer offers and images. Jobs that depend on these images are no longer schedulable. This PR updates the runner images to what's currently available according to this documentation. Bump MSRV to 1.74.0 I ran into this strange issue when trying to build the current master with Rust 1.43, but not for the current stable version. The version 1.74 is chosen to pave the path for #17 as the crate we are replacing with requires MSRV 1.74 Resolve Clippy Warnings The bumped MSRV also comes with newer lints/warnings, this PR also includes the fixes suggested by Clippy to make CI pass. Lints fixed: clippy::format_push_string clippy::needless_borrows_for_generic_args Here is a successful action run from my forked repo with changes in this PR: https://github.com/sola-contrib/bugreport/actions/runs/12552120598