From 4985851399305e84d8e1bf19d299f1b41ab5ad92 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Wed, 10 Sep 2025 21:13:37 +0800 Subject: [PATCH] Add uv (#1138) --- TOOLS.md | 1 + manifests/uv.json | 86 ++++++++++++++++++++++++++++++++++++++ tools/codegen/base/uv.json | 44 +++++++++++++++++++ 3 files changed, 131 insertions(+) create mode 100644 manifests/uv.json create mode 100644 tools/codegen/base/uv.json diff --git a/TOOLS.md b/TOOLS.md index bb3f7d67..b5490ebe 100644 --- a/TOOLS.md +++ b/TOOLS.md @@ -71,6 +71,7 @@ See the [Supported tools section in README.md](README.md#supported-tools) for ho | [**trunk**](https://github.com/trunk-rs/trunk) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/trunk-rs/trunk/releases) | Linux, macOS, Windows | [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) | | [**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) | | [**ubi**](https://github.com/houseabsolute/ubi) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/houseabsolute/ubi/releases) | Linux, macOS, Windows | [MIT](https://github.com/houseabsolute/ubi/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/houseabsolute/ubi/blob/master/LICENSE-APACHE) | +| [**uv**](https://github.com/astral-sh/uv) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/astral-sh/uv/releases) | Linux, macOS, Windows | [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) | | [**vacuum**](https://github.com/daveshanley/vacuum) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/daveshanley/vacuum/releases) | Linux, macOS, Windows | [MIT](https://github.com/daveshanley/vacuum/blob/main/LICENSE) | | [**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) | diff --git a/manifests/uv.json b/manifests/uv.json new file mode 100644 index 00000000..68b8f839 --- /dev/null +++ b/manifests/uv.json @@ -0,0 +1,86 @@ +{ + "rust_crate": null, + "template": { + "x86_64_linux_musl": { + "url": "https://github.com/astral-sh/uv/releases/download/${version}/uv-x86_64-unknown-linux-musl.tar.gz", + "bin": "uv-x86_64-unknown-linux-musl/uv" + }, + "x86_64_macos": { + "url": "https://github.com/astral-sh/uv/releases/download/${version}/uv-x86_64-apple-darwin.tar.gz", + "bin": "uv-x86_64-apple-darwin/uv" + }, + "x86_64_windows": { + "url": "https://github.com/astral-sh/uv/releases/download/${version}/uv-x86_64-pc-windows-msvc.zip", + "bin": "uv.exe" + }, + "aarch64_linux_musl": { + "url": "https://github.com/astral-sh/uv/releases/download/${version}/uv-aarch64-unknown-linux-musl.tar.gz", + "bin": "uv-aarch64-unknown-linux-musl/uv" + }, + "aarch64_macos": { + "url": "https://github.com/astral-sh/uv/releases/download/${version}/uv-aarch64-apple-darwin.tar.gz", + "bin": "uv-aarch64-apple-darwin/uv" + }, + "aarch64_windows": { + "url": "https://github.com/astral-sh/uv/releases/download/${version}/uv-aarch64-pc-windows-msvc.zip", + "bin": "uv.exe" + }, + "powerpc64le_linux_gnu": { + "url": "https://github.com/astral-sh/uv/releases/download/${version}/uv-powerpc64le-unknown-linux-gnu.tar.gz", + "bin": "uv-powerpc64le-unknown-linux-gnu/uv" + }, + "riscv64_linux_gnu": { + "url": "https://github.com/astral-sh/uv/releases/download/${version}/uv-riscv64gc-unknown-linux-gnu.tar.gz", + "bin": "uv-riscv64gc-unknown-linux-gnu/uv" + }, + "s390x_linux_gnu": { + "url": "https://github.com/astral-sh/uv/releases/download/${version}/uv-s390x-unknown-linux-gnu.tar.gz", + "bin": "uv-s390x-unknown-linux-gnu/uv" + } + }, + "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.8.16" + }, + "0.8": { + "version": "0.8.16" + }, + "0.8.16": { + "x86_64_linux_musl": { + "etag": "0x8DDF01386647510", + "checksum": "ee220f112b91b23f641d169ba7a3652c6ab7104e7c666d26104ebd6a2f76be43" + }, + "x86_64_macos": { + "etag": "0x8DDF013833787EB", + "checksum": "07491a998fd741090501df9bbfe538f85568901a3a66c9e0368636509158727a" + }, + "x86_64_windows": { + "etag": "0x8DDF0138569C9D5", + "checksum": "97fb93678eca3b4f731ea3879ae2e78787976e03f38c9c6fb744ab28bc3aec1b" + }, + "aarch64_linux_musl": { + "etag": "0x8DDF0136684A8D0", + "checksum": "6bd6a11c384f07353c3c7eec9bde094f89b92a12dc09caea9df40c424afebea5" + }, + "aarch64_macos": { + "etag": "0x8DDF0137096BFC6", + "checksum": "87e4b51b735e8445f6c445c7b4c0398273e40d34cd192bad8158736653600cd6" + }, + "aarch64_windows": { + "etag": "0x8DDF013631054A2", + "checksum": "392acca957d8d7cccafbb68ce6c4ba29b2ff00c8b0d4744a2136918d3a7bf765" + }, + "powerpc64le_linux_gnu": { + "etag": "0x8DDF0137CA026B2", + "checksum": "91645092447a14c23b47d0f434a787a9555b29e061607d9e60d2d556b831f5aa" + }, + "riscv64_linux_gnu": { + "etag": "0x8DDF0137D66B606", + "checksum": "dbaeff3f0baad73c264c35abd937a231fb6b9d1201b6763d82e39e7516358115" + }, + "s390x_linux_gnu": { + "etag": "0x8DDF0137F8A6251", + "checksum": "e29c330a8956c13acb0f2af7aa650dd5d9ebba6aefdceaea77f689953d140780" + } + } +} diff --git a/tools/codegen/base/uv.json b/tools/codegen/base/uv.json new file mode 100644 index 00000000..e7e7a827 --- /dev/null +++ b/tools/codegen/base/uv.json @@ -0,0 +1,44 @@ +{ + "repository": "https://github.com/astral-sh/uv", + "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)", + "tag_prefix": "", + "version_range": ">= 0.8.16", + "platform": { + "x86_64_linux_musl": { + "asset_name": "${package}-x86_64-unknown-linux-musl.tar.gz", + "bin": "${package}-x86_64-unknown-linux-musl/${package}${exe}" + }, + "x86_64_macos": { + "asset_name": "${package}-x86_64-apple-darwin.tar.gz", + "bin": "${package}-x86_64-apple-darwin/${package}${exe}" + }, + "x86_64_windows": { + "asset_name": "${package}-x86_64-pc-windows-msvc.zip", + "bin": "${package}${exe}" + }, + "aarch64_linux_musl": { + "asset_name": "${package}-aarch64-unknown-linux-musl.tar.gz", + "bin": "${package}-aarch64-unknown-linux-musl/${package}${exe}" + }, + "aarch64_macos": { + "asset_name": "${package}-aarch64-apple-darwin.tar.gz", + "bin": "${package}-aarch64-apple-darwin/${package}${exe}" + }, + "aarch64_windows": { + "asset_name": "${package}-aarch64-pc-windows-msvc.zip", + "bin": "${package}${exe}" + }, + "powerpc64le_linux_gnu": { + "asset_name": "${package}-powerpc64le-unknown-linux-gnu.tar.gz", + "bin": "${package}-powerpc64le-unknown-linux-gnu/${package}${exe}" + }, + "riscv64_linux_gnu": { + "asset_name": "${package}-riscv64gc-unknown-linux-gnu.tar.gz", + "bin": "${package}-riscv64gc-unknown-linux-gnu/${package}${exe}" + }, + "s390x_linux_gnu": { + "asset_name": "${package}-s390x-unknown-linux-gnu.tar.gz", + "bin": "${package}-s390x-unknown-linux-gnu/${package}${exe}" + } + } +}