From 89dde4e490d9b50509c407ff49eff3a821b01bb0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 Jul 2026 12:08:59 +0000 Subject: [PATCH 1/4] build(deps): bump the cargo group across 1 directory with 7 updates Bumps the cargo group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.102` | `1.0.103` | | [log](https://github.com/rust-lang/log) | `0.4.32` | `0.4.33` | | [gix-imara-diff](https://github.com/GitoxideLabs/gitoxide) | `0.2.2` | `0.2.3` | | [git-bot-feedback](https://github.com/2bndy5/git-bot-feedback) | `0.6.1` | `0.8.0` | | [napi](https://github.com/napi-rs/napi-rs) | `3.9.2` | `3.10.3` | | [napi-derive](https://github.com/napi-rs/napi-rs) | `3.5.6` | `3.5.9` | | [which](https://github.com/harryfei/which-rs) | `8.0.3` | `8.0.4` | Updates `anyhow` from 1.0.102 to 1.0.103 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.102...1.0.103) Updates `log` from 0.4.32 to 0.4.33 - [Release notes](https://github.com/rust-lang/log/releases) - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/log/compare/0.4.32...0.4.33) Updates `gix-imara-diff` from 0.2.2 to 0.2.3 - [Release notes](https://github.com/GitoxideLabs/gitoxide/releases) - [Changelog](https://github.com/GitoxideLabs/gitoxide/blob/main/CHANGELOG.md) - [Commits](https://github.com/GitoxideLabs/gitoxide/compare/gix-imara-diff-v0.2.2...gix-imara-diff-v0.2.3) Updates `git-bot-feedback` from 0.6.1 to 0.8.0 - [Release notes](https://github.com/2bndy5/git-bot-feedback/releases) - [Changelog](https://github.com/2bndy5/git-bot-feedback/blob/main/CHANGELOG.md) - [Commits](https://github.com/2bndy5/git-bot-feedback/compare/git-bot-feedback/v0.6.1...git-bot-feedback/v0.8.0) Updates `napi` from 3.9.2 to 3.10.3 - [Release notes](https://github.com/napi-rs/napi-rs/releases) - [Commits](https://github.com/napi-rs/napi-rs/compare/napi-v3.9.2...napi-v3.10.3) Updates `napi-derive` from 3.5.6 to 3.5.9 - [Release notes](https://github.com/napi-rs/napi-rs/releases) - [Commits](https://github.com/napi-rs/napi-rs/compare/napi-derive-v3.5.6...napi-derive-v3.5.9) Updates `which` from 8.0.3 to 8.0.4 - [Release notes](https://github.com/harryfei/which-rs/releases) - [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/harryfei/which-rs/compare/8.0.3...8.0.4) --- updated-dependencies: - dependency-name: anyhow dependency-version: 1.0.103 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: git-bot-feedback dependency-version: 0.8.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: gix-imara-diff dependency-version: 0.2.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: log dependency-version: 0.4.33 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: napi dependency-version: 3.10.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: napi-derive dependency-version: 3.5.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: which dependency-version: 8.0.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo ... Signed-off-by: dependabot[bot] --- Cargo.lock | 32 ++++++++++++++++---------------- cpp-linter/Cargo.toml | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ab69083..7247dd6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -78,9 +78,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.102" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c" +checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3" [[package]] name = "arrayvec" @@ -731,9 +731,9 @@ dependencies = [ [[package]] name = "git-bot-feedback" -version = "0.6.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fef7ddddaceca435d03bee13d2795201e9110b14db9610ba3846274904df41a" +checksum = "39bf0992bfcdce76a39de570912aa38589b8b52138122ef3b47a8b782577aa02" dependencies = [ "async-trait", "chrono", @@ -750,9 +750,9 @@ dependencies = [ [[package]] name = "gix-imara-diff" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19753d40da53d0ec41604750eeb969097a90fb2d7f7992730d904541c04e2c19" +checksum = "b305d85504de270ad3525d726a6b69cc59ee7b2269b014387651107ab9f0755b" dependencies = [ "bstr", "hashbrown 0.17.1", @@ -1196,9 +1196,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.32" +version = "0.4.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "953f07c43838f8e6f9758cab68bf5bed85465e7587ebe0b823f1bcd81978ad3a" +checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad" [[package]] name = "lru-slab" @@ -1266,9 +1266,9 @@ dependencies = [ [[package]] name = "napi" -version = "3.9.2" +version = "3.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d3c7dd60231116a47854321c9ac8df6f13435d11aa3a59d8533a76e07a3730" +checksum = "0c71997d6f7ad4a756966e452426848ac27d3b37a295302d63afbbcce0270f93" dependencies = [ "bitflags", "ctor", @@ -1288,9 +1288,9 @@ checksum = "c9c366d2c8c60b86fa632df75f745509b52f9128f91a6bad4c796e44abb505e1" [[package]] name = "napi-derive" -version = "3.5.6" +version = "3.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b3f766e04667e6da0e181e2da4f85475d5a6513b7cf6a80bea184e224a5b42" +checksum = "d4ba572deef53e2c386759a8c2014175a62679d74ff83adc205c8bc0e0285727" dependencies = [ "convert_case", "ctor", @@ -1302,9 +1302,9 @@ dependencies = [ [[package]] name = "napi-derive-backend" -version = "5.0.4" +version = "5.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d5af30503edf933ce7377cf6d4c877a62b0f1107ea05585f1b5e430e88d5baf" +checksum = "514281397bcddd9ea9a876c7a21a57bff2374237a000ca9a64ea0211ec1993e2" dependencies = [ "convert_case", "proc-macro2", @@ -2478,9 +2478,9 @@ dependencies = [ [[package]] name = "which" -version = "8.0.3" +version = "8.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c789537cf2f7f55be8e6192f92e464174ee55f91af622777f7f1ceb0dbccd03e" +checksum = "48d7cd18d4acb58fb3cdfe9ea54e6cd96a4e7d4cc45c56338b236e82dad47248" dependencies = [ "libc", ] diff --git a/cpp-linter/Cargo.toml b/cpp-linter/Cargo.toml index ebf6410..6e28889 100644 --- a/cpp-linter/Cargo.toml +++ b/cpp-linter/Cargo.toml @@ -32,7 +32,7 @@ thiserror = { workspace = true } tokio = { workspace = true, features = ["macros", "rt-multi-thread"] } [dependencies.git-bot-feedback] -version = "0.6.1" +version = "0.8.0" features = ["file-changes"] # path = "../../git-bot-feedback" # git = "https://github.com/2bndy5/git-bot-feedback" From a69afe8bc3851dcc7562fd001ac725ed67069143 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Tue, 14 Jul 2026 05:17:49 -0700 Subject: [PATCH 2/4] bump git-bot-feedback to 0.8.1 pulls in fix for `LocalClient::get_changed_files()` where `ignore_index` does not show commit details via `git show` --- Cargo.lock | 4 ++-- cpp-linter/Cargo.toml | 2 +- cpp-linter/src/git.rs | 1 + cpp-linter/src/rest_client.rs | 7 +++++++ 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7247dd6..4da42c6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -731,9 +731,9 @@ dependencies = [ [[package]] name = "git-bot-feedback" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39bf0992bfcdce76a39de570912aa38589b8b52138122ef3b47a8b782577aa02" +checksum = "a611bd6faeb494f0a678a0fc3226f3dd54f25153d0e584602805ea6a12bc99ab" dependencies = [ "async-trait", "chrono", diff --git a/cpp-linter/Cargo.toml b/cpp-linter/Cargo.toml index 6e28889..271d4fd 100644 --- a/cpp-linter/Cargo.toml +++ b/cpp-linter/Cargo.toml @@ -32,7 +32,7 @@ thiserror = { workspace = true } tokio = { workspace = true, features = ["macros", "rt-multi-thread"] } [dependencies.git-bot-feedback] -version = "0.8.0" +version = "0.8.1" features = ["file-changes"] # path = "../../git-bot-feedback" # git = "https://github.com/2bndy5/git-bot-feedback" diff --git a/cpp-linter/src/git.rs b/cpp-linter/src/git.rs index e38de77..04af495 100644 --- a/cpp-linter/src/git.rs +++ b/cpp-linter/src/git.rs @@ -85,6 +85,7 @@ mod test { env::set_var("CI", "false"); } let rest_api_client = RestClient::new().unwrap(); + assert_eq!(rest_api_client.client_kind(), "local"); let file_filter = FileFilter::new(&["target"], extensions, None); set_current_dir(tmp).unwrap(); let base_diff = if ignore_staged { diff --git a/cpp-linter/src/rest_client.rs b/cpp-linter/src/rest_client.rs index a710759..5f7428f 100644 --- a/cpp-linter/src/rest_client.rs +++ b/cpp-linter/src/rest_client.rs @@ -54,6 +54,13 @@ impl RestClient { Ok(Self { client }) } + /// Returns the kind of client being used. + /// + /// Supported options include "local", "github" and "gitea". + pub fn client_kind(&self) -> String { + self.client.client_kind() + } + /// Is this a pull request event? pub fn is_pr(&self) -> bool { self.client.is_pr_event() From 8bda70e4d8c52b861468a1390d95253c23a29793 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 14 Jul 2026 12:18:18 +0000 Subject: [PATCH 3/4] chore: auto fixes from pre-commit.com hooks --- cpp-linter/src/rest_client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp-linter/src/rest_client.rs b/cpp-linter/src/rest_client.rs index 5f7428f..45b363c 100644 --- a/cpp-linter/src/rest_client.rs +++ b/cpp-linter/src/rest_client.rs @@ -55,7 +55,7 @@ impl RestClient { } /// Returns the kind of client being used. - /// + /// /// Supported options include "local", "github" and "gitea". pub fn client_kind(&self) -> String { self.client.client_kind() From f0036ea7aa2fe0045a7f9eefa5789403801b06d1 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Tue, 14 Jul 2026 05:21:54 -0700 Subject: [PATCH 4/4] ignore misspelling "gitea" --- cspell.config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/cspell.config.yml b/cspell.config.yml index 5bccf46..d368a94 100644 --- a/cspell.config.yml +++ b/cspell.config.yml @@ -39,6 +39,7 @@ words: - esac - Falsey - fontawesome + - gitea - gitmodules - gnueabi - gnueabihf