git-mit: unbreak after github pr moved (#403858)

authored by Wolfgang Walther and committed by GitHub cba47ec8 d8ac94c6

+165 -5
+163
pkgs/by-name/gi/git-mit/libgit2-update.patch
···
··· 1 + From 3e82a4f5017972c7d28151a468bb71fe7d2279e0 Mon Sep 17 00:00:00 2001 2 + From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> 3 + Date: Mon, 13 Jan 2025 01:45:12 +0000 4 + Subject: [PATCH] fix(deps): update rust crate git2 to 0.20.0 5 + 6 + --- 7 + Cargo.lock | 8 ++++---- 8 + git-mit-config/Cargo.toml | 2 +- 9 + git-mit-install/Cargo.toml | 2 +- 10 + git-mit-relates-to/Cargo.toml | 2 +- 11 + git-mit/Cargo.toml | 2 +- 12 + mit-commit-message-lints/Cargo.toml | 2 +- 13 + mit-commit-msg/Cargo.toml | 2 +- 14 + mit-hook-test-helper/Cargo.toml | 2 +- 15 + mit-pre-commit/Cargo.toml | 2 +- 16 + mit-prepare-commit-msg/Cargo.toml | 2 +- 17 + 10 files changed, 13 insertions(+), 13 deletions(-) 18 + 19 + diff --git a/Cargo.lock b/Cargo.lock 20 + index 11c858e8..db9e01dd 100644 21 + --- a/Cargo.lock 22 + +++ b/Cargo.lock 23 + @@ -783,9 +783,9 @@ dependencies = [ 24 + 25 + [[package]] 26 + name = "git2" 27 + -version = "0.19.0" 28 + +version = "0.20.0" 29 + source = "registry+https://github.com/rust-lang/crates.io-index" 30 + -checksum = "b903b73e45dc0c6c596f2d37eccece7c1c8bb6e4407b001096387c63d0d93724" 31 + +checksum = "3fda788993cc341f69012feba8bf45c0ba4f3291fcc08e214b4d5a7332d88aff" 32 + dependencies = [ 33 + "bitflags 2.7.0", 34 + "libc", 35 + @@ -1075,9 +1075,9 @@ checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" 36 + 37 + [[package]] 38 + name = "libgit2-sys" 39 + -version = "0.17.0+1.8.1" 40 + +version = "0.18.0+1.9.0" 41 + source = "registry+https://github.com/rust-lang/crates.io-index" 42 + -checksum = "10472326a8a6477c3c20a64547b0059e4b0d086869eee31e6d7da728a8eb7224" 43 + +checksum = "e1a117465e7e1597e8febea8bb0c410f1c7fb93b1e1cddf34363f8390367ffec" 44 + dependencies = [ 45 + "cc", 46 + "libc", 47 + diff --git a/git-mit-config/Cargo.toml b/git-mit-config/Cargo.toml 48 + index aa1fd61e..3ec0cd93 100644 49 + --- a/git-mit-config/Cargo.toml 50 + +++ b/git-mit-config/Cargo.toml 51 + @@ -15,7 +15,7 @@ mit-lint = "3.2.9" 52 + shell-words = "1.1.0" 53 + thiserror = "1.0.69" 54 + miette = { version = "7.4.0", features = [ "fancy" ] } 55 + -git2 = "0.19.0" 56 + +git2 = "0.20.0" 57 + openssl = { version = "0.10.68", optional = true } 58 + clap_complete = "4.5.42" 59 + clap = { version = "4.5.26", features = ["derive", "cargo", "wrap_help", "env", "unicode" ] } 60 + diff --git a/git-mit-install/Cargo.toml b/git-mit-install/Cargo.toml 61 + index a7611272..96f58672 100644 62 + --- a/git-mit-install/Cargo.toml 63 + +++ b/git-mit-install/Cargo.toml 64 + @@ -18,7 +18,7 @@ clap_complete = "4.5.42" 65 + clap = { version = "4.5.26", features = ["derive", "cargo", "wrap_help", "env", "unicode" ] } 66 + 67 + 68 + -git2 = "0.19.0" 69 + +git2 = "0.20.0" 70 + openssl = { version = "0.10.68", optional = true } 71 + 72 + indoc = "2.0.5" 73 + diff --git a/git-mit-relates-to/Cargo.toml b/git-mit-relates-to/Cargo.toml 74 + index d50d2aa9..c6676bf8 100644 75 + --- a/git-mit-relates-to/Cargo.toml 76 + +++ b/git-mit-relates-to/Cargo.toml 77 + @@ -17,7 +17,7 @@ thiserror = "1.0.69" 78 + miette = { version = "7.4.0", features = [ "fancy" ] } 79 + clap_complete = "4.5.42" 80 + clap = { version = "4.5.26", features = ["derive", "cargo", "wrap_help", "env", "unicode" ] } 81 + -git2 = "0.19.0" 82 + +git2 = "0.20.0" 83 + openssl = { version = "0.10.68", optional = true } 84 + 85 + 86 + diff --git a/git-mit/Cargo.toml b/git-mit/Cargo.toml 87 + index ce108e96..fdda0c55 100644 88 + --- a/git-mit/Cargo.toml 89 + +++ b/git-mit/Cargo.toml 90 + @@ -17,7 +17,7 @@ thiserror = "1.0.69" 91 + miette = { version = "7.4.0", features = [ "fancy" ] } 92 + clap_complete = "4.5.42" 93 + clap = { version = "4.5.26", features = ["derive", "cargo", "wrap_help", "env", "unicode" ] } 94 + -git2 = "0.19.0" 95 + +git2 = "0.20.0" 96 + openssl = { version = "0.10.68", optional = true } 97 + 98 + 99 + diff --git a/mit-commit-message-lints/Cargo.toml b/mit-commit-message-lints/Cargo.toml 100 + index 623b120b..042d71b6 100644 101 + --- a/mit-commit-message-lints/Cargo.toml 102 + +++ b/mit-commit-message-lints/Cargo.toml 103 + @@ -18,7 +18,7 @@ time = { version = "0.3.37", features = ["local-offset"] } 104 + glob = "0.3.2" 105 + thiserror = "1.0.69" 106 + miette = { version = "7.4.0", features = [ "fancy" ] } 107 + -git2 = "0.19.0" 108 + +git2 = "0.20.0" 109 + openssl = { version = "0.10.68", optional = true } 110 + regex = "1.11.1" 111 + serde_yaml = "0.9.34" 112 + diff --git a/mit-commit-msg/Cargo.toml b/mit-commit-msg/Cargo.toml 113 + index 3b8c626e..2c5e1a4f 100644 114 + --- a/mit-commit-msg/Cargo.toml 115 + +++ b/mit-commit-msg/Cargo.toml 116 + @@ -16,7 +16,7 @@ tokio = { version = "1.43.0", features = ["full"] } 117 + mit-lint = "3.2.9" 118 + clap_complete = "4.5.42" 119 + clap = { version = "4.5.26", features = ["derive", "cargo", "wrap_help", "env", "unicode" ] } 120 + -git2 = "0.19.0" 121 + +git2 = "0.20.0" 122 + openssl = { version = "0.10.68", optional = true } 123 + miette = { version = "7.4.0", features = [ "fancy" ] } 124 + mit-commit = "3.2.1" 125 + diff --git a/mit-hook-test-helper/Cargo.toml b/mit-hook-test-helper/Cargo.toml 126 + index 44131375..bccd79ab 100644 127 + --- a/mit-hook-test-helper/Cargo.toml 128 + +++ b/mit-hook-test-helper/Cargo.toml 129 + @@ -14,7 +14,7 @@ description = "Testing help tools for git-mit" 130 + 131 + [dependencies] 132 + tempfile = "3.15.0" 133 + -git2 = "0.19.0" 134 + +git2 = "0.20.0" 135 + openssl = { version = "0.10.68", optional = true } 136 + 137 + 138 + diff --git a/mit-pre-commit/Cargo.toml b/mit-pre-commit/Cargo.toml 139 + index 40ff8a0f..4ce23ff7 100644 140 + --- a/mit-pre-commit/Cargo.toml 141 + +++ b/mit-pre-commit/Cargo.toml 142 + @@ -16,7 +16,7 @@ thiserror = "1.0.69" 143 + miette = { version = "7.4.0", features = [ "fancy" ] } 144 + clap_complete = "4.5.42" 145 + clap = { version = "4.5.26", features = ["derive", "cargo", "wrap_help", "env", "unicode" ] } 146 + -git2 = "0.19.0" 147 + +git2 = "0.20.0" 148 + openssl = { version = "0.10.68", optional = true } 149 + mit-commit = "3.2.1" 150 + 151 + diff --git a/mit-prepare-commit-msg/Cargo.toml b/mit-prepare-commit-msg/Cargo.toml 152 + index fcbbcd14..2aa93263 100644 153 + --- a/mit-prepare-commit-msg/Cargo.toml 154 + +++ b/mit-prepare-commit-msg/Cargo.toml 155 + @@ -19,7 +19,7 @@ miette = { version = "7.4.0", features = [ "fancy" ] } 156 + shell-words = "1.1.0" 157 + clap_complete = "4.5.42" 158 + clap = { version = "4.5.26", features = ["derive", "cargo", "wrap_help", "env", "unicode" ] } 159 + -git2 = "0.19.0" 160 + +git2 = "0.20.0" 161 + openssl = { version = "0.10.68", optional = true } 162 + mit-commit = "3.2.1" 163 +
+2 -5
pkgs/by-name/gi/git-mit/package.nix
··· 28 useFetchCargoVendor = true; 29 30 cargoPatches = [ 31 - (fetchpatch { 32 - name = "libgit2-update.patch"; 33 - url = "https://github.com/PurpleBooth/git-mit/pull/1543/commits/3e82a4f5017972c7d28151a468bb71fe7d2279e0.patch"; 34 - hash = "sha256-M9RpZHjOpZZqdHQe57LwMZ9zX6/4BNg3ymz8H3qupFk="; 35 - }) 36 ]; 37 38 cargoHash = "sha256-uoS6vmHmOVkHS81mrsbbXqP/dAC/FNHAlpTDHSa632k=";
··· 28 useFetchCargoVendor = true; 29 30 cargoPatches = [ 31 + # https://github.com/PurpleBooth/git-mit/pull/1543 32 + ./libgit2-update.patch 33 ]; 34 35 cargoHash = "sha256-uoS6vmHmOVkHS81mrsbbXqP/dAC/FNHAlpTDHSa632k=";