feat: add gsudo (Sudo for Windows) to registry#9281
Conversation
Add registry definition for gerardog/gsudo, a privilege elevation tool for Windows. Uses the portable zip release asset with architecture-aware bin_path to support both x64 and arm64 Windows devices.
Greptile SummaryThis PR adds a registry definition for gsudo, a Windows-only privilege elevation tool. The definition correctly uses Confidence Score: 5/5Safe to merge — the definition is correct and consistent with other Windows registry entries. The single changed file is a straightforward TOML registry entry. The previously flagged No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[mise install gsudo] --> B{os == windows?}
B -- No --> C[Tool not available]
B -- Yes --> D[Fetch GitHub release\ngerardog/gsudo]
D --> E[Match asset: gsudo.portable.zip]
E --> F[Extract ZIP]
F --> G{arch value}
G -- x86_64 --> H[bin_path: x64/]
G -- aarch64 --> I[bin_path: arm64/]
G -- x86 --> J[bin_path: x86/]
H & I & J --> K[Add arch dir to PATH]
K --> L[gsudo available in shell]
Reviews (2): Last reviewed commit: "feat: add gsudo (Sudo for Windows) to re..." | Re-trigger Greptile |
There was a problem hiding this comment.
Code Review
This pull request adds a new registry configuration for gsudo, a privilege elevation tool for Windows. The configuration defines the GitHub backend, asset patterns for the portable zip distribution, and a test command to verify the installed version. I have no feedback to provide as there are no review comments.
baab612 to
3dd9e49
Compare
### 🚀 Features - **(backend)** support aqua vars templates by @risu729 in [#9110](#9110) - add gsudo (Sudo for Windows) to registry by @matracey in [#9281](#9281) ### 🐛 Bug Fixes - **(cli)** retrieve token from github helper for `self-update` command by @sushichan044 in [#9259](#9259) - **(github)** scope auth headers to API URLs by @risu729 in [#9271](#9271) - **(vfox)** use github token for lua http requests by @jdx in [#9257](#9257) ### 📚 Documentation - add aube hero banner by @jdx in [#9265](#9265) - add en.dev footer by @jdx in [#9267](#9267) - implement landing page design by @jdx in [#9266](#9266) ### 📦️ Dependency Updates - lock file maintenance by @renovate[bot] in [#9268](#9268) ### 📦 Registry - add llama.cpp ([github:ggml-org/llama.cpp](https://github.com/ggml-org/llama.cpp)) by @igor-makarov in [#9282](#9282) - add kiro-cli by @shalk in [#9274](#9274) - add flux-operator & flux-operator-mcp by @monotek in [#8852](#8852) ### Chore - **(release)** add en.dev sponsor blurb to release notes by @jdx in [#9272](#9272) - bump communique to 1.0.1 by @jdx in [#9264](#9264) ### New Contributors - @monotek made their first contribution in [#8852](#8852) - @igor-makarov made their first contribution in [#9282](#9282) ## 📦 Aqua Registry Updates #### New Packages (2) - [`controlplaneio-fluxcd/flux-operator/flux-operator-mcp`](https://github.com/controlplaneio-fluxcd/flux-operator/flux-operator-mcp) - [`endevco/aube`](https://github.com/endevco/aube) #### Updated Packages (1) - [`graelo/pumas`](https://github.com/graelo/pumas)
Adds a registry definition for gsudo, a privilege elevation tool for Windows. It supports cmd, PowerShell, WSL, and more.
The GitHub release ships a
gsudo.portable.zipcontaining architecture-specific subdirectories (x64,arm64,x86,net46-AnyCpu), so the definition usesasset_patternto select the portable zip andbin_path = "{{ arch }}"to point mise at the correct binary for the host platform.