diff --git a/TOOLS.md b/TOOLS.md index b8020bbb..65412a50 100644 --- a/TOOLS.md +++ b/TOOLS.md @@ -70,7 +70,7 @@ See the [Supported tools section in README.md](README.md#supported-tools) for ho | [**grcov**](https://github.com/mozilla/grcov) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/mozilla/grcov/releases) | Linux, macOS, Windows | [MPL-2.0](https://github.com/mozilla/grcov/blob/master/LICENSE-MPL-2.0) | | | [**gungraun-runner**](https://gungraun.github.io/gungraun/) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/gungraun/gungraun/releases) | Linux | [Apache-2.0](https://github.com/gungraun/gungraun/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/gungraun/gungraun/blob/main/LICENSE-MIT) | | | [**hyperfine**](https://github.com/sharkdp/hyperfine) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/sharkdp/hyperfine/releases) | Linux, macOS, Windows | [MIT](https://github.com/sharkdp/hyperfine/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/sharkdp/hyperfine/blob/master/LICENSE-APACHE) | | -| [**iai-callgrind-runner (deprecated)**](https://gungraun.github.io/gungraun/) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/iai-callgrind/iai-callgrind/releases) | Linux | [Apache-2.0](https://github.com/iai-callgrind/iai-callgrind/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/iai-callgrind/iai-callgrind/blob/main/LICENSE-MIT) | renamed to `gungraun-runner` | +| [**iai-callgrind-runner (deprecated)**](https://gungraun.github.io/gungraun/) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/gungraun/gungraun/releases) | Linux | [Apache-2.0](https://github.com/gungraun/gungraun/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/gungraun/gungraun/blob/main/LICENSE-MIT) | renamed to `gungraun-runner` | | [**jaq**](https://github.com/01mf02/jaq) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/01mf02/jaq/releases) | Linux, macOS, Windows | [MIT](https://github.com/01mf02/jaq/blob/main/LICENSE-MIT) | | | [**just**](https://github.com/casey/just) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/casey/just/releases) | Linux, macOS, Windows | [CC0-1.0](https://github.com/casey/just/blob/master/LICENSE) | | | [**kache**](https://github.com/kunobi-ninja/kache) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/kunobi-ninja/kache/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/kunobi-ninja/kache/blob/main/LICENSE) | | diff --git a/manifests/iai-callgrind-runner.json b/manifests/iai-callgrind-runner.json index 66a0de71..abfc39f7 100644 --- a/manifests/iai-callgrind-runner.json +++ b/manifests/iai-callgrind-runner.json @@ -2,23 +2,23 @@ "rust_crate": "iai-callgrind-runner", "template": { "x86_64_linux_musl": { - "url": "https://github.com/iai-callgrind/iai-callgrind/releases/download/v${version}/iai-callgrind-runner-v${version}-x86_64-unknown-linux-musl.tar.gz", + "url": "https://github.com/gungraun/gungraun/releases/download/v${version}/iai-callgrind-runner-v${version}-x86_64-unknown-linux-musl.tar.gz", "bin": "iai-callgrind-runner-v${version}-x86_64-unknown-linux-musl/iai-callgrind-runner" }, "aarch64_linux_gnu": { - "url": "https://github.com/iai-callgrind/iai-callgrind/releases/download/v${version}/iai-callgrind-runner-v${version}-aarch64-unknown-linux-gnu.tar.gz", + "url": "https://github.com/gungraun/gungraun/releases/download/v${version}/iai-callgrind-runner-v${version}-aarch64-unknown-linux-gnu.tar.gz", "bin": "iai-callgrind-runner-v${version}-aarch64-unknown-linux-gnu/iai-callgrind-runner" }, "powerpc64le_linux_gnu": { - "url": "https://github.com/iai-callgrind/iai-callgrind/releases/download/v${version}/iai-callgrind-runner-v${version}-powerpc64le-unknown-linux-gnu.tar.gz", + "url": "https://github.com/gungraun/gungraun/releases/download/v${version}/iai-callgrind-runner-v${version}-powerpc64le-unknown-linux-gnu.tar.gz", "bin": "iai-callgrind-runner-v${version}-powerpc64le-unknown-linux-gnu/iai-callgrind-runner" }, "riscv64_linux_gnu": { - "url": "https://github.com/iai-callgrind/iai-callgrind/releases/download/v${version}/iai-callgrind-runner-v${version}-riscv64gc-unknown-linux-gnu.tar.gz", + "url": "https://github.com/gungraun/gungraun/releases/download/v${version}/iai-callgrind-runner-v${version}-riscv64gc-unknown-linux-gnu.tar.gz", "bin": "iai-callgrind-runner-v${version}-riscv64gc-unknown-linux-gnu/iai-callgrind-runner" }, "s390x_linux_gnu": { - "url": "https://github.com/iai-callgrind/iai-callgrind/releases/download/v${version}/iai-callgrind-runner-v${version}-s390x-unknown-linux-gnu.tar.gz", + "url": "https://github.com/gungraun/gungraun/releases/download/v${version}/iai-callgrind-runner-v${version}-s390x-unknown-linux-gnu.tar.gz", "bin": "iai-callgrind-runner-v${version}-s390x-unknown-linux-gnu/iai-callgrind-runner" } }, diff --git a/tools/codegen/base/iai-callgrind-runner.json b/tools/codegen/base/iai-callgrind-runner.json index 5d104b73..00967339 100644 --- a/tools/codegen/base/iai-callgrind-runner.json +++ b/tools/codegen/base/iai-callgrind-runner.json @@ -1,7 +1,7 @@ { - "repository": "https://github.com/iai-callgrind/iai-callgrind", + "repository": "https://github.com/gungraun/gungraun", "website": "https://gungraun.github.io/gungraun/", - "license_markdown": "[Apache-2.0](https://github.com/iai-callgrind/iai-callgrind/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/iai-callgrind/iai-callgrind/blob/main/LICENSE-MIT)", + "license_markdown": "[Apache-2.0](https://github.com/gungraun/gungraun/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/gungraun/gungraun/blob/main/LICENSE-MIT)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-v${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/src/main.rs b/tools/codegen/src/main.rs index e2db02c4..a3fd173f 100644 --- a/tools/codegen/src/main.rs +++ b/tools/codegen/src/main.rs @@ -114,7 +114,12 @@ fn main() { if let Some(crate_repository) = info.crate_.repository.clone() { if !crate_repository.to_lowercase().starts_with(&base_info.repository.to_lowercase()) { - panic!("repository {crate_repository} from crates.io differs from base manifest"); + // iai-callgrind-runner has been renamed to gungraun and there is no release as iai-callgrind-runner since it. + if package != "iai-callgrind-runner" { + panic!( + "repository {crate_repository} from crates.io differs from base manifest" + ); + } } } else { panic!("crate metadata does not include a repository");