From d93043e1afbbe212b05356bccbe1f9ac0ab605ae Mon Sep 17 00:00:00 2001 From: Jesse Black Date: Sun, 31 May 2026 06:42:32 -0500 Subject: [PATCH] Support docgarden (#1830) --- .github/.cspell/project-dictionary.txt | 1 + TOOLS.md | 1 + manifests/docgarden.json | 45 ++++++++++++++++++++++++++ tools/codegen/base/docgarden.json | 23 +++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 manifests/docgarden.json create mode 100644 tools/codegen/base/docgarden.json diff --git a/.github/.cspell/project-dictionary.txt b/.github/.cspell/project-dictionary.txt index 4b9ae9f6..3a5261a0 100644 --- a/.github/.cspell/project-dictionary.txt +++ b/.github/.cspell/project-dictionary.txt @@ -10,6 +10,7 @@ cyclonedx cygdrive deadlinks deepsource +docgarden doas enablerepo epel diff --git a/TOOLS.md b/TOOLS.md index d809993b..9fa1fe3d 100644 --- a/TOOLS.md +++ b/TOOLS.md @@ -55,6 +55,7 @@ See the [Supported tools section in README.md](README.md#supported-tools) for ho | [**cross**](https://github.com/cross-rs/cross) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/cross-rs/cross/releases) | Linux, macOS, Windows | [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) | | | [**cyclonedx**](https://github.com/CycloneDX/cyclonedx-cli) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/CycloneDX/cyclonedx-cli/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/CycloneDX/cyclonedx-cli/blob/main/LICENSE) | | | [**deepsource**](https://github.com/DeepSourceCorp/cli) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/DeepSourceCorp/cli/releases) | Linux, macOS, Windows | [BSD-2-Clause](https://github.com/DeepSourceCorp/cli/blob/master/LICENSE) | | +| [**docgarden**](https://github.com/jesse-black/docgarden) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/jesse-black/docgarden/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/jesse-black/docgarden/blob/main/LICENSE) | | | [**dprint**](https://github.com/dprint/dprint) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/dprint/dprint/releases) | Linux, macOS, Windows | [MIT](https://github.com/dprint/dprint/blob/main/LICENSE) | | | [**earthly**](https://github.com/earthly/earthly) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/earthly/earthly/releases) | Linux, macOS, Windows | [MPL-2.0](https://github.com/earthly/earthly/blob/main/LICENSE) | | | [**editorconfig-checker**](https://github.com/editorconfig-checker/editorconfig-checker) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/editorconfig-checker/editorconfig-checker/releases) | Linux, macOS, Windows | [MIT](https://github.com/editorconfig-checker/editorconfig-checker/blob/main/LICENSE) | | diff --git a/manifests/docgarden.json b/manifests/docgarden.json new file mode 100644 index 00000000..fb143da7 --- /dev/null +++ b/manifests/docgarden.json @@ -0,0 +1,45 @@ +{ + "rust_crate": "docgarden", + "template": { + "x86_64_linux_musl": { + "url": "https://github.com/jesse-black/docgarden/releases/download/v${version}/docgarden-v${version}-x86_64-unknown-linux-musl.tar.gz", + "bin": "docgarden-v${version}-x86_64-unknown-linux-musl/docgarden" + }, + "x86_64_windows": { + "url": "https://github.com/jesse-black/docgarden/releases/download/v${version}/docgarden-v${version}-x86_64-pc-windows-msvc.zip", + "bin": "docgarden-v${version}-x86_64-pc-windows-msvc/docgarden.exe" + }, + "aarch64_linux_musl": { + "url": "https://github.com/jesse-black/docgarden/releases/download/v${version}/docgarden-v${version}-aarch64-unknown-linux-musl.tar.gz", + "bin": "docgarden-v${version}-aarch64-unknown-linux-musl/docgarden" + }, + "aarch64_macos": { + "url": "https://github.com/jesse-black/docgarden/releases/download/v${version}/docgarden-v${version}-aarch64-apple-darwin.tar.gz", + "bin": "docgarden-v${version}-aarch64-apple-darwin/docgarden" + } + }, + "latest": { + "version": "0.1.0" + }, + "0.1": { + "version": "0.1.0" + }, + "0.1.0": { + "x86_64_linux_musl": { + "etag": "0x8DEB1081EA0A5CC", + "hash": "0c648e38e96e003d071014ca4cb17f195e4675ba7de9a94091ac1c34d584d45e" + }, + "x86_64_windows": { + "etag": "0x8DEB1081E947E7A", + "hash": "32cd6cbc6208bccf8bc06fa33a18adcdd110f5351e5e67151ea84cbd8b135090" + }, + "aarch64_linux_musl": { + "etag": "0x8DEB1081E95DC7B", + "hash": "4f341a72ec58518c0821dd0c948314077a198b9ead76140a90a04e22514ea0a1" + }, + "aarch64_macos": { + "etag": "0x8DEB1081E8FC8D5", + "hash": "237613efe2cdf65f62e8b8eb9270df30522536f791809db912864958a7bae312" + } + } +} diff --git a/tools/codegen/base/docgarden.json b/tools/codegen/base/docgarden.json new file mode 100644 index 00000000..b76ef4de --- /dev/null +++ b/tools/codegen/base/docgarden.json @@ -0,0 +1,23 @@ +{ + "repository": "https://github.com/jesse-black/docgarden", + "license_markdown": "[Apache-2.0](https://github.com/jesse-black/docgarden/blob/main/LICENSE)", + "tag_prefix": "v", + "rust_crate": "${package}", + "asset_name": "${package}-v${version}-${rust_target}.tar.gz", + "bin": "${package}-v${version}-${rust_target}/${package}${exe}", + "signing": { + "kind": { + "gh-attestation": { + "signer-workflow": "${repo}/.github/workflows/release.yml" + } + } + }, + "platform": { + "x86_64_linux_musl": {}, + "x86_64_windows": { + "asset_name": "${package}-v${version}-${rust_target}.zip" + }, + "aarch64_linux_musl": {}, + "aarch64_macos": {} + } +}