Skip to content

registry: add trzsz-go (aqua:trzsz/trzsz-go)#9083

Merged
jdx merged 1 commit intojdx:mainfrom
ZeroAurora:registry/trzsz-go
Apr 15, 2026
Merged

registry: add trzsz-go (aqua:trzsz/trzsz-go)#9083
jdx merged 1 commit intojdx:mainfrom
ZeroAurora:registry/trzsz-go

Conversation

@ZeroAurora
Copy link
Copy Markdown
Contributor

Available in aqua as of v4.493.0.

Verified with export MISE_AQUA_BAKED_REGISTRY=false. Should be merged after baked aqua updated.

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 tool registration for trzsz-go, providing support for both aqua and github backends. A review comment points out that the github backend requires an explicit executable mapping because the repository name differs from the binary name, which would otherwise prevent the tool from being located correctly.

Comment thread registry/trzsz-go.toml
@@ -0,0 +1,3 @@
backends = ["aqua:trzsz/trzsz-go", "github:trzsz/trzsz-go"]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The github backend needs an explicit executable mapping because the repository name (trzsz-go) does not match the primary binary name (trzsz). Without [exe=trzsz], mise will fail to locate the executable within the release assets when falling back to the GitHub backend (e.g., if aqua is unavailable or disabled).

Note that since the tool is registered as trzsz-go, mise will create a shim named trzsz-go. While the aqua backend is capable of exposing all binaries defined in its registry (trzsz, trz, tsz), the github backend fallback will only provide a shim for the tool name itself. If the intention is for users to primarily use the trzsz command, naming the file trzsz.toml would be more idiomatic, though trzsz-go.toml is acceptable to specifically identify this implementation.

Suggested change
backends = ["aqua:trzsz/trzsz-go", "github:trzsz/trzsz-go"]
backends = ["aqua:trzsz/trzsz-go", "github:trzsz/trzsz-go[exe=trzsz]"]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is false positive. trzsz-go provides three binaries, all of which are made available by mise. This is verified with mise use -g github:trzsz/trzsz-go.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Apr 14, 2026

Greptile Summary

This PR adds a registry entry for trzsz-go (aqua:trzsz/trzsz-go) with a github:trzsz/trzsz-go fallback, matching the pattern of the existing trzsz-ssh.toml entry. The format is correct and the PR author verified it with MISE_AQUA_BAKED_REGISTRY=false.

Confidence Score: 5/5

  • Safe to merge; the single finding is a minor discoverability suggestion with no impact on correctness.
  • The only finding is a P2 style suggestion (missing aliases). All core fields — backends, description, and test — are well-formed and consistent with existing registry entries.
  • No files require special attention.

Important Files Changed

Filename Overview
registry/trzsz-go.toml New 3-line registry entry for trzsz-go; backends, description, and test fields are well-formed and consistent with the sibling trzsz-ssh.toml entry. Minor: no aliases for the primary trz/tsz binary names.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["mise install trzsz-go"] --> B{Baked aqua registry\nhas trzsz/trzsz-go?}
    B -- Yes --> C["aqua:trzsz/trzsz-go\n(primary backend)"]
    B -- No / MISE_AQUA_BAKED_REGISTRY=false --> D["github:trzsz/trzsz-go\n(fallback backend)"]
    C --> E["Installs trz, tsz, trzsz binaries"]
    D --> E
    E --> F["Test: trzsz --version\nexpected: 'trzsz go {version}'"]
Loading

Reviews (1): Last reviewed commit: "registry: add trzsz-go (aqua:trzsz/trzsz..." | Re-trigger Greptile

Comment thread registry/trzsz-go.toml
@@ -0,0 +1,3 @@
backends = ["aqua:trzsz/trzsz-go", "github:trzsz/trzsz-go"]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Consider adding aliases for primary binary names

The trzsz-go package's main end-user commands are trz and tsz. Without aliases, users who search mise use trz or mise use tsz won't find this package. The registry convention (e.g. ripgrep → rg, github-cli → gh, trzsz-ssh → tssh) is to alias the well-known binary name(s) to the package.

Suggested change
backends = ["aqua:trzsz/trzsz-go", "github:trzsz/trzsz-go"]
aliases = ["trz", "tsz"]
backends = ["aqua:trzsz/trzsz-go", "github:trzsz/trzsz-go"]

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

trzsz has a python version which also uses these two binary names. I don't think this is a good idea.

@jdx jdx merged commit 43a648f into jdx:main Apr 15, 2026
36 checks passed
mise-en-dev added a commit that referenced this pull request Apr 15, 2026
### 🚀 Features

- **(npm)** use --min-release-age for npm 11.10.0+ supply chain
protection by @webkaz in [#9072](#9072)
- **(registry)** add openfga by @mnm364 in
[#9084](#9084)
- **(task)** allow to set confirmation default by @roele in
[#9089](#9089)
- support os/arch compound syntax in tool os filtering by @RobertDeRose
in [#9088](#9088)

### 🐛 Bug Fixes

- **(activate)** export __MISE_EXE and resolve bare ARGV0 to absolute
path by @fru1tworld in [#9081](#9081)
- **(install)** support aliased installs sharing a backend by @jdx in
[#9093](#9093)
- **(shim)** use which_no_shims when resolving mise binary in reshim and
doctor by @kevinswiber in [#9071](#9071)
- filter empty segments in colon-separated env var parsing by @baby-joel
in [#9076](#9076)

### 📚 Documentation

- fix wrong file reference to forgejo backend implemenation by @roele in
[#9090](#9090)
- fix cli token command for token resolution by @roele in
[#9077](#9077)

### 📦 Registry

- add trzsz-go
([aqua:trzsz/trzsz-go](https://github.com/trzsz/trzsz-go)) by
@ZeroAurora in [#9083](#9083)
- add copilot
([aqua:github/copilot-cli](https://github.com/github/copilot-cli)) by
@risu729 in [#9082](#9082)

### Chore

- add AGENTS.md symlink by @jdx in
[#9094](#9094)

### New Contributors

- @kevinswiber made their first contribution in
[#9071](#9071)
- @webkaz made their first contribution in
[#9072](#9072)
- @RobertDeRose made their first contribution in
[#9088](#9088)

## 📦 Aqua Registry Updates

#### New Packages (7)

-
[`IBM-Cloud/ibm-cloud-cli-release`](https://github.com/IBM-Cloud/ibm-cloud-cli-release)
- [`max-sixty/worktrunk`](https://github.com/max-sixty/worktrunk)
- [`micelio.dev/hif`](https://github.com/micelio.dev/hif)
- [`pgplex/pgschema`](https://github.com/pgplex/pgschema)
-
[`rose-pine/rose-pine-bloom`](https://github.com/rose-pine/rose-pine-bloom)
- [`santosr2/TerraTidy`](https://github.com/santosr2/TerraTidy)
- [`trzsz/trzsz-go`](https://github.com/trzsz/trzsz-go)

#### Updated Packages (3)

- [`mvdan/sh`](https://github.com/mvdan/sh)
- [`rvben/rumdl`](https://github.com/rvben/rumdl)
- [`temporalio/temporal`](https://github.com/temporalio/temporal)
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