Skip to content

feat: add gsudo (Sudo for Windows) to registry#9281

Merged
jdx merged 1 commit intojdx:mainfrom
matracey:add-gsudo-registry
Apr 21, 2026
Merged

feat: add gsudo (Sudo for Windows) to registry#9281
jdx merged 1 commit intojdx:mainfrom
matracey:add-gsudo-registry

Conversation

@matracey
Copy link
Copy Markdown
Contributor

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.zip containing architecture-specific subdirectories (x64, arm64, x86, net46-AnyCpu), so the definition uses asset_pattern to select the portable zip and bin_path = "{{ arch }}" to point mise at the correct binary for the host platform.

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-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Apr 21, 2026

Greptile Summary

This PR adds a registry definition for gsudo, a Windows-only privilege elevation tool. The definition correctly uses asset_pattern = "gsudo.portable.zip" to match the portable release asset and bin_path = "{{ arch() }}" (with function-call syntax) to route mise to the correct architecture subdirectory (x64, arm64, or x86) inside the extracted zip.

Confidence Score: 5/5

Safe 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 {{ arch }} (missing parentheses) issue has been fixed to {{ arch() }}. The asset_pattern matches the actual release asset name, bin_path correctly addresses gsudo's architecture-subdirectory layout (x64/arm64/x86), and os = ["windows"] properly scopes the tool. No P0/P1 findings remain.

No files require special attention.

Important Files Changed

Filename Overview
registry/gsudo.toml New registry entry for gsudo (Windows only); correctly uses {{ arch() }} function syntax, matching asset pattern, and per-arch bin_path subdirectory layout.

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]
Loading

Reviews (2): Last reviewed commit: "feat: add gsudo (Sudo for Windows) to re..." | Re-trigger Greptile

Comment thread registry/gsudo.toml Outdated
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@matracey matracey force-pushed the add-gsudo-registry branch from baab612 to 3dd9e49 Compare April 21, 2026 08:24
@jdx jdx merged commit de133d7 into jdx:main Apr 21, 2026
35 checks passed
jdx pushed a commit that referenced this pull request Apr 22, 2026
### 🚀 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants