From f5d75a00c2d28f1ce4e4ce1768cc1d1ae5d798cc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 6 Aug 2024 14:19:54 +0200 Subject: [PATCH] Bump gix-config from 0.37.0 to 0.38.0 (#76) * Bump gix-config from 0.37.0 to 0.38.0 Bumps [gix-config](https://github.com/Byron/gitoxide) from 0.37.0 to 0.38.0. - [Release notes](https://github.com/Byron/gitoxide/releases) - [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md) - [Commits](https://github.com/Byron/gitoxide/compare/gix-config-v0.37.0...gix-config-v0.38.0) --- updated-dependencies: - dependency-name: gix-config dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Adjust call to new API --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marvin Vogt --- Cargo.lock | 29 ++++++++++++++--------------- Cargo.toml | 2 +- src/cli/main.rs | 2 +- 3 files changed, 16 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 97a7576..53bf621 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1051,9 +1051,9 @@ checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" [[package]] name = "gix-actor" -version = "0.31.4" +version = "0.31.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b8ee65074b2bbb91d9d97c15d172ea75043aefebf9869b5b329149dc76501c" +checksum = "a0e454357e34b833cc3a00b6efbbd3dd4d18b24b9fb0c023876ec2645e8aa3f2" dependencies = [ "bstr", "gix-date", @@ -1065,9 +1065,9 @@ dependencies = [ [[package]] name = "gix-config" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53fafe42957e11d98e354a66b6bd70aeea00faf2f62dd11164188224a507c840" +checksum = "28f53fd03d1bf09ebcc2c8654f08969439c4556e644ca925f27cf033bc43e658" dependencies = [ "bstr", "gix-config-value", @@ -1086,9 +1086,9 @@ dependencies = [ [[package]] name = "gix-config-value" -version = "0.14.6" +version = "0.14.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbd06203b1a9b33a78c88252a625031b094d9e1b647260070c25b09910c0a804" +checksum = "b328997d74dd15dc71b2773b162cb4af9a25c424105e4876e6d0686ab41c383e" dependencies = [ "bitflags 2.6.0", "bstr", @@ -1126,9 +1126,9 @@ dependencies = [ [[package]] name = "gix-fs" -version = "0.11.1" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3338ff92a2164f5209f185ec0cd316f571a72676bb01d27e22f2867ba69f77a" +checksum = "6adf99c27cdf17b1c4d77680c917e0d94d8783d4e1c73d3be0d1d63107163d7a" dependencies = [ "fastrand 2.1.0", "gix-features", @@ -1137,9 +1137,9 @@ dependencies = [ [[package]] name = "gix-glob" -version = "0.16.3" +version = "0.16.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2a29ad0990cf02c48a7aac76ed0dbddeb5a0d070034b83675cc3bbf937eace4" +checksum = "fa7df15afa265cc8abe92813cd354d522f1ac06b29ec6dfa163ad320575cb447" dependencies = [ "bitflags 2.6.0", "bstr", @@ -1202,12 +1202,11 @@ dependencies = [ [[package]] name = "gix-ref" -version = "0.44.1" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3394a2997e5bc6b22ebc1e1a87b41eeefbcfcff3dbfa7c4bd73cb0ac8f1f3e2e" +checksum = "636e96a0a5562715153fee098c217110c33a6f8218f08f4687ff99afde159bb5" dependencies = [ "gix-actor", - "gix-date", "gix-features", "gix-fs", "gix-hash", @@ -1224,9 +1223,9 @@ dependencies = [ [[package]] name = "gix-sec" -version = "0.10.6" +version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fddc27984a643b20dd03e97790555804f98cf07404e0e552c0ad8133266a79a1" +checksum = "1547d26fa5693a7f34f05b4a3b59a90890972922172653bcb891ab3f09f436df" dependencies = [ "bitflags 2.6.0", "gix-path", diff --git a/Cargo.toml b/Cargo.toml index 908632a..0605e8a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ async-trait = "0.1.80" chrono = "0.4.37" clap = { version = "4.5.13", features = ["derive", "env", "string"] } figment = { version = "0.10.16", features = ["toml", "test"] } -gix-config = "0.37.0" +gix-config = "0.38.0" reqwest = { version = "0.12.2", default-features = false, features = [ "json", "rustls-tls-native-roots", diff --git a/src/cli/main.rs b/src/cli/main.rs index c1cd183..066dcec 100644 --- a/src/cli/main.rs +++ b/src/cli/main.rs @@ -78,7 +78,7 @@ fn default_config_path() -> Resettable { /// The path to the allowed signers file as configured within Git. fn git_allowed_signers() -> Resettable { if let Ok(file) = gix_config::File::from_globals() { - if let Some(path) = file.path("gpg", Some("ssh".into()), "allowedsignersfile") { + if let Some(path) = file.path("gpg.ssh.allowedsignersfile") { if let Ok(interpolated) = path.interpolate(gix_config::path::interpolate::Context { home_dir: env::var("HOME") .ok()