diff --git a/manifests/auto-doc.json b/manifests/auto-doc.json index 73a2b233..02c3a693 100644 --- a/manifests/auto-doc.json +++ b/manifests/auto-doc.json @@ -26,7 +26,6 @@ "bin": "auto-doc.exe" } }, - "license_markdown": "[Apache-2.0](https://github.com/tj-actions/auto-doc/blob/main/LICENSE)", "latest": { "version": "3.6.0" }, diff --git a/manifests/biome.json b/manifests/biome.json index f81d0f9f..862220c4 100644 --- a/manifests/biome.json +++ b/manifests/biome.json @@ -1,7 +1,6 @@ { "rust_crate": null, "template": null, - "license_markdown": "[Apache-2.0](https://github.com/biomejs/biome/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/biomejs/biome/blob/main/LICENSE-MIT)", "latest": { "version": "2.4.11" }, diff --git a/manifests/cargo-audit.json b/manifests/cargo-audit.json index 36473aa2..ccd2c8d0 100644 --- a/manifests/cargo-audit.json +++ b/manifests/cargo-audit.json @@ -22,7 +22,6 @@ "bin": "cargo-audit-aarch64-apple-darwin-v${version}/cargo-audit" } }, - "license_markdown": "[Apache-2.0](https://github.com/rustsec/rustsec/blob/HEAD/cargo-audit/LICENSE-APACHE) OR [MIT](https://github.com/rustsec/rustsec/blob/HEAD/cargo-audit/LICENSE-MIT)", "latest": { "version": "0.22.1" }, diff --git a/manifests/cargo-auditable.json b/manifests/cargo-auditable.json index f470d31e..966decfc 100644 --- a/manifests/cargo-auditable.json +++ b/manifests/cargo-auditable.json @@ -26,7 +26,6 @@ "bin": "cargo-auditable.exe" } }, - "license_markdown": "[Apache-2.0](https://github.com/rust-secure-code/cargo-auditable/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/rust-secure-code/cargo-auditable/blob/HEAD/LICENSE-MIT)", "latest": { "version": "0.7.4" }, diff --git a/manifests/cargo-binstall.json b/manifests/cargo-binstall.json index de15b73d..e725067a 100644 --- a/manifests/cargo-binstall.json +++ b/manifests/cargo-binstall.json @@ -20,7 +20,6 @@ "url": "https://github.com/cargo-bins/cargo-binstall/releases/download/v${version}/cargo-binstall-aarch64-pc-windows-msvc.zip" } }, - "license_markdown": "[GPL-3.0](https://github.com/cargo-bins/cargo-binstall/blob/HEAD/crates/bin/LICENSE)", "latest": { "version": "1.18.1" }, diff --git a/manifests/cargo-careful.json b/manifests/cargo-careful.json index 6f3619ae..af05d478 100644 --- a/manifests/cargo-careful.json +++ b/manifests/cargo-careful.json @@ -1,7 +1,6 @@ { "rust_crate": "cargo-careful", "template": null, - "license_markdown": "[MIT](https://github.com/RalfJung/cargo-careful/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/RalfJung/cargo-careful/blob/master/LICENSE-APACHE)", "latest": { "version": "0.4.10" }, diff --git a/manifests/cargo-cyclonedx.json b/manifests/cargo-cyclonedx.json index e869f3e8..769a6c92 100644 --- a/manifests/cargo-cyclonedx.json +++ b/manifests/cargo-cyclonedx.json @@ -1,7 +1,6 @@ { "rust_crate": "cargo-cyclonedx", "template": null, - "license_markdown": "[Apache-2.0](https://github.com/CycloneDX/cyclonedx-rust-cargo/blob/main/LICENSE)", "latest": { "version": "0.5.9" }, diff --git a/manifests/cargo-deadlinks.json b/manifests/cargo-deadlinks.json index 392327ed..ae856b39 100644 --- a/manifests/cargo-deadlinks.json +++ b/manifests/cargo-deadlinks.json @@ -14,7 +14,6 @@ "bin": "cargo-deadlinks" } }, - "license_markdown": "[MIT](https://github.com/deadlinks/cargo-deadlinks/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/deadlinks/cargo-deadlinks/blob/master/LICENSE-APACHE)", "latest": { "version": "0.8.1" }, diff --git a/manifests/cargo-deb.json b/manifests/cargo-deb.json index 338bcf1a..8fd56c22 100644 --- a/manifests/cargo-deb.json +++ b/manifests/cargo-deb.json @@ -6,7 +6,6 @@ "bin": "usr/bin/cargo-deb" } }, - "license_markdown": "[MIT](https://github.com/kornelski/cargo-deb/blob/main/LICENSE)", "latest": { "version": "3.6.3" }, diff --git a/manifests/cargo-deny.json b/manifests/cargo-deny.json index fc11d59c..7aa7b651 100644 --- a/manifests/cargo-deny.json +++ b/manifests/cargo-deny.json @@ -22,7 +22,6 @@ "bin": "cargo-deny-${version}-aarch64-apple-darwin/cargo-deny" } }, - "license_markdown": "[MIT](https://github.com/EmbarkStudios/cargo-deny/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/EmbarkStudios/cargo-deny/blob/main/LICENSE-APACHE)", "latest": { "version": "0.19.2" }, diff --git a/manifests/cargo-dinghy.json b/manifests/cargo-dinghy.json index d7173e22..9d2a1275 100644 --- a/manifests/cargo-dinghy.json +++ b/manifests/cargo-dinghy.json @@ -10,7 +10,6 @@ "bin": "cargo-dinghy-${version}/cargo-dinghy" } }, - "license_markdown": "[MIT](https://github.com/sonos/dinghy/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/sonos/dinghy/blob/main/LICENSE-APACHE)", "latest": { "version": "0.8.4" }, diff --git a/manifests/cargo-export.json b/manifests/cargo-export.json index 4bb1b1db..71303bd1 100644 --- a/manifests/cargo-export.json +++ b/manifests/cargo-export.json @@ -22,7 +22,6 @@ "bin": "cargo-export-v${version}-aarch64-apple-darwin/bin/cargo-export" } }, - "license_markdown": "[MIT](https://github.com/bazhenov/cargo-export/blob/master/LICENSE)", "latest": { "version": "0.2.5" }, diff --git a/manifests/cargo-hack.json b/manifests/cargo-hack.json index dff64c16..81c74cc6 100644 --- a/manifests/cargo-hack.json +++ b/manifests/cargo-hack.json @@ -1,7 +1,6 @@ { "rust_crate": "cargo-hack", "template": null, - "license_markdown": "[Apache-2.0](https://github.com/taiki-e/cargo-hack/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-hack/blob/main/LICENSE-MIT)", "latest": { "version": "0.6.44" }, diff --git a/manifests/cargo-insta.json b/manifests/cargo-insta.json index 1c2707f5..a82b098e 100644 --- a/manifests/cargo-insta.json +++ b/manifests/cargo-insta.json @@ -18,7 +18,6 @@ "bin": "cargo-insta-aarch64-apple-darwin/cargo-insta" } }, - "license_markdown": "[Apache-2.0](https://github.com/mitsuhiko/insta/blob/master/LICENSE)", "latest": { "version": "1.47.2" }, diff --git a/manifests/cargo-lambda.json b/manifests/cargo-lambda.json index 39665a6f..ed10e1f5 100644 --- a/manifests/cargo-lambda.json +++ b/manifests/cargo-lambda.json @@ -18,7 +18,6 @@ "url": "https://github.com/cargo-lambda/cargo-lambda/releases/download/v${version}/cargo-lambda-v${version}.aarch64-apple-darwin.tar.gz" } }, - "license_markdown": "[MIT](https://github.com/cargo-lambda/cargo-lambda/blob/main/LICENSE)", "latest": { "version": "1.9.1" }, diff --git a/manifests/cargo-llvm-cov.json b/manifests/cargo-llvm-cov.json index 901f8fba..c090cf46 100644 --- a/manifests/cargo-llvm-cov.json +++ b/manifests/cargo-llvm-cov.json @@ -29,7 +29,6 @@ "url": "https://github.com/taiki-e/cargo-llvm-cov/releases/download/v${version}/cargo-llvm-cov-s390x-unknown-linux-gnu.tar.gz" } }, - "license_markdown": "[Apache-2.0](https://github.com/taiki-e/cargo-llvm-cov/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-llvm-cov/blob/main/LICENSE-MIT)", "latest": { "version": "0.8.5" }, diff --git a/manifests/cargo-machete.json b/manifests/cargo-machete.json index 23649a99..337d7608 100644 --- a/manifests/cargo-machete.json +++ b/manifests/cargo-machete.json @@ -1,7 +1,6 @@ { "rust_crate": "cargo-machete", "template": null, - "license_markdown": "[MIT](https://github.com/bnjbvr/cargo-machete/blob/main/LICENSE.md)", "latest": { "version": "0.9.1" }, diff --git a/manifests/cargo-make.json b/manifests/cargo-make.json index 68274f2e..6315ceb8 100644 --- a/manifests/cargo-make.json +++ b/manifests/cargo-make.json @@ -18,7 +18,6 @@ "bin": "cargo-make-v${version}-aarch64-apple-darwin/cargo-make" } }, - "license_markdown": "[Apache-2.0](https://github.com/sagiegurari/cargo-make/blob/master/LICENSE)", "latest": { "version": "0.37.24" }, diff --git a/manifests/cargo-minimal-versions.json b/manifests/cargo-minimal-versions.json index 19b18bd2..97d4783a 100644 --- a/manifests/cargo-minimal-versions.json +++ b/manifests/cargo-minimal-versions.json @@ -29,7 +29,6 @@ "url": "https://github.com/taiki-e/cargo-minimal-versions/releases/download/v${version}/cargo-minimal-versions-s390x-unknown-linux-gnu.tar.gz" } }, - "license_markdown": "[Apache-2.0](https://github.com/taiki-e/cargo-minimal-versions/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-minimal-versions/blob/main/LICENSE-MIT)", "latest": { "version": "0.1.37" }, diff --git a/manifests/cargo-neat.json b/manifests/cargo-neat.json index 858745cf..eadf92d5 100644 --- a/manifests/cargo-neat.json +++ b/manifests/cargo-neat.json @@ -22,7 +22,6 @@ "bin": "cargo-neat-${version}-aarch64-apple-darwin/cargo-neat" } }, - "license_markdown": "[MIT](https://github.com/killzoner/cargo-neat/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/killzoner/cargo-neat/blob/master/LICENSE-APACHE)", "latest": { "version": "0.3.2" }, diff --git a/manifests/cargo-nextest.json b/manifests/cargo-nextest.json index 62f72b3c..a524fb18 100644 --- a/manifests/cargo-nextest.json +++ b/manifests/cargo-nextest.json @@ -26,7 +26,6 @@ "url": "https://github.com/nextest-rs/nextest/releases/download/cargo-nextest-${version}/cargo-nextest-${version}-riscv64gc-unknown-linux-gnu.tar.gz" } }, - "license_markdown": "[Apache-2.0](https://github.com/nextest-rs/nextest/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/nextest-rs/nextest/blob/main/LICENSE-MIT)", "latest": { "version": "0.9.132" }, diff --git a/manifests/cargo-no-dev-deps.json b/manifests/cargo-no-dev-deps.json index e048dc81..ab0a727a 100644 --- a/manifests/cargo-no-dev-deps.json +++ b/manifests/cargo-no-dev-deps.json @@ -29,7 +29,6 @@ "url": "https://github.com/taiki-e/cargo-no-dev-deps/releases/download/v${version}/cargo-no-dev-deps-s390x-unknown-linux-gnu.tar.gz" } }, - "license_markdown": "[Apache-2.0](https://github.com/taiki-e/cargo-no-dev-deps/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-no-dev-deps/blob/main/LICENSE-MIT)", "latest": { "version": "0.2.23" }, diff --git a/manifests/cargo-rdme.json b/manifests/cargo-rdme.json index a9bb992f..a1836e29 100644 --- a/manifests/cargo-rdme.json +++ b/manifests/cargo-rdme.json @@ -1,7 +1,6 @@ { "rust_crate": "cargo-rdme", "template": null, - "license_markdown": "[MPL-2.0](https://github.com/orium/cargo-rdme/blob/main/LICENSE.md)", "latest": { "version": "1.4.2" }, diff --git a/manifests/cargo-semver-checks.json b/manifests/cargo-semver-checks.json index 29da79e0..872ca0c5 100644 --- a/manifests/cargo-semver-checks.json +++ b/manifests/cargo-semver-checks.json @@ -17,7 +17,6 @@ "url": "https://github.com/obi1kenobi/cargo-semver-checks/releases/download/v${version}/cargo-semver-checks-aarch64-apple-darwin.tar.gz" } }, - "license_markdown": "[Apache-2.0](https://github.com/obi1kenobi/cargo-semver-checks/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/obi1kenobi/cargo-semver-checks/blob/main/LICENSE-MIT)", "latest": { "version": "0.47.0" }, diff --git a/manifests/cargo-shear.json b/manifests/cargo-shear.json index 37a00815..28bbd13f 100644 --- a/manifests/cargo-shear.json +++ b/manifests/cargo-shear.json @@ -26,7 +26,6 @@ "bin": "cargo-shear.exe" } }, - "license_markdown": "[MIT](https://github.com/Boshen/cargo-shear/blob/main/LICENSE)", "latest": { "version": "1.11.2" }, diff --git a/manifests/cargo-sort.json b/manifests/cargo-sort.json index 36c152f0..3cdbc5ca 100644 --- a/manifests/cargo-sort.json +++ b/manifests/cargo-sort.json @@ -14,7 +14,6 @@ "url": "https://github.com/DevinR528/cargo-sort/releases/download/v${version}/cargo-sort-aarch64-apple-darwin.tar.gz" } }, - "license_markdown": "[Apache-2.0 OR MIT](https://github.com/DevinR528/cargo-sort/blob/v1.0.9/Cargo.toml#L5)", "latest": { "version": "2.1.3" }, diff --git a/manifests/cargo-spellcheck.json b/manifests/cargo-spellcheck.json index f796c7e7..02c4a4be 100644 --- a/manifests/cargo-spellcheck.json +++ b/manifests/cargo-spellcheck.json @@ -8,7 +8,6 @@ "url": "https://github.com/drahnr/cargo-spellcheck/releases/download/v${version}/cargo-spellcheck-v${version}-x86_64-pc-windows-gnu.exe" } }, - "license_markdown": "[LGPLv2.1](https://github.com/drahnr/cargo-spellcheck/blob/master/LICENSE-LGPL)", "latest": { "version": "0.15.1" }, diff --git a/manifests/cargo-tarpaulin.json b/manifests/cargo-tarpaulin.json index 3616be39..3e12a590 100644 --- a/manifests/cargo-tarpaulin.json +++ b/manifests/cargo-tarpaulin.json @@ -17,7 +17,6 @@ "url": "https://github.com/xd009642/tarpaulin/releases/download/${version}/cargo-tarpaulin-aarch64-apple-darwin.tar.gz" } }, - "license_markdown": "[MIT](https://github.com/xd009642/tarpaulin/blob/develop/LICENSE-MIT) OR [Apache-2.0](https://github.com/xd009642/tarpaulin/blob/develop/LICENSE-APACHE)", "latest": { "version": "0.35.2" }, diff --git a/manifests/cargo-udeps.json b/manifests/cargo-udeps.json index 767b6f1e..d636864d 100644 --- a/manifests/cargo-udeps.json +++ b/manifests/cargo-udeps.json @@ -1,7 +1,6 @@ { "rust_crate": "cargo-udeps", "template": null, - "license_markdown": "[Apache-2.0 OR MIT](https://github.com/est31/cargo-udeps/blob/HEAD/LICENSE)", "latest": { "version": "0.1.60" }, diff --git a/manifests/cargo-valgrind.json b/manifests/cargo-valgrind.json index 9cc183a7..f0c13140 100644 --- a/manifests/cargo-valgrind.json +++ b/manifests/cargo-valgrind.json @@ -11,7 +11,6 @@ "url": "https://github.com/jfrimmel/cargo-valgrind/releases/download/${version}/cargo-valgrind-${version}-x86_64-pc-windows-msvc.zip" } }, - "license_markdown": "[MIT](https://github.com/jfrimmel/cargo-valgrind/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/jfrimmel/cargo-valgrind/blob/master/LICENSE-APACHE)", "latest": { "version": "2.4.1" }, diff --git a/manifests/cargo-xwin.json b/manifests/cargo-xwin.json index 452b7cfc..224b9aa3 100644 --- a/manifests/cargo-xwin.json +++ b/manifests/cargo-xwin.json @@ -14,7 +14,6 @@ "url": "https://github.com/rust-cross/cargo-xwin/releases/download/v${version}/cargo-xwin-v${version}.aarch64-unknown-linux-musl.tar.gz" } }, - "license_markdown": "[MIT](https://github.com/rust-cross/cargo-xwin/blob/main/LICENSE)", "latest": { "version": "0.21.5" }, diff --git a/manifests/cargo-zigbuild.json b/manifests/cargo-zigbuild.json index 8579c469..d59d6491 100644 --- a/manifests/cargo-zigbuild.json +++ b/manifests/cargo-zigbuild.json @@ -17,7 +17,6 @@ "url": "https://github.com/rust-cross/cargo-zigbuild/releases/download/v${version}/cargo-zigbuild-v${version}.windows-arm64.zip" } }, - "license_markdown": "[MIT](https://github.com/rust-cross/cargo-zigbuild/blob/main/LICENSE)", "latest": { "version": "0.21.4" }, diff --git a/manifests/coreutils.json b/manifests/coreutils.json index c583850d..a5119c38 100644 --- a/manifests/coreutils.json +++ b/manifests/coreutils.json @@ -1,7 +1,6 @@ { "rust_crate": "coreutils", "template": null, - "license_markdown": "[MIT](https://github.com/uutils/coreutils/blob/main/LICENSE)", "latest": { "version": "0.6.0" }, diff --git a/manifests/cosign.json b/manifests/cosign.json index 51466871..df20905c 100644 --- a/manifests/cosign.json +++ b/manifests/cosign.json @@ -26,7 +26,6 @@ "url": "https://github.com/sigstore/cosign/releases/download/v${version}/cosign-linux-s390x" } }, - "license_markdown": "[Apache-2.0](https://github.com/sigstore/cosign/blob/main/LICENSE)", "latest": { "version": "3.0.6" }, diff --git a/manifests/covgate.json b/manifests/covgate.json index 62a8b11a..acdec66a 100644 --- a/manifests/covgate.json +++ b/manifests/covgate.json @@ -18,7 +18,6 @@ "bin": "covgate-v${version}-aarch64-apple-darwin/covgate" } }, - "license_markdown": "[Apache-2.0](https://github.com/jesse-black/covgate/blob/main/LICENSE)", "latest": { "version": "0.1.4" }, diff --git a/manifests/cross.json b/manifests/cross.json index 24ac4189..a0689f3d 100644 --- a/manifests/cross.json +++ b/manifests/cross.json @@ -1,7 +1,6 @@ { "rust_crate": "cross", "template": null, - "license_markdown": "[MIT](https://github.com/cross-rs/cross/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/cross-rs/cross/blob/main/LICENSE-APACHE)", "latest": { "version": "0.2.5" }, diff --git a/manifests/cyclonedx.json b/manifests/cyclonedx.json index 40c8f094..ca169794 100644 --- a/manifests/cyclonedx.json +++ b/manifests/cyclonedx.json @@ -20,7 +20,6 @@ "url": "https://github.com/CycloneDX/cyclonedx-cli/releases/download/v${version}/cyclonedx-win-arm64.exe" } }, - "license_markdown": "[Apache-2.0](https://github.com/CycloneDX/cyclonedx-cli/blob/main/LICENSE)", "latest": { "version": "0.30.0" }, diff --git a/manifests/deepsource.json b/manifests/deepsource.json index 4486fec7..8d46ff20 100644 --- a/manifests/deepsource.json +++ b/manifests/deepsource.json @@ -17,7 +17,6 @@ "url": "https://github.com/DeepSourceCorp/cli/releases/download/v${version}/deepsource_${version}_darwin_arm64.tar.gz" } }, - "license_markdown": "[BSD-2-Clause](https://github.com/DeepSourceCorp/cli/blob/master/LICENSE)", "latest": { "version": "0.10.1" }, diff --git a/manifests/dprint.json b/manifests/dprint.json index b204717e..137be0cd 100644 --- a/manifests/dprint.json +++ b/manifests/dprint.json @@ -26,7 +26,6 @@ "url": "https://github.com/dprint/dprint/releases/download/${version}/dprint-riscv64gc-unknown-linux-gnu.zip" } }, - "license_markdown": "[MIT](https://github.com/dprint/dprint/blob/main/LICENSE)", "latest": { "version": "0.54.0" }, diff --git a/manifests/earthly.json b/manifests/earthly.json index b18dac6a..efd2eefe 100644 --- a/manifests/earthly.json +++ b/manifests/earthly.json @@ -17,7 +17,6 @@ "url": "https://github.com/earthly/earthly/releases/download/v${version}/earthly-darwin-arm64" } }, - "license_markdown": "[MPL-2.0](https://github.com/earthly/earthly/blob/main/LICENSE)", "latest": { "version": "0.8.16" }, diff --git a/manifests/editorconfig-checker.json b/manifests/editorconfig-checker.json index 913cad1e..bdf5ef5f 100644 --- a/manifests/editorconfig-checker.json +++ b/manifests/editorconfig-checker.json @@ -1,7 +1,6 @@ { "rust_crate": null, "template": null, - "license_markdown": "[MIT](https://github.com/editorconfig-checker/editorconfig-checker/blob/main/LICENSE)", "latest": { "version": "3.6.1" }, diff --git a/manifests/espup.json b/manifests/espup.json index a2dddc8f..90b718bf 100644 --- a/manifests/espup.json +++ b/manifests/espup.json @@ -17,7 +17,6 @@ "url": "https://github.com/esp-rs/espup/releases/download/v${version}/espup-aarch64-apple-darwin.zip" } }, - "license_markdown": "[MIT](https://github.com/esp-rs/espup/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/esp-rs/espup/blob/main/LICENSE-APACHE)", "latest": { "version": "0.16.0" }, diff --git a/manifests/git-cliff.json b/manifests/git-cliff.json index 63862c34..abd8782d 100644 --- a/manifests/git-cliff.json +++ b/manifests/git-cliff.json @@ -26,7 +26,6 @@ "bin": "git-cliff-${version}/git-cliff.exe" } }, - "license_markdown": "[MIT](https://github.com/orhun/git-cliff/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/orhun/git-cliff/blob/main/LICENSE-APACHE)", "latest": { "version": "2.12.0" }, diff --git a/manifests/grcov.json b/manifests/grcov.json index b578299f..2f2cbbc7 100644 --- a/manifests/grcov.json +++ b/manifests/grcov.json @@ -17,7 +17,6 @@ "url": "https://github.com/mozilla/grcov/releases/download/v${version}/grcov-aarch64-apple-darwin.tar.bz2" } }, - "license_markdown": "[MPL-2.0](https://github.com/mozilla/grcov/blob/HEAD/LICENSE-MPL-2.0)", "latest": { "version": "0.10.7" }, diff --git a/manifests/gungraun-runner.json b/manifests/gungraun-runner.json index f8cc46ac..87abf24e 100644 --- a/manifests/gungraun-runner.json +++ b/manifests/gungraun-runner.json @@ -22,7 +22,6 @@ "bin": "gungraun-runner-v${version}-s390x-unknown-linux-gnu/gungraun-runner" } }, - "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)", "latest": { "version": "0.18.1" }, diff --git a/manifests/hyperfine.json b/manifests/hyperfine.json index 64079609..cf51c0af 100644 --- a/manifests/hyperfine.json +++ b/manifests/hyperfine.json @@ -22,7 +22,6 @@ "bin": "hyperfine-v${version}-aarch64-apple-darwin/hyperfine" } }, - "license_markdown": "[MIT](https://github.com/sharkdp/hyperfine/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/sharkdp/hyperfine/blob/master/LICENSE-APACHE)", "latest": { "version": "1.20.0" }, diff --git a/manifests/iai-callgrind-runner.json b/manifests/iai-callgrind-runner.json index 979df976..66a0de71 100644 --- a/manifests/iai-callgrind-runner.json +++ b/manifests/iai-callgrind-runner.json @@ -22,7 +22,6 @@ "bin": "iai-callgrind-runner-v${version}-s390x-unknown-linux-gnu/iai-callgrind-runner" } }, - "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)", "latest": { "version": "0.16.1" }, diff --git a/manifests/jaq.json b/manifests/jaq.json index f55aaafa..da33a499 100644 --- a/manifests/jaq.json +++ b/manifests/jaq.json @@ -17,7 +17,6 @@ "url": "https://github.com/01mf02/jaq/releases/download/v${version}/jaq-v${version}-aarch64-apple-darwin" } }, - "license_markdown": "[MIT](https://github.com/01mf02/jaq/blob/main/LICENSE-MIT)", "latest": { "version": "1.6.0" }, diff --git a/manifests/just.json b/manifests/just.json index b598aaf6..a0f46bb5 100644 --- a/manifests/just.json +++ b/manifests/just.json @@ -20,7 +20,6 @@ "url": "https://github.com/casey/just/releases/download/${version}/just-${version}-aarch64-pc-windows-msvc.zip" } }, - "license_markdown": "[CC0-1.0](https://github.com/casey/just/blob/master/LICENSE)", "latest": { "version": "1.49.0" }, diff --git a/manifests/knope.json b/manifests/knope.json index 4672bd8e..958c9807 100644 --- a/manifests/knope.json +++ b/manifests/knope.json @@ -1,7 +1,6 @@ { "rust_crate": "knope", "template": null, - "license_markdown": "[MIT](https://github.com/knope-dev/knope/blob/main/LICENSE)", "latest": { "version": "0.22.4" }, diff --git a/manifests/martin.json b/manifests/martin.json index 30df896a..f6b3a8c2 100644 --- a/manifests/martin.json +++ b/manifests/martin.json @@ -30,7 +30,6 @@ ] } }, - "license_markdown": "[MIT](https://github.com/maplibre/martin/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/maplibre/martin/blob/main/LICENSE-APACHE)", "latest": { "version": "1.5.0" }, diff --git a/manifests/mdbook-alerts.json b/manifests/mdbook-alerts.json index 792a1e3d..80ca1ccb 100644 --- a/manifests/mdbook-alerts.json +++ b/manifests/mdbook-alerts.json @@ -17,7 +17,6 @@ "url": "https://github.com/lambdalisue/rs-mdbook-alerts/releases/download/v${version}/mdbook-alerts-aarch64-apple-darwin" } }, - "license_markdown": "[MIT](https://github.com/lambdalisue/rs-mdbook-alerts/blob/main/LICENSE)", "latest": { "version": "0.8.0" }, diff --git a/manifests/mdbook-linkcheck.json b/manifests/mdbook-linkcheck.json index ac87660d..fea89a5a 100644 --- a/manifests/mdbook-linkcheck.json +++ b/manifests/mdbook-linkcheck.json @@ -11,7 +11,6 @@ "url": "https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases/download/v${version}/mdbook-linkcheck.x86_64-pc-windows-msvc.zip" } }, - "license_markdown": "[MIT](https://github.com/Michael-F-Bryan/mdbook-linkcheck/blob/master/LICENSE)", "latest": { "version": "0.7.7" }, diff --git a/manifests/mdbook-mermaid-ssr.json b/manifests/mdbook-mermaid-ssr.json index 91e2be31..56555e15 100644 --- a/manifests/mdbook-mermaid-ssr.json +++ b/manifests/mdbook-mermaid-ssr.json @@ -22,7 +22,6 @@ "bin": "mdbook-mermaid-ssr.exe" } }, - "license_markdown": "[MPL-2.0](https://github.com/CommanderStorm/mdbook-mermaid-ssr/blob/main/LICENSE)", "latest": { "version": "0.3.0" }, diff --git a/manifests/mdbook-mermaid.json b/manifests/mdbook-mermaid.json index 8da2675f..803667b1 100644 --- a/manifests/mdbook-mermaid.json +++ b/manifests/mdbook-mermaid.json @@ -22,7 +22,6 @@ "bin": "mdbook-mermaid" } }, - "license_markdown": "[MPL-2.0](https://github.com/badboy/mdbook-mermaid/blob/main/LICENSE)", "latest": { "version": "0.17.0" }, diff --git a/manifests/mdbook.json b/manifests/mdbook.json index ae21a688..e4dd2572 100644 --- a/manifests/mdbook.json +++ b/manifests/mdbook.json @@ -20,7 +20,6 @@ "url": "https://github.com/rust-lang/mdBook/releases/download/v${version}/mdbook-v${version}-aarch64-apple-darwin.tar.gz" } }, - "license_markdown": "[MPL-2.0](https://github.com/rust-lang/mdBook/blob/master/LICENSE)", "latest": { "version": "0.5.2" }, diff --git a/manifests/mise.json b/manifests/mise.json index 1d23087c..faf4d41c 100644 --- a/manifests/mise.json +++ b/manifests/mise.json @@ -26,7 +26,6 @@ "bin": "mise/bin/mise.exe" } }, - "license_markdown": "[MIT](https://github.com/jdx/mise/blob/main/LICENSE)", "latest": { "version": "2026.4.11" }, diff --git a/manifests/osv-scanner.json b/manifests/osv-scanner.json index 58bf24a3..26865075 100644 --- a/manifests/osv-scanner.json +++ b/manifests/osv-scanner.json @@ -1,7 +1,6 @@ { "rust_crate": null, "template": null, - "license_markdown": "[Apache-2.0](https://github.com/google/osv-scanner/blob/main/LICENSE)", "latest": { "version": "2.3.5" }, diff --git a/manifests/parse-changelog.json b/manifests/parse-changelog.json index 71a37f32..7efb9345 100644 --- a/manifests/parse-changelog.json +++ b/manifests/parse-changelog.json @@ -1,7 +1,6 @@ { "rust_crate": "parse-changelog", "template": null, - "license_markdown": "[Apache-2.0](https://github.com/taiki-e/parse-changelog/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/parse-changelog/blob/main/LICENSE-MIT)", "latest": { "version": "0.6.16" }, diff --git a/manifests/parse-dockerfile.json b/manifests/parse-dockerfile.json index 988c5ef0..c467b4ab 100644 --- a/manifests/parse-dockerfile.json +++ b/manifests/parse-dockerfile.json @@ -29,7 +29,6 @@ "url": "https://github.com/taiki-e/parse-dockerfile/releases/download/v${version}/parse-dockerfile-s390x-unknown-linux-gnu.tar.gz" } }, - "license_markdown": "[Apache-2.0](https://github.com/taiki-e/parse-dockerfile/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/parse-dockerfile/blob/main/LICENSE-MIT)", "latest": { "version": "0.1.5" }, diff --git a/manifests/prek.json b/manifests/prek.json index a2a137df..3deb89e7 100644 --- a/manifests/prek.json +++ b/manifests/prek.json @@ -38,7 +38,6 @@ "bin": "prek-s390x-unknown-linux-gnu/prek" } }, - "license_markdown": "[MIT](https://github.com/j178/prek/blob/master/LICENSE)", "latest": { "version": "0.3.9" }, diff --git a/manifests/protoc.json b/manifests/protoc.json index ee3a6fc5..34b5152b 100644 --- a/manifests/protoc.json +++ b/manifests/protoc.json @@ -1,7 +1,6 @@ { "rust_crate": null, "template": null, - "license_markdown": "[BSD-3-Clause](https://github.com/protocolbuffers/protobuf/blob/HEAD/LICENSE)", "latest": { "version": "3.34.1" }, diff --git a/manifests/rclone.json b/manifests/rclone.json index 341e7909..f301eace 100644 --- a/manifests/rclone.json +++ b/manifests/rclone.json @@ -26,7 +26,6 @@ "bin": "rclone-v${version}-windows-arm64/rclone.exe" } }, - "license_markdown": "[MIT](https://github.com/rclone/rclone/blob/master/COPYING)", "latest": { "version": "1.73.4" }, diff --git a/manifests/release-plz.json b/manifests/release-plz.json index fbbf1892..64374069 100644 --- a/manifests/release-plz.json +++ b/manifests/release-plz.json @@ -20,7 +20,6 @@ "url": "https://github.com/release-plz/release-plz/releases/download/release-plz-v${version}/release-plz-aarch64-pc-windows-msvc.tar.gz" } }, - "license_markdown": "[MIT](https://github.com/release-plz/release-plz/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/release-plz/release-plz/blob/main/LICENSE-APACHE)", "latest": { "version": "0.3.157" }, diff --git a/manifests/sccache.json b/manifests/sccache.json index 20086d23..7c9a905e 100644 --- a/manifests/sccache.json +++ b/manifests/sccache.json @@ -34,7 +34,6 @@ "bin": "sccache-v${version}-s390x-unknown-linux-musl/sccache" } }, - "license_markdown": "[Apache-2.0](https://github.com/mozilla/sccache/blob/main/LICENSE)", "latest": { "version": "0.14.0" }, diff --git a/manifests/shellcheck.json b/manifests/shellcheck.json index 661eb727..fe37b643 100644 --- a/manifests/shellcheck.json +++ b/manifests/shellcheck.json @@ -26,7 +26,6 @@ "bin": "shellcheck-v${version}/shellcheck" } }, - "license_markdown": "[GPL-3.0](https://github.com/koalaman/shellcheck/blob/master/LICENSE)", "latest": { "version": "0.11.0" }, diff --git a/manifests/shfmt.json b/manifests/shfmt.json index 5094e6d4..8cd2a276 100644 --- a/manifests/shfmt.json +++ b/manifests/shfmt.json @@ -17,7 +17,6 @@ "url": "https://github.com/mvdan/sh/releases/download/v${version}/shfmt_v${version}_darwin_arm64" } }, - "license_markdown": "[BSD-3-Clause](https://github.com/mvdan/sh/blob/master/LICENSE)", "latest": { "version": "3.13.1" }, diff --git a/manifests/syft.json b/manifests/syft.json index 0d8c23de..92baf6ed 100644 --- a/manifests/syft.json +++ b/manifests/syft.json @@ -34,7 +34,6 @@ "bin": "syft" } }, - "license_markdown": "[Apache-2.0](https://github.com/anchore/syft/blob/main/LICENSE)", "latest": { "version": "1.42.4" }, diff --git a/manifests/taplo.json b/manifests/taplo.json index 03ff6c07..cae587e4 100644 --- a/manifests/taplo.json +++ b/manifests/taplo.json @@ -30,7 +30,6 @@ "bin": "taplo" } }, - "license_markdown": "[MIT](https://github.com/tamasfe/taplo/blob/master/LICENSE)", "latest": { "version": "0.10.0" }, diff --git a/manifests/tombi.json b/manifests/tombi.json index 88245292..fac4b041 100644 --- a/manifests/tombi.json +++ b/manifests/tombi.json @@ -20,7 +20,6 @@ "url": "https://github.com/tombi-toml/tombi/releases/download/v${version}/tombi-cli-${version}-aarch64-pc-windows-msvc.zip" } }, - "license_markdown": "[MIT](https://github.com/tombi-toml/tombi/blob/main/LICENSE)", "latest": { "version": "0.9.17" }, diff --git a/manifests/trivy.json b/manifests/trivy.json index a6ef9950..e8fd65dd 100644 --- a/manifests/trivy.json +++ b/manifests/trivy.json @@ -30,7 +30,6 @@ "bin": "trivy" } }, - "license_markdown": "[Apache-2.0](https://github.com/aquasecurity/trivy/blob/main/LICENSE)", "latest": { "version": "0.69.3" }, diff --git a/manifests/trunk.json b/manifests/trunk.json index e98b690c..8605fa9b 100644 --- a/manifests/trunk.json +++ b/manifests/trunk.json @@ -17,7 +17,6 @@ "url": "https://github.com/trunk-rs/trunk/releases/download/v${version}/trunk-aarch64-apple-darwin.tar.gz" } }, - "license_markdown": "[MIT](https://github.com/trunk-rs/trunk/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/trunk-rs/trunk/blob/main/LICENSE-APACHE)", "latest": { "version": "0.21.14" }, diff --git a/manifests/typos.json b/manifests/typos.json index 85074f70..e480b971 100644 --- a/manifests/typos.json +++ b/manifests/typos.json @@ -20,7 +20,6 @@ "url": "https://github.com/crate-ci/typos/releases/download/v${version}/typos-v${version}-aarch64-apple-darwin.tar.gz" } }, - "license_markdown": "[MIT](https://github.com/crate-ci/typos/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/crate-ci/typos/blob/master/LICENSE-APACHE)", "latest": { "version": "1.45.1" }, diff --git a/manifests/ubi.json b/manifests/ubi.json index b19f996d..f75fb972 100644 --- a/manifests/ubi.json +++ b/manifests/ubi.json @@ -38,7 +38,6 @@ "bin": "ubi" } }, - "license_markdown": "[MIT](https://github.com/houseabsolute/ubi/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/houseabsolute/ubi/blob/master/LICENSE-APACHE)", "latest": { "version": "0.9.0" }, diff --git a/manifests/uv.json b/manifests/uv.json index 99265e05..8b757746 100644 --- a/manifests/uv.json +++ b/manifests/uv.json @@ -67,7 +67,6 @@ ] } }, - "license_markdown": "[Apache-2.0](https://github.com/astral-sh/uv/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/astral-sh/uv/blob/main/LICENSE-MIT)", "latest": { "version": "0.11.6" }, diff --git a/manifests/vacuum.json b/manifests/vacuum.json index be743cac..79906465 100644 --- a/manifests/vacuum.json +++ b/manifests/vacuum.json @@ -20,7 +20,6 @@ "url": "https://github.com/daveshanley/vacuum/releases/download/v${version}/vacuum_${version}_windows_arm64.tar.gz" } }, - "license_markdown": "[MIT](https://github.com/daveshanley/vacuum/blob/main/LICENSE)", "latest": { "version": "0.25.8" }, diff --git a/manifests/wait-for-them.json b/manifests/wait-for-them.json index 2929a911..c9aa3d56 100644 --- a/manifests/wait-for-them.json +++ b/manifests/wait-for-them.json @@ -11,7 +11,6 @@ "url": "https://github.com/shenek/wait-for-them/releases/download/v${version}/wait-for-them-macos" } }, - "license_markdown": "[GPL-3.0](https://github.com/shenek/wait-for-them/blob/v0.4.0/Cargo.toml#L7)", "latest": { "version": "0.5.1" }, diff --git a/manifests/wash.json b/manifests/wash.json index 9cc32492..f8aaf393 100644 --- a/manifests/wash.json +++ b/manifests/wash.json @@ -1,7 +1,6 @@ { "rust_crate": "wash", "template": null, - "license_markdown": "[Apache-2.0](https://github.com/wasmCloud/wasmCloud/blob/main/LICENSE)", "latest": { "version": "0.43.0" }, diff --git a/manifests/wasm-bindgen.json b/manifests/wasm-bindgen.json index 2c63f790..c83b415b 100644 --- a/manifests/wasm-bindgen.json +++ b/manifests/wasm-bindgen.json @@ -42,7 +42,6 @@ ] } }, - "license_markdown": "[MIT](https://github.com/wasm-bindgen/wasm-bindgen/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/wasm-bindgen/wasm-bindgen/blob/main/LICENSE-APACHE)", "latest": { "version": "0.2.118" }, diff --git a/manifests/wasm-pack.json b/manifests/wasm-pack.json index 13778722..2dcfde40 100644 --- a/manifests/wasm-pack.json +++ b/manifests/wasm-pack.json @@ -22,7 +22,6 @@ "bin": "wasm-pack-v${version}-aarch64-apple-darwin/wasm-pack" } }, - "license_markdown": "[MIT](https://github.com/drager/wasm-pack/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/drager/wasm-pack/blob/master/LICENSE-APACHE)", "latest": { "version": "0.14.0" }, diff --git a/manifests/wasm-tools.json b/manifests/wasm-tools.json index 7fb779d7..710ad6ce 100644 --- a/manifests/wasm-tools.json +++ b/manifests/wasm-tools.json @@ -22,7 +22,6 @@ "bin": "wasm-tools-${version}-aarch64-macos/wasm-tools" } }, - "license_markdown": "[Apache-2.0 WITH LLVM-exception](https://github.com/bytecodealliance/wasm-tools/blob/main/LICENSE-APACHE) OR [Apache-2.0](https://github.com/bytecodealliance/wasm-tools/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/bytecodealliance/wasm-tools/blob/main/LICENSE-MIT)", "latest": { "version": "1.246.2" }, diff --git a/manifests/wasmtime.json b/manifests/wasmtime.json index c9256f73..77a4e841 100644 --- a/manifests/wasmtime.json +++ b/manifests/wasmtime.json @@ -34,7 +34,6 @@ "bin": "wasmtime-v${version}-s390x-linux/wasmtime" } }, - "license_markdown": "[Apache-2.0 WITH LLVM-exception](https://github.com/bytecodealliance/wasmtime/blob/main/LICENSE)", "latest": { "version": "43.0.1" }, diff --git a/manifests/xbuild.json b/manifests/xbuild.json index 87e132c9..d589bb0f 100644 --- a/manifests/xbuild.json +++ b/manifests/xbuild.json @@ -14,7 +14,6 @@ "bin": "xbuild-windows-x64.exe" } }, - "license_markdown": "[Apache-2.0 OR MIT](https://github.com/rust-mobile/xbuild/blob/v0.2.0/xbuild/Cargo.toml#L7)", "latest": { "version": "0.2.0" }, diff --git a/manifests/xh.json b/manifests/xh.json index 4e93aa03..d92c4961 100644 --- a/manifests/xh.json +++ b/manifests/xh.json @@ -22,7 +22,6 @@ "bin": "xh-v${version}-aarch64-apple-darwin/xh" } }, - "license_markdown": "[MIT](https://github.com/ducaale/xh/blob/master/LICENSE)", "latest": { "version": "0.25.3" }, diff --git a/manifests/zizmor.json b/manifests/zizmor.json index 8b721b95..b44be5eb 100644 --- a/manifests/zizmor.json +++ b/manifests/zizmor.json @@ -17,7 +17,6 @@ "url": "https://github.com/zizmorcore/zizmor/releases/download/v${version}/zizmor-aarch64-apple-darwin.tar.gz" } }, - "license_markdown": "[MIT](https://github.com/zizmorcore/zizmor/blob/main/LICENSE)", "latest": { "version": "1.24.1" }, diff --git a/manifests/zola.json b/manifests/zola.json index 4f819b1a..f310f946 100644 --- a/manifests/zola.json +++ b/manifests/zola.json @@ -20,7 +20,6 @@ "url": "https://github.com/getzola/zola/releases/download/v${version}/zola-v${version}-aarch64-apple-darwin.tar.gz" } }, - "license_markdown": "[MIT](https://github.com/getzola/zola/blob/master/LICENSE)", "latest": { "version": "0.22.1" }, diff --git a/tools/codegen/Cargo.toml b/tools/codegen/Cargo.toml index e746db38..03e77509 100644 --- a/tools/codegen/Cargo.toml +++ b/tools/codegen/Cargo.toml @@ -15,7 +15,6 @@ semver = { version = "1", features = ["serde"] } serde = "1" serde_derive = "1" serde_json = "1" -spdx = "0.13" tar = "0.4" toml = { version = "1", default-features = false, features = ["parse", "serde"] } # TODO: call curl command instead of using ureq? diff --git a/tools/codegen/base/auto-doc.json b/tools/codegen/base/auto-doc.json index f63d99b6..90ead48e 100644 --- a/tools/codegen/base/auto-doc.json +++ b/tools/codegen/base/auto-doc.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/tj-actions/auto-doc", + "license_markdown": "[Apache-2.0](https://github.com/tj-actions/auto-doc/blob/main/LICENSE)", "tag_prefix": "v", "bin": "${package}${exe}", "version_range": ">= 3.0.0", diff --git a/tools/codegen/base/cargo-audit.json b/tools/codegen/base/cargo-audit.json index c6ec23e7..6db11253 100644 --- a/tools/codegen/base/cargo-audit.json +++ b/tools/codegen/base/cargo-audit.json @@ -1,7 +1,7 @@ { "repository": "https://github.com/rustsec/rustsec", "website": "https://github.com/rustsec/rustsec/tree/HEAD/cargo-audit", - "license_markdown": "[Apache-2.0](https://github.com/rustsec/rustsec/blob/HEAD/cargo-audit/LICENSE-APACHE) OR [MIT](https://github.com/rustsec/rustsec/blob/HEAD/cargo-audit/LICENSE-MIT)", + "license_markdown": "[Apache-2.0](https://github.com/rustsec/rustsec/blob/main/cargo-audit/LICENSE-APACHE) OR [MIT](https://github.com/rustsec/rustsec/blob/main/cargo-audit/LICENSE-MIT)", "tag_prefix": "cargo-audit/v", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}-v${version}.tgz", diff --git a/tools/codegen/base/cargo-auditable.json b/tools/codegen/base/cargo-auditable.json index 66db3b6b..9523ffa7 100644 --- a/tools/codegen/base/cargo-auditable.json +++ b/tools/codegen/base/cargo-auditable.json @@ -1,6 +1,6 @@ { "repository": "https://github.com/rust-secure-code/cargo-auditable", - "license_markdown": "[Apache-2.0](https://github.com/rust-secure-code/cargo-auditable/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/rust-secure-code/cargo-auditable/blob/HEAD/LICENSE-MIT)", + "license_markdown": "[Apache-2.0](https://github.com/rust-secure-code/cargo-auditable/blob/master/LICENSE-APACHE) OR [MIT](https://github.com/rust-secure-code/cargo-auditable/blob/master/LICENSE-MIT)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.tar.xz", diff --git a/tools/codegen/base/cargo-binstall.json b/tools/codegen/base/cargo-binstall.json index 0371b652..2982acf6 100644 --- a/tools/codegen/base/cargo-binstall.json +++ b/tools/codegen/base/cargo-binstall.json @@ -1,6 +1,6 @@ { "repository": "https://github.com/cargo-bins/cargo-binstall", - "license_markdown": "[GPL-3.0](https://github.com/cargo-bins/cargo-binstall/blob/HEAD/crates/bin/LICENSE)", + "license_markdown": "[GPL-3.0](https://github.com/cargo-bins/cargo-binstall/blob/main/crates/bin/LICENSE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.zip", diff --git a/tools/codegen/base/cargo-careful.json b/tools/codegen/base/cargo-careful.json index a8c0d176..1a31efea 100644 --- a/tools/codegen/base/cargo-careful.json +++ b/tools/codegen/base/cargo-careful.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/RalfJung/cargo-careful", + "license_markdown": "[MIT](https://github.com/RalfJung/cargo-careful/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/RalfJung/cargo-careful/blob/master/LICENSE-APACHE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}", diff --git a/tools/codegen/base/cargo-cyclonedx.json b/tools/codegen/base/cargo-cyclonedx.json index 53947515..2347580a 100644 --- a/tools/codegen/base/cargo-cyclonedx.json +++ b/tools/codegen/base/cargo-cyclonedx.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/CycloneDX/cyclonedx-rust-cargo", + "license_markdown": "[Apache-2.0](https://github.com/CycloneDX/cyclonedx-rust-cargo/blob/main/LICENSE)", "tag_prefix": "cargo-cyclonedx-", "rust_crate": "${package}", "bin": "${package}-${rust_target}/${package}${exe}", diff --git a/tools/codegen/base/cargo-deadlinks.json b/tools/codegen/base/cargo-deadlinks.json index d4fb72ff..441bf885 100644 --- a/tools/codegen/base/cargo-deadlinks.json +++ b/tools/codegen/base/cargo-deadlinks.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/deadlinks/cargo-deadlinks", + "license_markdown": "[MIT](https://github.com/deadlinks/cargo-deadlinks/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/deadlinks/cargo-deadlinks/blob/master/LICENSE-APACHE)", "tag_prefix": "", "rust_crate": "${package}", "asset_name": "${package}-${rust_target_os}", diff --git a/tools/codegen/base/cargo-deny.json b/tools/codegen/base/cargo-deny.json index 9cbe4a6c..e72e0ac0 100644 --- a/tools/codegen/base/cargo-deny.json +++ b/tools/codegen/base/cargo-deny.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/EmbarkStudios/cargo-deny", + "license_markdown": "[MIT](https://github.com/EmbarkStudios/cargo-deny/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/EmbarkStudios/cargo-deny/blob/main/LICENSE-APACHE)", "tag_prefix": "", "rust_crate": "${package}", "asset_name": "${package}-${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/cargo-dinghy.json b/tools/codegen/base/cargo-dinghy.json index c9e57fb3..e3a52bce 100644 --- a/tools/codegen/base/cargo-dinghy.json +++ b/tools/codegen/base/cargo-dinghy.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/sonos/dinghy", + "license_markdown": "[MIT](https://github.com/sonos/dinghy/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/sonos/dinghy/blob/main/LICENSE-APACHE)", "tag_prefix": "", "rust_crate": "${package}", "broken": ["0.7.0"], diff --git a/tools/codegen/base/cargo-export.json b/tools/codegen/base/cargo-export.json index fcf3d286..e2702361 100644 --- a/tools/codegen/base/cargo-export.json +++ b/tools/codegen/base/cargo-export.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/bazhenov/cargo-export", + "license_markdown": "[MIT](https://github.com/bazhenov/cargo-export/blob/master/LICENSE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-v${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/cargo-hack.json b/tools/codegen/base/cargo-hack.json index df93ecbc..ce54643b 100644 --- a/tools/codegen/base/cargo-hack.json +++ b/tools/codegen/base/cargo-hack.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/taiki-e/cargo-hack", + "license_markdown": "[Apache-2.0](https://github.com/taiki-e/cargo-hack/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-hack/blob/main/LICENSE-MIT)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": [ diff --git a/tools/codegen/base/cargo-insta.json b/tools/codegen/base/cargo-insta.json index 02b0154d..1a8b9426 100644 --- a/tools/codegen/base/cargo-insta.json +++ b/tools/codegen/base/cargo-insta.json @@ -1,6 +1,7 @@ { "repository": "https://github.com/mitsuhiko/insta", "website": "https://insta.rs/", + "license_markdown": "[Apache-2.0](https://github.com/mitsuhiko/insta/blob/master/LICENSE)", "tag_prefix": "", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.tar.xz", diff --git a/tools/codegen/base/cargo-lambda.json b/tools/codegen/base/cargo-lambda.json index abdcd0b3..1e0e98ce 100644 --- a/tools/codegen/base/cargo-lambda.json +++ b/tools/codegen/base/cargo-lambda.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/cargo-lambda/cargo-lambda", + "license_markdown": "[MIT](https://github.com/cargo-lambda/cargo-lambda/blob/main/LICENSE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-v${version}.${rust_target}.tar.gz", diff --git a/tools/codegen/base/cargo-llvm-cov.json b/tools/codegen/base/cargo-llvm-cov.json index d0b123a5..d06ce50c 100644 --- a/tools/codegen/base/cargo-llvm-cov.json +++ b/tools/codegen/base/cargo-llvm-cov.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/taiki-e/cargo-llvm-cov", + "license_markdown": "[Apache-2.0](https://github.com/taiki-e/cargo-llvm-cov/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-llvm-cov/blob/main/LICENSE-MIT)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/cargo-machete.json b/tools/codegen/base/cargo-machete.json index f492d8a0..cd3f7862 100644 --- a/tools/codegen/base/cargo-machete.json +++ b/tools/codegen/base/cargo-machete.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/bnjbvr/cargo-machete", + "license_markdown": "[MIT](https://github.com/bnjbvr/cargo-machete/blob/main/LICENSE.md)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-v${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/cargo-make.json b/tools/codegen/base/cargo-make.json index 1edabfbf..4ec55ab1 100644 --- a/tools/codegen/base/cargo-make.json +++ b/tools/codegen/base/cargo-make.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/sagiegurari/cargo-make", + "license_markdown": "[Apache-2.0](https://github.com/sagiegurari/cargo-make/blob/master/LICENSE)", "tag_prefix": "", "rust_crate": "${package}", "asset_name": "${package}-v${version}-${rust_target}.zip", diff --git a/tools/codegen/base/cargo-minimal-versions.json b/tools/codegen/base/cargo-minimal-versions.json index 0cd3db47..245e674b 100644 --- a/tools/codegen/base/cargo-minimal-versions.json +++ b/tools/codegen/base/cargo-minimal-versions.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/taiki-e/cargo-minimal-versions", + "license_markdown": "[Apache-2.0](https://github.com/taiki-e/cargo-minimal-versions/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-minimal-versions/blob/main/LICENSE-MIT)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/cargo-neat.json b/tools/codegen/base/cargo-neat.json index 132a47b9..61b11524 100644 --- a/tools/codegen/base/cargo-neat.json +++ b/tools/codegen/base/cargo-neat.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/killzoner/cargo-neat", + "license_markdown": "[MIT](https://github.com/killzoner/cargo-neat/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/killzoner/cargo-neat/blob/master/LICENSE-APACHE)", "tag_prefix": "", "rust_crate": "${package}", "asset_name": "${package}-${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/cargo-nextest.json b/tools/codegen/base/cargo-nextest.json index 94f0a302..e4013900 100644 --- a/tools/codegen/base/cargo-nextest.json +++ b/tools/codegen/base/cargo-nextest.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/nextest-rs/nextest", + "license_markdown": "[Apache-2.0](https://github.com/nextest-rs/nextest/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/nextest-rs/nextest/blob/main/LICENSE-MIT)", "tag_prefix": "cargo-nextest-", "rust_crate": "${package}", "asset_name": "${package}-${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/cargo-no-dev-deps.json b/tools/codegen/base/cargo-no-dev-deps.json index 6d7c7dad..07c11b0f 100644 --- a/tools/codegen/base/cargo-no-dev-deps.json +++ b/tools/codegen/base/cargo-no-dev-deps.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/taiki-e/cargo-no-dev-deps", + "license_markdown": "[Apache-2.0](https://github.com/taiki-e/cargo-no-dev-deps/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-no-dev-deps/blob/main/LICENSE-MIT)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/cargo-rdme.json b/tools/codegen/base/cargo-rdme.json index 5ee57c4e..4d76a28d 100644 --- a/tools/codegen/base/cargo-rdme.json +++ b/tools/codegen/base/cargo-rdme.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/orium/cargo-rdme", + "license_markdown": "[MPL-2.0](https://github.com/orium/cargo-rdme/blob/main/LICENSE.md)", "tag_prefix": "v", "rust_crate": "${package}", "broken": [ diff --git a/tools/codegen/base/cargo-semver-checks.json b/tools/codegen/base/cargo-semver-checks.json index 33bf7007..e684267b 100644 --- a/tools/codegen/base/cargo-semver-checks.json +++ b/tools/codegen/base/cargo-semver-checks.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/obi1kenobi/cargo-semver-checks", + "license_markdown": "[Apache-2.0](https://github.com/obi1kenobi/cargo-semver-checks/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/obi1kenobi/cargo-semver-checks/blob/main/LICENSE-MIT)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/cargo-shear.json b/tools/codegen/base/cargo-shear.json index edfd7420..cffae276 100644 --- a/tools/codegen/base/cargo-shear.json +++ b/tools/codegen/base/cargo-shear.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/Boshen/cargo-shear", + "license_markdown": "[MIT](https://github.com/Boshen/cargo-shear/blob/main/LICENSE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/cargo-tarpaulin.json b/tools/codegen/base/cargo-tarpaulin.json index 71c02813..a266ee45 100644 --- a/tools/codegen/base/cargo-tarpaulin.json +++ b/tools/codegen/base/cargo-tarpaulin.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/xd009642/tarpaulin", + "license_markdown": "[MIT](https://github.com/xd009642/tarpaulin/blob/develop/LICENSE-MIT) OR [Apache-2.0](https://github.com/xd009642/tarpaulin/blob/develop/LICENSE-APACHE)", "tag_prefix": "", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/cargo-udeps.json b/tools/codegen/base/cargo-udeps.json index 8cf4cff1..7a3a2c28 100644 --- a/tools/codegen/base/cargo-udeps.json +++ b/tools/codegen/base/cargo-udeps.json @@ -1,6 +1,6 @@ { "repository": "https://github.com/est31/cargo-udeps", - "license_markdown": "[Apache-2.0 OR MIT](https://github.com/est31/cargo-udeps/blob/HEAD/LICENSE)", + "license_markdown": "[Apache-2.0 OR MIT](https://github.com/est31/cargo-udeps/blob/master/LICENSE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-v${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/cargo-valgrind.json b/tools/codegen/base/cargo-valgrind.json index 20f84849..043940d4 100644 --- a/tools/codegen/base/cargo-valgrind.json +++ b/tools/codegen/base/cargo-valgrind.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/jfrimmel/cargo-valgrind", + "license_markdown": "[MIT](https://github.com/jfrimmel/cargo-valgrind/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/jfrimmel/cargo-valgrind/blob/master/LICENSE-APACHE)", "tag_prefix": "", "rust_crate": "${package}", "asset_name": "${package}-${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/cargo-zigbuild.json b/tools/codegen/base/cargo-zigbuild.json index 42cfc3df..d1686f95 100644 --- a/tools/codegen/base/cargo-zigbuild.json +++ b/tools/codegen/base/cargo-zigbuild.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/rust-cross/cargo-zigbuild", + "license_markdown": "[MIT](https://github.com/rust-cross/cargo-zigbuild/blob/main/LICENSE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-v${version}.${rust_target}.tar.gz", diff --git a/tools/codegen/base/coreutils.json b/tools/codegen/base/coreutils.json index 89606f2f..e40d994f 100644 --- a/tools/codegen/base/coreutils.json +++ b/tools/codegen/base/coreutils.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/uutils/coreutils", + "license_markdown": "[MIT](https://github.com/uutils/coreutils/blob/main/LICENSE)", "tag_prefix": "", "rust_crate": "${package}", "asset_name": "${package}-${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/cosign.json b/tools/codegen/base/cosign.json index cc92ded6..fbe689d8 100644 --- a/tools/codegen/base/cosign.json +++ b/tools/codegen/base/cosign.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/sigstore/cosign", + "license_markdown": "[Apache-2.0](https://github.com/sigstore/cosign/blob/main/LICENSE)", "tag_prefix": "v", "version_range": ">= 3.0.0", "signing": { diff --git a/tools/codegen/base/covgate.json b/tools/codegen/base/covgate.json index b01b1246..8bea4a05 100644 --- a/tools/codegen/base/covgate.json +++ b/tools/codegen/base/covgate.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/jesse-black/covgate", + "license_markdown": "[Apache-2.0](https://github.com/jesse-black/covgate/blob/main/LICENSE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-v${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/cross.json b/tools/codegen/base/cross.json index 939a12ae..bc8b28bc 100644 --- a/tools/codegen/base/cross.json +++ b/tools/codegen/base/cross.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/cross-rs/cross", + "license_markdown": "[MIT](https://github.com/cross-rs/cross/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/cross-rs/cross/blob/main/LICENSE-APACHE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": [ diff --git a/tools/codegen/base/cyclonedx.json b/tools/codegen/base/cyclonedx.json index 52514b48..b85f7cc3 100644 --- a/tools/codegen/base/cyclonedx.json +++ b/tools/codegen/base/cyclonedx.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/CycloneDX/cyclonedx-cli", + "license_markdown": "[Apache-2.0](https://github.com/CycloneDX/cyclonedx-cli/blob/main/LICENSE)", "tag_prefix": "v", "version_range": ">= 0.27.2", "platform": { diff --git a/tools/codegen/base/deepsource.json b/tools/codegen/base/deepsource.json index dc6d281a..938e6db6 100644 --- a/tools/codegen/base/deepsource.json +++ b/tools/codegen/base/deepsource.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/DeepSourceCorp/cli", + "license_markdown": "[BSD-2-Clause](https://github.com/DeepSourceCorp/cli/blob/master/LICENSE)", "tag_prefix": "v", "version_range": ">= 0.8.6", "platform": { diff --git a/tools/codegen/base/dprint.json b/tools/codegen/base/dprint.json index 78f9f536..c1de40b0 100644 --- a/tools/codegen/base/dprint.json +++ b/tools/codegen/base/dprint.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/dprint/dprint", + "license_markdown": "[MIT](https://github.com/dprint/dprint/blob/main/LICENSE)", "tag_prefix": "", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.zip", diff --git a/tools/codegen/base/earthly.json b/tools/codegen/base/earthly.json index 448e7210..83d255f8 100644 --- a/tools/codegen/base/earthly.json +++ b/tools/codegen/base/earthly.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/earthly/earthly", + "license_markdown": "[MPL-2.0](https://github.com/earthly/earthly/blob/main/LICENSE)", "tag_prefix": "v", "version_range": ">= 0.8.13", "platform": { diff --git a/tools/codegen/base/editorconfig-checker.json b/tools/codegen/base/editorconfig-checker.json index 0fb8a306..e266bd48 100644 --- a/tools/codegen/base/editorconfig-checker.json +++ b/tools/codegen/base/editorconfig-checker.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/editorconfig-checker/editorconfig-checker", + "license_markdown": "[MIT](https://github.com/editorconfig-checker/editorconfig-checker/blob/main/LICENSE)", "tag_prefix": "v", "version_range": ">= 3.0.0", "platform": { diff --git a/tools/codegen/base/espup.json b/tools/codegen/base/espup.json index 9d62f696..58b64c52 100644 --- a/tools/codegen/base/espup.json +++ b/tools/codegen/base/espup.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/esp-rs/espup", + "license_markdown": "[MIT](https://github.com/esp-rs/espup/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/esp-rs/espup/blob/main/LICENSE-APACHE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.zip", diff --git a/tools/codegen/base/git-cliff.json b/tools/codegen/base/git-cliff.json index ede4c128..27886641 100644 --- a/tools/codegen/base/git-cliff.json +++ b/tools/codegen/base/git-cliff.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/orhun/git-cliff", + "license_markdown": "[MIT](https://github.com/orhun/git-cliff/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/orhun/git-cliff/blob/main/LICENSE-APACHE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/grcov.json b/tools/codegen/base/grcov.json index 6f996fc1..a1cb989e 100644 --- a/tools/codegen/base/grcov.json +++ b/tools/codegen/base/grcov.json @@ -1,6 +1,6 @@ { "repository": "https://github.com/mozilla/grcov", - "license_markdown": "[MPL-2.0](https://github.com/mozilla/grcov/blob/HEAD/LICENSE-MPL-2.0)", + "license_markdown": "[MPL-2.0](https://github.com/mozilla/grcov/blob/master/LICENSE-MPL-2.0)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.tar.bz2", diff --git a/tools/codegen/base/hyperfine.json b/tools/codegen/base/hyperfine.json index 14a715fa..8678d19d 100644 --- a/tools/codegen/base/hyperfine.json +++ b/tools/codegen/base/hyperfine.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/sharkdp/hyperfine", + "license_markdown": "[MIT](https://github.com/sharkdp/hyperfine/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/sharkdp/hyperfine/blob/master/LICENSE-APACHE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-v${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/jaq.json b/tools/codegen/base/jaq.json index 215a5b01..92e0eb76 100644 --- a/tools/codegen/base/jaq.json +++ b/tools/codegen/base/jaq.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/01mf02/jaq", + "license_markdown": "[MIT](https://github.com/01mf02/jaq/blob/main/LICENSE-MIT)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-v${version}-${rust_target}", diff --git a/tools/codegen/base/just.json b/tools/codegen/base/just.json index 94f1a06f..a610caf0 100644 --- a/tools/codegen/base/just.json +++ b/tools/codegen/base/just.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/casey/just", + "license_markdown": "[CC0-1.0](https://github.com/casey/just/blob/master/LICENSE)", "tag_prefix": "", "rust_crate": "${package}", "broken": ["1.25.1"], diff --git a/tools/codegen/base/knope.json b/tools/codegen/base/knope.json index e2d34b14..045df7d2 100644 --- a/tools/codegen/base/knope.json +++ b/tools/codegen/base/knope.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/knope-dev/knope", + "license_markdown": "[MIT](https://github.com/knope-dev/knope/blob/main/LICENSE)", "tag_prefix": ["knope/v", "v"], "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.tgz", diff --git a/tools/codegen/base/martin.json b/tools/codegen/base/martin.json index 22c1804b..86e82599 100644 --- a/tools/codegen/base/martin.json +++ b/tools/codegen/base/martin.json @@ -1,6 +1,7 @@ { "repository": "https://github.com/maplibre/martin", "website": "https://maplibre.org/martin/", + "license_markdown": "[MIT](https://github.com/maplibre/martin/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/maplibre/martin/blob/main/LICENSE-APACHE)", "tag_prefix": "martin-v", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/mdbook-alerts.json b/tools/codegen/base/mdbook-alerts.json index eefd7989..9fac58d0 100644 --- a/tools/codegen/base/mdbook-alerts.json +++ b/tools/codegen/base/mdbook-alerts.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/lambdalisue/rs-mdbook-alerts", + "license_markdown": "[MIT](https://github.com/lambdalisue/rs-mdbook-alerts/blob/main/LICENSE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}", diff --git a/tools/codegen/base/mdbook-linkcheck.json b/tools/codegen/base/mdbook-linkcheck.json index 34f82cc2..d7601d49 100644 --- a/tools/codegen/base/mdbook-linkcheck.json +++ b/tools/codegen/base/mdbook-linkcheck.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/Michael-F-Bryan/mdbook-linkcheck", + "license_markdown": "[MIT](https://github.com/Michael-F-Bryan/mdbook-linkcheck/blob/master/LICENSE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}.${rust_target}.zip", diff --git a/tools/codegen/base/mdbook-mermaid-ssr.json b/tools/codegen/base/mdbook-mermaid-ssr.json index d2d7fced..e4b759e3 100644 --- a/tools/codegen/base/mdbook-mermaid-ssr.json +++ b/tools/codegen/base/mdbook-mermaid-ssr.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/CommanderStorm/mdbook-mermaid-ssr", + "license_markdown": "[MPL-2.0](https://github.com/CommanderStorm/mdbook-mermaid-ssr/blob/main/LICENSE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/mdbook-mermaid.json b/tools/codegen/base/mdbook-mermaid.json index 0cf093c3..f5ba07b1 100644 --- a/tools/codegen/base/mdbook-mermaid.json +++ b/tools/codegen/base/mdbook-mermaid.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/badboy/mdbook-mermaid", + "license_markdown": "[MPL-2.0](https://github.com/badboy/mdbook-mermaid/blob/main/LICENSE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-v${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/mdbook.json b/tools/codegen/base/mdbook.json index 0c7f9e50..b7e6b216 100644 --- a/tools/codegen/base/mdbook.json +++ b/tools/codegen/base/mdbook.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/rust-lang/mdBook", + "license_markdown": "[MPL-2.0](https://github.com/rust-lang/mdBook/blob/master/LICENSE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-v${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/mise.json b/tools/codegen/base/mise.json index 8847ad2a..40501561 100644 --- a/tools/codegen/base/mise.json +++ b/tools/codegen/base/mise.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/jdx/mise", + "license_markdown": "[MIT](https://github.com/jdx/mise/blob/main/LICENSE)", "tag_prefix": "v", "rust_crate": "${package}", "bin": "mise/bin/${package}${exe}", diff --git a/tools/codegen/base/osv-scanner.json b/tools/codegen/base/osv-scanner.json index 078e93ca..38368337 100644 --- a/tools/codegen/base/osv-scanner.json +++ b/tools/codegen/base/osv-scanner.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/google/osv-scanner", + "license_markdown": "[Apache-2.0](https://github.com/google/osv-scanner/blob/main/LICENSE)", "tag_prefix": "v", "version_range": ">= 1.0.0", "platform": { diff --git a/tools/codegen/base/parse-changelog.json b/tools/codegen/base/parse-changelog.json index b71b5caa..48e55d69 100644 --- a/tools/codegen/base/parse-changelog.json +++ b/tools/codegen/base/parse-changelog.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/taiki-e/parse-changelog", + "license_markdown": "[Apache-2.0](https://github.com/taiki-e/parse-changelog/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/parse-changelog/blob/main/LICENSE-MIT)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": [ diff --git a/tools/codegen/base/parse-dockerfile.json b/tools/codegen/base/parse-dockerfile.json index fb3c0960..0de37ce8 100644 --- a/tools/codegen/base/parse-dockerfile.json +++ b/tools/codegen/base/parse-dockerfile.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/taiki-e/parse-dockerfile", + "license_markdown": "[Apache-2.0](https://github.com/taiki-e/parse-dockerfile/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/parse-dockerfile/blob/main/LICENSE-MIT)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/protoc.json b/tools/codegen/base/protoc.json index 5157d885..c948cec4 100644 --- a/tools/codegen/base/protoc.json +++ b/tools/codegen/base/protoc.json @@ -1,6 +1,6 @@ { "repository": "https://github.com/protocolbuffers/protobuf", - "license_markdown": "[BSD-3-Clause](https://github.com/protocolbuffers/protobuf/blob/HEAD/LICENSE)", + "license_markdown": "[BSD-3-Clause](https://github.com/protocolbuffers/protobuf/blob/main/LICENSE)", "tag_prefix": "v", "default_major_version": "3", "platform": { diff --git a/tools/codegen/base/rclone.json b/tools/codegen/base/rclone.json index 562272c3..a89bb95a 100644 --- a/tools/codegen/base/rclone.json +++ b/tools/codegen/base/rclone.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/rclone/rclone", + "license_markdown": "[MIT](https://github.com/rclone/rclone/blob/master/COPYING)", "tag_prefix": "v", "version_range": ">= 1.66.0", "platform": { diff --git a/tools/codegen/base/release-plz.json b/tools/codegen/base/release-plz.json index f5361bdc..f24c2da5 100644 --- a/tools/codegen/base/release-plz.json +++ b/tools/codegen/base/release-plz.json @@ -1,6 +1,7 @@ { "repository": "https://github.com/release-plz/release-plz", "website": "https://release-plz.dev/", + "license_markdown": "[MIT](https://github.com/release-plz/release-plz/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/release-plz/release-plz/blob/main/LICENSE-APACHE)", "tag_prefix": "release-plz-v", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/sccache.json b/tools/codegen/base/sccache.json index 726c7474..bf48203a 100644 --- a/tools/codegen/base/sccache.json +++ b/tools/codegen/base/sccache.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/mozilla/sccache", + "license_markdown": "[Apache-2.0](https://github.com/mozilla/sccache/blob/main/LICENSE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-v${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/shellcheck.json b/tools/codegen/base/shellcheck.json index 81d4c988..f917c3bf 100644 --- a/tools/codegen/base/shellcheck.json +++ b/tools/codegen/base/shellcheck.json @@ -1,6 +1,7 @@ { "repository": "https://github.com/koalaman/shellcheck", "website": "https://www.shellcheck.net", + "license_markdown": "[GPL-3.0](https://github.com/koalaman/shellcheck/blob/master/LICENSE)", "tag_prefix": "v", "bin": "${package}-v${version}/${package}${exe}", "platform": { diff --git a/tools/codegen/base/shfmt.json b/tools/codegen/base/shfmt.json index 58db5bf5..ceb4bd78 100644 --- a/tools/codegen/base/shfmt.json +++ b/tools/codegen/base/shfmt.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/mvdan/sh", + "license_markdown": "[BSD-3-Clause](https://github.com/mvdan/sh/blob/master/LICENSE)", "tag_prefix": "v", "platform": { "x86_64_linux_musl": { diff --git a/tools/codegen/base/syft.json b/tools/codegen/base/syft.json index 45528dc7..5d34575e 100644 --- a/tools/codegen/base/syft.json +++ b/tools/codegen/base/syft.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/anchore/syft", + "license_markdown": "[Apache-2.0](https://github.com/anchore/syft/blob/main/LICENSE)", "tag_prefix": "v", "bin": "${package}${exe}", "version_range": ">= 0.83.0", diff --git a/tools/codegen/base/taplo.json b/tools/codegen/base/taplo.json index 89da7121..4dcd5d0e 100644 --- a/tools/codegen/base/taplo.json +++ b/tools/codegen/base/taplo.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/tamasfe/taplo", + "license_markdown": "[MIT](https://github.com/tamasfe/taplo/blob/master/LICENSE)", "tag_prefix": "", "rust_crate": "${package}-cli", "asset_name": "${package}-${rust_target_os}-${rust_target_arch}.gz", diff --git a/tools/codegen/base/trivy.json b/tools/codegen/base/trivy.json index 6e1eaa0e..eefc2cea 100644 --- a/tools/codegen/base/trivy.json +++ b/tools/codegen/base/trivy.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/aquasecurity/trivy", + "license_markdown": "[Apache-2.0](https://github.com/aquasecurity/trivy/blob/main/LICENSE)", "tag_prefix": "v", "bin": "${package}${exe}", "version_range": ">= 0.62.0", diff --git a/tools/codegen/base/trunk.json b/tools/codegen/base/trunk.json index 41e5449a..089738fe 100644 --- a/tools/codegen/base/trunk.json +++ b/tools/codegen/base/trunk.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/trunk-rs/trunk", + "license_markdown": "[MIT](https://github.com/trunk-rs/trunk/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/trunk-rs/trunk/blob/main/LICENSE-APACHE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/typos.json b/tools/codegen/base/typos.json index 31e4fd80..a378c1b0 100644 --- a/tools/codegen/base/typos.json +++ b/tools/codegen/base/typos.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/crate-ci/typos", + "license_markdown": "[MIT](https://github.com/crate-ci/typos/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/crate-ci/typos/blob/master/LICENSE-APACHE)", "tag_prefix": "v", "rust_crate": "${package}-cli", "asset_name": "${package}-v${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/ubi.json b/tools/codegen/base/ubi.json index 2e4a3db4..61d48cd0 100644 --- a/tools/codegen/base/ubi.json +++ b/tools/codegen/base/ubi.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/houseabsolute/ubi", + "license_markdown": "[MIT](https://github.com/houseabsolute/ubi/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/houseabsolute/ubi/blob/master/LICENSE-APACHE)", "tag_prefix": "v", "rust_crate": "${package}", "bin": "${package}${exe}", diff --git a/tools/codegen/base/vacuum.json b/tools/codegen/base/vacuum.json index a08d2268..5089e64f 100644 --- a/tools/codegen/base/vacuum.json +++ b/tools/codegen/base/vacuum.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/daveshanley/vacuum", + "license_markdown": "[MIT](https://github.com/daveshanley/vacuum/blob/main/LICENSE)", "tag_prefix": "v", "version_range": ">= 0.17.0", "platform": { diff --git a/tools/codegen/base/wash.json b/tools/codegen/base/wash.json index b596f08c..7874995d 100644 --- a/tools/codegen/base/wash.json +++ b/tools/codegen/base/wash.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/wasmCloud/wasmCloud", + "license_markdown": "[Apache-2.0](https://github.com/wasmCloud/wasmCloud/blob/main/LICENSE)", "tag_prefix": ["wash-v", "wash-cli-v"], "rust_crate": "${package}", "asset_name": "${package}-${rust_target}${exe}", diff --git a/tools/codegen/base/wasm-bindgen.json b/tools/codegen/base/wasm-bindgen.json index a9066d09..26f61b2a 100644 --- a/tools/codegen/base/wasm-bindgen.json +++ b/tools/codegen/base/wasm-bindgen.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/wasm-bindgen/wasm-bindgen", + "license_markdown": "[MIT](https://github.com/wasm-bindgen/wasm-bindgen/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/wasm-bindgen/wasm-bindgen/blob/main/LICENSE-APACHE)", "tag_prefix": "", "rust_crate": "${package}-cli", "version_range": ">= 0.2.88", diff --git a/tools/codegen/base/wasm-pack.json b/tools/codegen/base/wasm-pack.json index 15d40389..79449f0b 100644 --- a/tools/codegen/base/wasm-pack.json +++ b/tools/codegen/base/wasm-pack.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/drager/wasm-pack", + "license_markdown": "[MIT](https://github.com/drager/wasm-pack/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/drager/wasm-pack/blob/master/LICENSE-APACHE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-v${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/wasm-tools.json b/tools/codegen/base/wasm-tools.json index 0bd8fa45..0cb775f6 100644 --- a/tools/codegen/base/wasm-tools.json +++ b/tools/codegen/base/wasm-tools.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/bytecodealliance/wasm-tools", + "license_markdown": "[Apache-2.0 WITH LLVM-exception](https://github.com/bytecodealliance/wasm-tools/blob/main/LICENSE-APACHE) OR [Apache-2.0](https://github.com/bytecodealliance/wasm-tools/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/bytecodealliance/wasm-tools/blob/main/LICENSE-MIT)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-${version}-${rust_target_arch}-${rust_target_os}.tar.gz", diff --git a/tools/codegen/base/wasmtime.json b/tools/codegen/base/wasmtime.json index 1e208b57..31909ebd 100644 --- a/tools/codegen/base/wasmtime.json +++ b/tools/codegen/base/wasmtime.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/bytecodealliance/wasmtime", + "license_markdown": "[Apache-2.0 WITH LLVM-exception](https://github.com/bytecodealliance/wasmtime/blob/main/LICENSE)", "tag_prefix": "v", "rust_crate": "${package}-cli", "asset_name": "${package}-v${version}-${rust_target_arch}-${rust_target_os}.tar.xz", diff --git a/tools/codegen/base/xh.json b/tools/codegen/base/xh.json index 79a0d860..1b935085 100644 --- a/tools/codegen/base/xh.json +++ b/tools/codegen/base/xh.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/ducaale/xh", + "license_markdown": "[MIT](https://github.com/ducaale/xh/blob/master/LICENSE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-v${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/zizmor.json b/tools/codegen/base/zizmor.json index f68e675c..4709ed22 100644 --- a/tools/codegen/base/zizmor.json +++ b/tools/codegen/base/zizmor.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/zizmorcore/zizmor", + "license_markdown": "[MIT](https://github.com/zizmorcore/zizmor/blob/main/LICENSE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-${rust_target}.tar.gz", diff --git a/tools/codegen/base/zola.json b/tools/codegen/base/zola.json index 88621cf2..a74490b3 100644 --- a/tools/codegen/base/zola.json +++ b/tools/codegen/base/zola.json @@ -1,5 +1,6 @@ { "repository": "https://github.com/getzola/zola", + "license_markdown": "[MIT](https://github.com/getzola/zola/blob/master/LICENSE)", "tag_prefix": "v", "asset_name": "${package}-v${version}-${rust_target}.tar.gz", "signing": { diff --git a/tools/codegen/src/lib.rs b/tools/codegen/src/lib.rs index 21f2e74c..cb428ce6 100644 --- a/tools/codegen/src/lib.rs +++ b/tools/codegen/src/lib.rs @@ -20,7 +20,7 @@ pub struct BaseManifest { /// Alternative link for the project. Automatically detected if possible. pub website: Option, /// Markdown syntax for links to licenses. Automatically detected if possible. - pub license_markdown: Option, + pub license_markdown: String, /// Prefix of release tag. pub tag_prefix: StringOrArray, /// Crate name, if this is Rust crate. @@ -68,10 +68,8 @@ impl BaseManifest { ); } } - if let Some(license_markdown) = &self.license_markdown { - if license_markdown.is_empty() { - panic!("license_markdown can not be an empty value"); - } + if self.license_markdown.is_empty() { + panic!("license_markdown can not be an empty value"); } } } diff --git a/tools/codegen/src/main.rs b/tools/codegen/src/main.rs index 66d93289..b65fc9b5 100644 --- a/tools/codegen/src/main.rs +++ b/tools/codegen/src/main.rs @@ -21,7 +21,6 @@ use install_action_internal_codegen::{ ManifestTemplateDownloadInfo, Manifests, SigningKind, Version, workspace_root, }; use serde::de::DeserializeOwned; -use spdx::expression::{ExprNode, ExpressionReq, Operator}; const DEFAULT_COOLDOWN: u64 = 24; @@ -59,7 +58,6 @@ fn main() { .unwrap(); eprintln!("downloading metadata from {GITHUB_API_START}repos/{repo}"); - let repo_info: github::RepoMetadata = download_json(&format!("{GITHUB_API_START}repos/{repo}")); let before = jiff::Timestamp::now() - Duration::from_hours(DEFAULT_COOLDOWN); eprintln!("downloading releases from {GITHUB_API_START}repos/{repo}/releases"); @@ -103,7 +101,6 @@ fn main() { .collect(); let mut crates_io_info = None; - let mut crates_io_version_detail = None; base_info.rust_crate = base_info .rust_crate .as_ref() @@ -114,13 +111,6 @@ fn main() { eprintln!("downloading crate info from https://crates.io/api/v1/crates/{crate_name}"); let info: crates_io::Crate = download_json(&format!("https://crates.io/api/v1/crates/{crate_name}")); - let latest_version = &info.versions[0].num; - crates_io_version_detail = Some( - download_json::(&format!( - "https://crates.io/api/v1/crates/{crate_name}/{latest_version}" - )) - .version, - ); if let Some(crate_repository) = info.crate_.repository.clone() { if !crate_repository.to_lowercase().starts_with(&base_info.repository.to_lowercase()) { @@ -179,56 +169,6 @@ fn main() { } } - // Populate license_markdown from the base manifest if present. - if let Some(license_markdown) = base_info.license_markdown { - manifests.license_markdown = license_markdown; - } - - // Check if the license_markdown is valid. - if !manifests.license_markdown.is_empty() { - let urls = get_license_markdown_urls(&manifests.license_markdown); - if urls.is_empty() { - panic!("Could not find URLs in license_markdown: {}.", manifests.license_markdown); - } - for url in urls { - if let Err(err) = github_head(&url) { - eprintln!("Failed to fetch pre-existing license_markdown {url}: {err}"); - manifests.license_markdown = String::new(); - break; - } - } - } - - // Try to detect license_markdown from crates.io or GitHub. - if manifests.license_markdown.is_empty() { - let license = match (crates_io_version_detail, repo_info.license) { - (Some(crates_io::VersionMetadataDetail { license: Some(license) }), _) => { - eprintln!("Trying to verify license '{license}' obtained from crates.io ..."); - license - } - (_, Some(github::RepoLicense { spdx_id: Some(spdx_id) })) => { - eprintln!("Trying to verify license '{spdx_id}' obtained from github.com ..."); - spdx_id - } - _ => { - panic!( - "No license SPDX found in crates.io or GitHub metadata.\n\ - Please set license_markdown in the base manifest" - ); - } - }; - if let Some(license_markdown) = - get_license_markdown(&license, repo, &repo_info.default_branch) - { - manifests.license_markdown = license_markdown; - } else { - panic!( - "Unable to verify license file(s) in the repo for license {license}.\n\ - Please set license_markdown in the base manifest" - ); - } - } - let version_req: semver::VersionReq = match version_req { _ if latest_only => { // Exclude very recently released version from candidate for latest version. @@ -1112,194 +1052,15 @@ fn download_json(url: &str) -> T { download(url).unwrap().into_json().unwrap() } -fn github_head(url: &str) -> Result<()> { - eprintln!("fetching head of {url} .."); - let mut token = GITHUB_TOKENS.get(url); - let mut retry = 0; - let mut retry_time = 0; - let mut max_retry = 2; - if token.is_none() { - max_retry /= 2; - } - let mut last_error; - loop { - let mut req = ureq::head(url); - if let Some(token) = &token { - req = req.set("Authorization", &format!("Bearer {token}")); - } - match req.call() { - Ok(_) => return Ok(()), - // rate limit - Err(e @ ureq::Error::Status(403, _)) => last_error = Some(e), - Err(e) => return Err(e.into()), - } - retry_time += 1; - if token.is_some() && retry == max_retry / 2 { - retry_time = 0; - token = None; - GITHUB_TOKENS.clear(url); - } - retry += 1; - if retry > max_retry { - break; - } - eprintln!("head of {url} failed; retrying after {}s ({retry}/{max_retry})", retry_time * 2); - std::thread::sleep(Duration::from_secs(retry_time * 2)); - } - Err(last_error.unwrap().into()) -} - #[allow(dead_code)] #[must_use] fn create_github_raw_link(repository: &str, branch: &str, filename: &str) -> String { format!("{GITHUB_RAW_START}{repository}/{branch}/{filename}") } -/// Create URLs for https://docs.github.com/en/rest/repos/contents -#[must_use] -fn github_content_api_url(repository: &str, branch: &str, filename: &str) -> String { - format!("{GITHUB_API_START}repos/{repository}/contents/{filename}?ref={branch}") -} - -#[must_use] -fn create_github_link(repository: &str, branch: &str, filename: &str) -> String { - format!("https://github.com/{repository}/blob/{branch}/{filename}") -} -#[must_use] -fn get_license_markdown(spdx_expr: &str, repo: &str, default_branch: &str) -> Option { - // TODO: use https://docs.rs/spdx/latest/spdx/expression/struct.Expression.html#method.canonicalize ? - let expr = spdx::Expression::parse_mode(spdx_expr, spdx::ParseMode::LAX).unwrap(); - - let mut op = None; - let mut license_ids: Vec<(&spdx::LicenseId, Option<&spdx::ExceptionId>)> = vec![]; - - for node in expr.iter() { - match node { - ExprNode::Req(ExpressionReq { - req: - spdx::LicenseReq { - license: spdx::LicenseItem::Spdx { id, or_later }, addition, .. - }, - .. - }) => { - if *or_later { - panic!("need to handle or_later"); - } - if let Some(spdx::AdditionItem::Spdx(exception_id)) = addition { - license_ids.push((id, Some(exception_id))); - } else { - license_ids.push((id, None)); - } - } - ExprNode::Op(current_op) => { - if op.is_some() && op != Some(current_op) { - panic!("SPDX too complex"); - } - op = Some(current_op); - } - ExprNode::Req(_) => {} - } - } - - match license_ids.len() { - 0 => panic!("No licenses detected in SPDX expression: {expr}"), - 1 => { - let (license_id, exception_id) = license_ids.first().unwrap(); - let license_name = if let Some(exception_id) = exception_id { - format!("{} WITH {}", license_id.name, exception_id.name) - } else { - license_id.name.to_owned() - }; - let name = license_id.name.split('-').next().unwrap().to_ascii_uppercase(); - for filename in [ - "LICENSE".to_owned(), - format!("LICENSE-{name}"), - "LICENSE.md".to_owned(), - "COPYING".to_owned(), - ] { - let url = github_content_api_url(repo, default_branch, &filename); - match download(&url) { - Ok(_) => { - let url = create_github_link(repo, default_branch, &filename); - return Some(format!("[{license_name}]({url})")); - } - Err(e) => { - eprintln!("Failed to fetch {url}: {e}"); - } - } - } - } - len => { - let mut license_markdowns: Vec = vec![]; - for (license_id, exception_id) in &license_ids { - let name = license_id.name.split('-').next().unwrap().to_ascii_uppercase(); - let filename = format!("LICENSE-{name}"); - let url = github_content_api_url(repo, default_branch, &filename); - let license_name = if let Some(exception_id) = exception_id { - format!("{} WITH {}", license_id.name, exception_id.name) - } else { - license_id.name.to_owned() - }; - match download(&url) { - Ok(_) => { - let url = create_github_link(repo, default_branch, &filename); - license_markdowns.push(format!("[{license_name}]({url})")); - } - Err(e) => { - eprintln!("Failed to fetch {url}: {e}"); - } - } - } - if license_markdowns.is_empty() { - panic!("Unable to find any license files in the repo for licenses {license_ids:?}"); - } - if license_markdowns.len() != len { - panic!( - "Unable to find license files in the repo for all licenses {license_ids:?}; found {license_markdowns:?}" - ); - } - match op { - None => panic!("op expected"), - Some(Operator::Or) => { - return Some(license_markdowns.join(" OR ")); - } - Some(Operator::And) => { - return Some(license_markdowns.join(" AND ")); - } - } - } - } - None -} - -fn get_license_markdown_urls(license_markdown: &str) -> Vec { - license_markdown - .split(['(', ')']) - .filter(|s| s.starts_with("http")) - .map(|s| s.trim().to_string()) - .collect::>() -} - mod github { use serde_derive::Deserialize; - // https://api.github.com/repos/ - #[derive(Debug, Deserialize)] - pub(crate) struct RepoMetadata { - #[serde(default)] - #[allow(dead_code)] - pub(crate) homepage: Option, - #[serde(default)] - pub(crate) license: Option, - pub(crate) default_branch: String, - } - - #[derive(Debug, Deserialize)] - pub(crate) struct RepoLicense { - #[serde(default)] - pub(crate) spdx_id: Option, - } - // https://api.github.com/repos//releases pub(crate) type Releases = Vec; @@ -1347,17 +1108,6 @@ mod crates_io { pub(crate) homepage: Option, pub(crate) repository: Option, } - - // https://crates.io/api/v1/crates// - #[derive(Debug, Deserialize)] - pub(crate) struct VersionMetadata { - pub(crate) version: VersionMetadataDetail, - } - - #[derive(Debug, Deserialize)] - pub(crate) struct VersionMetadataDetail { - pub(crate) license: Option, - } } mod cargo_manifest { diff --git a/tools/codegen/src/tools-markdown.rs b/tools/codegen/src/tools-markdown.rs index 62164481..ce643bb9 100644 --- a/tools/codegen/src/tools-markdown.rs +++ b/tools/codegen/src/tools-markdown.rs @@ -98,7 +98,7 @@ fn main() { } } - let license_markdown = manifests.license_markdown; + let license_markdown = base_info.license_markdown; // NB: Update alias list in tools/publish.rs, case for aliases in main.sh, // and tool input option in test-alias in .github/workflows/ci.yml. diff --git a/tools/manifest-schema/CHANGELOG.md b/tools/manifest-schema/CHANGELOG.md index 1eff8b87..944c3b76 100644 --- a/tools/manifest-schema/CHANGELOG.md +++ b/tools/manifest-schema/CHANGELOG.md @@ -10,6 +10,8 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com ## [Unreleased] +- Remove no longer used `Manifests::license_markdown`. + ## [0.2.0] - 2026-03-20 - Rename `ManifestDownloadInfo::checksum` field to `hash` to reduce manifest size. diff --git a/tools/manifest-schema/src/lib.rs b/tools/manifest-schema/src/lib.rs index d4bab764..df420141 100644 --- a/tools/manifest-schema/src/lib.rs +++ b/tools/manifest-schema/src/lib.rs @@ -200,8 +200,6 @@ impl<'de> Deserialize<'de> for Version { pub struct Manifests { pub rust_crate: Option, pub template: Option, - /// Markdown for the licenses. - pub license_markdown: String, #[serde(flatten)] pub map: BTreeMap, ManifestRef>, }