mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-29 10:30:23 +00:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23b90ae71a | ||
|
|
f9c15f1341 | ||
|
|
61977646cd | ||
|
|
a6bc18a46c | ||
|
|
df5666f536 | ||
|
|
8d078757e8 | ||
|
|
a0060a7f49 | ||
|
|
66c4dcc03d | ||
|
|
16647abe1b |
1
.github/.cspell/project-dictionary.txt
vendored
1
.github/.cspell/project-dictionary.txt
vendored
@@ -20,6 +20,7 @@ protoc
|
||||
pubkey
|
||||
pwsh
|
||||
quickinstall
|
||||
rclone
|
||||
rdme
|
||||
sccache
|
||||
syft
|
||||
|
||||
17
CHANGELOG.md
17
CHANGELOG.md
@@ -10,6 +10,20 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.37.0] - 2024-06-08
|
||||
|
||||
- Support `rclone` ([#511](https://github.com/taiki-e/install-action/pull/511), thanks @jayvdb)
|
||||
|
||||
- Support `xh` ([#512](https://github.com/taiki-e/install-action/pull/512), thanks @jayvdb)
|
||||
|
||||
- Support `jaq` ([#513](https://github.com/taiki-e/install-action/pull/513), thanks @jayvdb)
|
||||
|
||||
- Support `wait-for-them` ([#514](https://github.com/taiki-e/install-action/pull/514), thanks @jayvdb)
|
||||
|
||||
- Update `cargo-binstall@latest` to 1.6.9.
|
||||
|
||||
- Update `typos@latest` to 1.22.3.
|
||||
|
||||
## [2.36.0] - 2024-06-07
|
||||
|
||||
- Support `cargo-zigbuild` ([#508](https://github.com/taiki-e/install-action/pull/508), thanks @jayvdb)
|
||||
@@ -2259,7 +2273,8 @@ Note: This release is considered a breaking change because installing on version
|
||||
|
||||
Initial release
|
||||
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.36.0...HEAD
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.37.0...HEAD
|
||||
[2.37.0]: https://github.com/taiki-e/install-action/compare/v2.36.0...v2.37.0
|
||||
[2.36.0]: https://github.com/taiki-e/install-action/compare/v2.35.0...v2.36.0
|
||||
[2.35.0]: https://github.com/taiki-e/install-action/compare/v2.34.3...v2.35.0
|
||||
[2.34.3]: https://github.com/taiki-e/install-action/compare/v2.34.2...v2.34.3
|
||||
|
||||
8
TOOLS.md
8
TOOLS.md
@@ -26,7 +26,7 @@ If a tool not included in the list below is specified, this action uses [cargo-b
|
||||
| [**cargo-no-dev-deps**](https://github.com/taiki-e/cargo-no-dev-deps) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/cargo-no-dev-deps/releases) | Linux, macOS, Windows | [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) |
|
||||
| [**cargo-rdme**](https://github.com/orium/cargo-rdme) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/orium/cargo-rdme/releases) | Linux, macOS, Windows | [MPL-2.0](https://github.com/orium/cargo-rdme/blob/main/LICENSE.md) |
|
||||
| [**cargo-semver-checks**](https://github.com/obi1kenobi/cargo-semver-checks) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/obi1kenobi/cargo-semver-checks/releases) | Linux, macOS, Windows | [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) |
|
||||
| [**cargo-sort**](https://github.com/DevinR528/cargo-sort) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/DevinR528/cargo-sort/releases) | Linux, macOS, Windows | [Apache-2.0 OR MIT](https://github.com/DevinR528/cargo-sort/blob/55ec89082466f6bb246d870a8d56d166a8e1f08b/Cargo.toml#L5) |
|
||||
| [**cargo-sort**](https://github.com/DevinR528/cargo-sort) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/DevinR528/cargo-sort/releases) | Linux, macOS, Windows | [Apache-2.0 OR MIT](https://github.com/DevinR528/cargo-sort/blob/v1.0.9/Cargo.toml#L5) |
|
||||
| [**cargo-spellcheck**](https://github.com/drahnr/cargo-spellcheck) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/drahnr/cargo-spellcheck/releases) | Linux, Windows | [LGPLv2.1](https://github.com/drahnr/cargo-spellcheck/blob/master/LICENSE-LGPL) |
|
||||
| [**cargo-tarpaulin**](https://github.com/xd009642/tarpaulin) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/xd009642/tarpaulin/releases) | Linux, macOS, Windows | [MIT](https://github.com/xd009642/tarpaulin/blob/develop/LICENSE-MIT) OR [Apache-2.0](https://github.com/xd009642/tarpaulin/blob/develop/LICENSE-APACHE) |
|
||||
| [**cargo-udeps**](https://github.com/est31/cargo-udeps) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/est31/cargo-udeps/releases) | Linux, macOS, Windows | [Apache-2.0 OR MIT](https://github.com/est31/cargo-udeps/blob/HEAD/LICENSE) |
|
||||
@@ -39,6 +39,7 @@ If a tool not included in the list below is specified, this action uses [cargo-b
|
||||
| [**git-cliff**](https://github.com/orhun/git-cliff) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/orhun/git-cliff/releases) | Linux, macOS, Windows | [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) |
|
||||
| [**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/HEAD/LICENSE-MPL-2.0) |
|
||||
| [**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) |
|
||||
| [**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) |
|
||||
| [**mdbook**](https://github.com/rust-lang/mdBook) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rust-lang/mdBook/releases) | Linux, macOS, Windows | [MPL-2.0](https://github.com/rust-lang/mdBook/blob/master/LICENSE) |
|
||||
| [**mdbook-linkcheck**](https://github.com/Michael-F-Bryan/mdbook-linkcheck) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases) | Linux, macOS, Windows | [MIT](https://github.com/Michael-F-Bryan/mdbook-linkcheck/blob/master/LICENSE) |
|
||||
@@ -46,16 +47,19 @@ If a tool not included in the list below is specified, this action uses [cargo-b
|
||||
| [**osv-scanner**](https://github.com/google/osv-scanner) | `/usr/local/bin` | [GitHub Releases](https://github.com/google/osv-scanner/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/google/osv-scanner/blob/main/LICENSE) |
|
||||
| [**parse-changelog**](https://github.com/taiki-e/parse-changelog) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/parse-changelog/releases) | Linux, macOS, Windows | [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) |
|
||||
| [**protoc**](https://github.com/protocolbuffers/protobuf) | `/usr/local/bin` | [GitHub Releases](https://github.com/protocolbuffers/protobuf/releases) | Linux, macOS, Windows | [BSD-3-Clause](https://github.com/protocolbuffers/protobuf/blob/HEAD/LICENSE) |
|
||||
| [**rclone**](https://github.com/rclone/rclone) | `/usr/local/bin` | [GitHub Releases](https://github.com/rclone/rclone/releases) | Linux, macOS, Windows | [MIT](https://github.com/rclone/rclone/blob/master/COPYING) |
|
||||
| [**sccache**](https://github.com/mozilla/sccache) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/mozilla/sccache/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/mozilla/sccache/blob/main/LICENSE) |
|
||||
| [**shellcheck**](https://www.shellcheck.net) | `/usr/local/bin` | [GitHub Releases](https://github.com/koalaman/shellcheck/releases) | Linux, macOS, Windows | [GPL-3.0](https://github.com/koalaman/shellcheck/blob/master/LICENSE) |
|
||||
| [**shfmt**](https://github.com/mvdan/sh) | `/usr/local/bin` | [GitHub Releases](https://github.com/mvdan/sh/releases) | Linux, macOS, Windows | [BSD-3-Clause](https://github.com/mvdan/sh/blob/master/LICENSE) |
|
||||
| [**syft**](https://github.com/anchore/syft) | `/usr/local/bin` | [GitHub Releases](https://github.com/anchore/syft/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/anchore/syft/blob/main/LICENSE) |
|
||||
| [**typos**](https://github.com/crate-ci/typos) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/crate-ci/typos/releases) | Linux, macOS, Windows | [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) |
|
||||
| [**valgrind**](https://valgrind.org/) | `/snap/bin` | [snap](https://snapcraft.io/install/valgrind/ubuntu) | Linux | [GPL-2.0](https://sourceware.org/git/?p=valgrind.git;a=blob;f=COPYING;hb=HEAD) |
|
||||
| [**wait-for-them**](https://github.com/shenek/wait-for-them) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/shenek/wait-for-them/releases) | Linux, macOS, Windows | [GPL-3.0](https://github.com/shenek/wait-for-them/blob/v0.4.0/Cargo.toml#L7) |
|
||||
| [**wasm-bindgen**](https://github.com/rustwasm/wasm-bindgen) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rustwasm/wasm-bindgen/releases) | Linux, macOS, Windows | [MIT](https://github.com/rustwasm/wasm-bindgen/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/rustwasm/wasm-bindgen/blob/main/LICENSE-APACHE) |
|
||||
| [**wasm-pack**](https://github.com/rustwasm/wasm-pack) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rustwasm/wasm-pack/releases) | Linux, macOS, Windows | [MIT](https://github.com/rustwasm/wasm-pack/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/rustwasm/wasm-pack/blob/master/LICENSE-APACHE) |
|
||||
| [**wasmtime**](https://github.com/bytecodealliance/wasmtime) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/bytecodealliance/wasmtime/releases) | Linux, macOS, Windows | [Apache-2.0 WITH LLVM-exception](https://github.com/bytecodealliance/wasmtime/blob/main/LICENSE) |
|
||||
| [**xbuild**](https://github.com/rust-mobile/xbuild) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rust-mobile/xbuild/releases) | Linux, macOS, Windows | [Apache-2.0 OR MIT](https://github.com/rust-mobile/xbuild/blob/268939a99a50d7927bce3e343e5d2ed32eb8b30e/xbuild/Cargo.toml#L7) |
|
||||
| [**xbuild**](https://github.com/rust-mobile/xbuild) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rust-mobile/xbuild/releases) | Linux, macOS, Windows | [Apache-2.0 OR MIT](https://github.com/rust-mobile/xbuild/blob/v0.2.0/xbuild/Cargo.toml#L7) |
|
||||
| [**xh**](https://github.com/ducaale/xh) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/ducaale/xh/releases) | Linux, macOS, Windows | [MIT](https://github.com/ducaale/xh/blob/master/LICENSE) |
|
||||
| [**zola**](https://github.com/getzola/zola) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/getzola/zola/releases) | Linux, macOS, Windows | [MIT](https://github.com/getzola/zola/blob/master/LICENSE) |
|
||||
|
||||
[cargo-binstall]: https://github.com/cargo-bins/cargo-binstall
|
||||
|
||||
3
main.sh
3
main.sh
@@ -714,7 +714,8 @@ for tool in "${tools[@]}"; do
|
||||
case "${tool_bin_stem}" in
|
||||
# biome up to 1.2.2 exits with 1 on both --version and --help flags.
|
||||
# cargo-machete up to 0.6.0 does not support --version flag.
|
||||
biome | cargo-machete) rx "${tool_bin_stem}" --version || true ;;
|
||||
# wait-for-them 0.4.0 exits with 1 on both --version and --help flags.
|
||||
biome | cargo-machete | wait-for-them) rx "${tool_bin_stem}" --version || true ;;
|
||||
# these packages support neither --version nor --help flag.
|
||||
cargo-careful | wasm-bindgen-test-runner) ;;
|
||||
# wasm2es6js does not support --version flag and --help flag doesn't contains version info.
|
||||
|
||||
16
manifests/cargo-binstall.json
generated
16
manifests/cargo-binstall.json
generated
@@ -22,26 +22,26 @@
|
||||
},
|
||||
"license_markdown": "[GPL-3.0](https://github.com/cargo-bins/cargo-binstall/blob/HEAD/crates/bin/LICENSE)",
|
||||
"latest": {
|
||||
"version": "1.6.8"
|
||||
"version": "1.6.9"
|
||||
},
|
||||
"1.6.8": {
|
||||
"1.6.9": {
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "581eb7c97b2767a468afb0505c416eb727b469c029b36470288fc30b26517101"
|
||||
"checksum": "604d0cd902ee7385eeb9147b512bdbaa0ef4eb19a92d961df24d611f232fd3ff"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "590ff2a4b50d67ce52b35895e4cb8d75fefdc591988dafb2687c6461b50e3885"
|
||||
"checksum": "7ad36970202044d68033a79ebf62836796eb69e5c478dca1d9cbab8f55e719f3"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "0c1cd165f4460a9d5c1f5c2a67e5faf53913694ba207ddc18b44f6c5de6ba6c5"
|
||||
"checksum": "99f9d048ad0f9a8b3e3dda7de3ffa34f1b05a1cb34392bde9866c063473c89e0"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"checksum": "2433118983ade85388be17d442b430c4932eb2dad834143f9a6a25646563281f"
|
||||
"checksum": "08f25befe50164b2d622b826da811dec47a0ac5ca3215837316281f4a8290806"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "1b0ea154b639dc7d8b49c6a2fa300964357a67a1b2441e9f29b61c7b7b79d23d"
|
||||
"checksum": "ff603214e78a62d56ba9c8f2287de400cccd377aa38d75daba3dd827a4c3d8f9"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"checksum": "f440401a77b284a8b52ba0052fe26628e8658d4febc91108c28542a0843d341a"
|
||||
"checksum": "0b28fb0e4d7ee54995d845e89494f03021f573caa1d22ab4d24816715be120d9"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
2
manifests/cargo-sort.json
generated
2
manifests/cargo-sort.json
generated
@@ -11,7 +11,7 @@
|
||||
"url": "https://github.com/DevinR528/cargo-sort/releases/download/v${version}/cargo-sort-x86_64-pc-windows-msvc.zip"
|
||||
}
|
||||
},
|
||||
"license_markdown": "[Apache-2.0 OR MIT](https://github.com/DevinR528/cargo-sort/blob/55ec89082466f6bb246d870a8d56d166a8e1f08b/Cargo.toml#L5)",
|
||||
"license_markdown": "[Apache-2.0 OR MIT](https://github.com/DevinR528/cargo-sort/blob/v1.0.9/Cargo.toml#L5)",
|
||||
"latest": {
|
||||
"version": "1.0.9"
|
||||
},
|
||||
|
||||
47
manifests/jaq.json
generated
Normal file
47
manifests/jaq.json
generated
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"rust_crate": "jaq",
|
||||
"template": {
|
||||
"x86_64_linux_musl": {
|
||||
"url": "https://github.com/01mf02/jaq/releases/download/v${version}/jaq-v${version}-x86_64-unknown-linux-musl"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"url": "https://github.com/01mf02/jaq/releases/download/v${version}/jaq-v${version}-x86_64-apple-darwin"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/01mf02/jaq/releases/download/v${version}/jaq-v${version}-x86_64-pc-windows-msvc.exe"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"url": "https://github.com/01mf02/jaq/releases/download/v${version}/jaq-v${version}-aarch64-unknown-linux-gnu"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"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.4.0"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.4.0"
|
||||
},
|
||||
"1.4": {
|
||||
"version": "1.4.0"
|
||||
},
|
||||
"1.4.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "fce247e4b9693ff260293bdb7d4ef564f765ed6fe889c42cebfd5d2e36b591bf"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "f12c87eed86258b226c747ccbef55db95e78e6925eee55fe96e8a5eee4fe69f3"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "bb8189ee62b3b467f82e06484a7ab7478f8ddc1cc67ec95b7d2ebc2da38dd14d"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"checksum": "2e6449091baf52bcb982e75685459464444ea8f29c7316d246f0bd407670c568"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "545e26ecd01b44468a894cd6576290cc8f787d0f06dd0ef8cc0b02bfe4c95c55"
|
||||
}
|
||||
}
|
||||
}
|
||||
59
manifests/rclone.json
generated
Normal file
59
manifests/rclone.json
generated
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"rust_crate": null,
|
||||
"template": {
|
||||
"x86_64_linux_musl": {
|
||||
"url": "https://github.com/rclone/rclone/releases/download/v${version}/rclone-v${version}-linux-amd64.zip",
|
||||
"bin": "rclone-v${version}-linux-amd64/rclone"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"url": "https://github.com/rclone/rclone/releases/download/v${version}/rclone-v${version}-osx-amd64.zip",
|
||||
"bin": "rclone-v${version}-osx-amd64/rclone"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/rclone/rclone/releases/download/v${version}/rclone-v${version}-windows-amd64.zip",
|
||||
"bin": "rclone-v${version}-windows-amd64/rclone.exe"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"url": "https://github.com/rclone/rclone/releases/download/v${version}/rclone-v${version}-linux-arm64.zip",
|
||||
"bin": "rclone-v${version}-linux-arm64/rclone"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"url": "https://github.com/rclone/rclone/releases/download/v${version}/rclone-v${version}-osx-arm64.zip",
|
||||
"bin": "rclone-v${version}-osx-arm64/rclone"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"url": "https://github.com/rclone/rclone/releases/download/v${version}/rclone-v${version}-windows-arm64.zip",
|
||||
"bin": "rclone-v${version}-windows-arm64/rclone.exe"
|
||||
}
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/rclone/rclone/blob/master/COPYING)",
|
||||
"latest": {
|
||||
"version": "1.66.0"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.66.0"
|
||||
},
|
||||
"1.66": {
|
||||
"version": "1.66.0"
|
||||
},
|
||||
"1.66.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "b4d304b1dc76001b1d3bb820ae8d1ae60a072afbd3296be904a3ee00b3d4fab9"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "5adb4c5fe0675627461000a63156001301ec7cade966c55c8c4ebcfaeb62c5ae"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "8e8bb13fb0d7beb316487ecde8ead5426784cdcdbf8b4d8dd381c6fe8c7d92a0"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"checksum": "c50a3ab93082f21788f9244393b19f2426edeeb896eec2e3e05ffb2e8727e075"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "b5f4c4d06ff3d426aee99870ad437276c9ddaad55442f2df6a58b918115fe4cf"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"checksum": "4e815350382249ffb6d9520262bbce81f45f63126134a0c365eb648a4d27e6ea"
|
||||
}
|
||||
}
|
||||
}
|
||||
34
manifests/typos.json
generated
34
manifests/typos.json
generated
@@ -16,13 +16,41 @@
|
||||
},
|
||||
"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.22.1"
|
||||
"version": "1.22.3"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.22.1"
|
||||
"version": "1.22.3"
|
||||
},
|
||||
"1.22": {
|
||||
"version": "1.22.1"
|
||||
"version": "1.22.3"
|
||||
},
|
||||
"1.22.3": {
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "712206018c601b93557e42aeffd486af2e6fb0a6b017d0d51e6dad587bd65097"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "21cae80f0ff7ebf39e36cba72c230f78d728168e127e21480d9398cccd862fdd"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "2d1cfa926d0f0dd8c972334b6e6c127243dbf8e354f3e31ed5018e30f531fe43"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "5ffd546b0335480af0c9f384d58db07b72e822864466055b2d2079114a279324"
|
||||
}
|
||||
},
|
||||
"1.22.2": {
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "ff5123e4f309c3f013a4126fbfc8c998b018408d250d170295683b567c1b7ffe"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "b85e65bf834304c71f7cce7311e99d950761d23e87bbfb2c86a37d9d52a9cb84"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "6e7ecedbb3aab7bc00d1818680abe90ed3faa071113f12e6e7d197986ba9565d"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "dc1939d39b55a08900f57dc077f9e69f275365abcee6a45d32b04514f1f6a8a8"
|
||||
}
|
||||
},
|
||||
"1.22.1": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
32
manifests/wait-for-them.json
generated
Normal file
32
manifests/wait-for-them.json
generated
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"rust_crate": "wait-for-them",
|
||||
"template": {
|
||||
"x86_64_linux_gnu": {
|
||||
"url": "https://github.com/shenek/wait-for-them/releases/download/v${version}/wait-for-them-linux"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/shenek/wait-for-them/releases/download/v${version}/wait-for-them-windows.exe"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"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.4.0"
|
||||
},
|
||||
"0.4": {
|
||||
"version": "0.4.0"
|
||||
},
|
||||
"0.4.0": {
|
||||
"x86_64_linux_gnu": {
|
||||
"checksum": "2350e38c79f9e59d83ceade3ba7dc2a449bdaac075ea574786421a4bc4646f3d"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "1f716ee4f755a01b67e9606e91a0a65448d4f06113ba40b09e465af62a1c73da"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "a294da6da0ffc0b0a755eb3db50a968841356ff1fdc14724cfa288732496b6dc"
|
||||
}
|
||||
}
|
||||
}
|
||||
2
manifests/xbuild.json
generated
2
manifests/xbuild.json
generated
@@ -14,7 +14,7 @@
|
||||
"bin": "xbuild-windows-x64.exe"
|
||||
}
|
||||
},
|
||||
"license_markdown": "[Apache-2.0 OR MIT](https://github.com/rust-mobile/xbuild/blob/268939a99a50d7927bce3e343e5d2ed32eb8b30e/xbuild/Cargo.toml#L7)",
|
||||
"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"
|
||||
},
|
||||
|
||||
49
manifests/xh.json
generated
Normal file
49
manifests/xh.json
generated
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"rust_crate": "xh",
|
||||
"template": {
|
||||
"x86_64_linux_musl": {
|
||||
"url": "https://github.com/ducaale/xh/releases/download/v${version}/xh-v${version}-x86_64-unknown-linux-musl.tar.gz",
|
||||
"bin": "xh-v${version}-x86_64-unknown-linux-musl/xh"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"url": "https://github.com/ducaale/xh/releases/download/v${version}/xh-v${version}-x86_64-apple-darwin.tar.gz",
|
||||
"bin": "xh-v${version}-x86_64-apple-darwin/xh"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/ducaale/xh/releases/download/v${version}/xh-v${version}-x86_64-pc-windows-msvc.zip",
|
||||
"bin": "xh-v${version}-x86_64-pc-windows-msvc/xh.exe"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"url": "https://github.com/ducaale/xh/releases/download/v${version}/xh-v${version}-aarch64-unknown-linux-musl.tar.gz",
|
||||
"bin": "xh-v${version}-aarch64-unknown-linux-musl/xh"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"url": "https://github.com/ducaale/xh/releases/download/v${version}/xh-v${version}-aarch64-apple-darwin.tar.gz",
|
||||
"bin": "xh-v${version}-aarch64-apple-darwin/xh"
|
||||
}
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/ducaale/xh/blob/master/LICENSE)",
|
||||
"latest": {
|
||||
"version": "0.22.0"
|
||||
},
|
||||
"0.22": {
|
||||
"version": "0.22.0"
|
||||
},
|
||||
"0.22.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "270a4ece43a44f4c270417b50ddea430029b98cc5103e264bf65f64fac5b60a8"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "891a015ac04fda2a27df82991b9495213ce38d97827192c771da798bf10c875b"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "cbaeabbfece018e05f1ef0e380b5b797c61524b11662598bc444402bcb0607d0"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"checksum": "e4feb4a463183c3cc139f906a2cfe84dd3790d277f2915271a9a2ef3a0978ffb"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "48fdabeedd42b2638a9e79bbb2506eaea7371e381dbf3cebf62e5cd40a39cc64"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,6 +8,7 @@ cd "$(dirname "$0")"/../..
|
||||
glibc_pre_2_34_incompat=(
|
||||
cargo-cyclonedx
|
||||
cargo-spellcheck
|
||||
wait-for-them
|
||||
xbuild
|
||||
)
|
||||
glibc_pre_2_31_incompat=(
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"repository": "https://github.com/DevinR528/cargo-sort",
|
||||
"license_markdown": "[Apache-2.0 OR MIT](https://github.com/DevinR528/cargo-sort/blob/55ec89082466f6bb246d870a8d56d166a8e1f08b/Cargo.toml#L5)",
|
||||
"license_markdown": "[Apache-2.0 OR MIT](https://github.com/DevinR528/cargo-sort/blob/v1.0.9/Cargo.toml#L5)",
|
||||
"tag_prefix": "v",
|
||||
"rust_crate": "${package}",
|
||||
"asset_name": "${package}-${rust_target}.tar.gz",
|
||||
|
||||
16
tools/codegen/base/jaq.json
Normal file
16
tools/codegen/base/jaq.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"repository": "https://github.com/01mf02/jaq",
|
||||
"tag_prefix": "v",
|
||||
"rust_crate": "${package}",
|
||||
"asset_name": "${package}-v${version}-${rust_target}",
|
||||
"version_range": ">= 1.4.0",
|
||||
"platform": {
|
||||
"x86_64_macos": {},
|
||||
"x86_64_windows": {
|
||||
"asset_name": "${package}-v${version}-${rust_target}.exe"
|
||||
},
|
||||
"x86_64_linux_musl": {},
|
||||
"aarch64_macos": {},
|
||||
"aarch64_linux_gnu": {}
|
||||
}
|
||||
}
|
||||
31
tools/codegen/base/rclone.json
Normal file
31
tools/codegen/base/rclone.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"repository": "https://github.com/rclone/rclone",
|
||||
"tag_prefix": "v",
|
||||
"version_range": ">= 1.66.0",
|
||||
"platform": {
|
||||
"x86_64_linux_musl": {
|
||||
"asset_name": "${package}-v${version}-linux-amd64.zip",
|
||||
"bin": "${package}-v${version}-linux-amd64/${package}"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"asset_name": "${package}-v${version}-osx-amd64.zip",
|
||||
"bin": "${package}-v${version}-osx-amd64/${package}"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"asset_name": "${package}-v${version}-windows-amd64.zip",
|
||||
"bin": "${package}-v${version}-windows-amd64/${package}${exe}"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"asset_name": "${package}-v${version}-linux-arm64.zip",
|
||||
"bin": "${package}-v${version}-linux-arm64/${package}"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"asset_name": "${package}-v${version}-osx-arm64.zip",
|
||||
"bin": "${package}-v${version}-osx-arm64/${package}"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"asset_name": "${package}-v${version}-windows-arm64.zip",
|
||||
"bin": "${package}-v${version}-windows-arm64/${package}${exe}"
|
||||
}
|
||||
}
|
||||
}
|
||||
13
tools/codegen/base/wait-for-them.json
Normal file
13
tools/codegen/base/wait-for-them.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"repository": "https://github.com/shenek/wait-for-them",
|
||||
"license_markdown": "[GPL-3.0](https://github.com/shenek/wait-for-them/blob/v0.4.0/Cargo.toml#L7)",
|
||||
"tag_prefix": "v",
|
||||
"rust_crate": "${package}",
|
||||
"asset_name": "${package}-${rust_target_os}${exe}",
|
||||
"version_range": ">= 0.4.0",
|
||||
"platform": {
|
||||
"x86_64_linux_gnu": {},
|
||||
"x86_64_windows": {},
|
||||
"aarch64_macos": {}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"repository": "https://github.com/rust-mobile/xbuild",
|
||||
"license_markdown": "[Apache-2.0 OR MIT](https://github.com/rust-mobile/xbuild/blob/268939a99a50d7927bce3e343e5d2ed32eb8b30e/xbuild/Cargo.toml#L7)",
|
||||
"license_markdown": "[Apache-2.0 OR MIT](https://github.com/rust-mobile/xbuild/blob/v0.2.0/xbuild/Cargo.toml#L7)",
|
||||
"tag_prefix": "v",
|
||||
"rust_crate": "${package}",
|
||||
"asset_name": "${package}-${rust_target_os}-x64${exe}",
|
||||
|
||||
17
tools/codegen/base/xh.json
Normal file
17
tools/codegen/base/xh.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"repository": "https://github.com/ducaale/xh",
|
||||
"tag_prefix": "v",
|
||||
"rust_crate": "${package}",
|
||||
"asset_name": "${package}-v${version}-${rust_target}.tar.gz",
|
||||
"bin": "${package}-v${version}-${rust_target}/${package}${exe}",
|
||||
"version_range": ">= 0.22.0",
|
||||
"platform": {
|
||||
"x86_64_macos": {},
|
||||
"x86_64_windows": {
|
||||
"asset_name": "${package}-v${version}-${rust_target}.zip"
|
||||
},
|
||||
"x86_64_linux_musl": {},
|
||||
"aarch64_macos": {},
|
||||
"aarch64_linux_musl": {}
|
||||
}
|
||||
}
|
||||
@@ -36,6 +36,8 @@ fn main() -> Result<()> {
|
||||
fs::create_dir_all(manifest_path.parent().unwrap())?;
|
||||
fs::create_dir_all(download_cache_dir)?;
|
||||
|
||||
eprintln!("download cache: {}", download_cache_dir.display());
|
||||
|
||||
let mut base_info: BaseManifest = serde_json::from_slice(&fs::read(
|
||||
workspace_root.join("tools/codegen/base").join(format!("{package}.json")),
|
||||
)?)?;
|
||||
@@ -722,9 +724,12 @@ fn get_license_markdown(spdx_expr: &str, repo: &String, default_branch: &String)
|
||||
license_id.name.to_string()
|
||||
};
|
||||
let name = license_id.name.split('-').next().unwrap().to_ascii_uppercase();
|
||||
for filename in
|
||||
["LICENSE".to_string(), format!("LICENSE-{name}"), "LICENSE.md".to_string()]
|
||||
{
|
||||
for filename in [
|
||||
"LICENSE".to_string(),
|
||||
format!("LICENSE-{name}"),
|
||||
"LICENSE.md".to_string(),
|
||||
"COPYING".to_string(),
|
||||
] {
|
||||
let url = create_github_raw_link(repo, default_branch, &filename);
|
||||
if github_head(&url).is_ok() {
|
||||
let url = create_github_link(repo, default_branch, &filename);
|
||||
|
||||
Reference in New Issue
Block a user