Skip to content

registry: add github backend for zprint#7410

Merged
jdx merged 1 commit intomainfrom
registry/zprint-github
Dec 19, 2025
Merged

registry: add github backend for zprint#7410
jdx merged 1 commit intomainfrom
registry/zprint-github

Conversation

@jdx
Copy link
Owner

@jdx jdx commented Dec 19, 2025

Summary

  • Switch from asdf:mise-plugins/mise-zprint to github:kkinnear/zprint as primary backend
  • Uses platform-specific asset patterns (zprintl, zprintm, zprintma)
  • Uses bin=zprint to rename raw binary downloads
  • Keep asdf as fallback for platforms without prebuilt binaries

Note: No test command is included because zprint --version requires stdin input and hangs without it.

🤖 Generated with Claude Code


Note

Adds a primary GitHub backend for tools.zprint with platform-specific asset patterns and keeps the asdf backend as fallback.

  • Registry:
    • tools.zprint:
      • Add primary GitHub backend github:kkinnear/zprint with bin=zprint.
      • Define platform-specific asset_pattern for macos-arm64 (zprintma-{version}), macos-x64 (zprintm-{version}), and linux-x64 (zprintl-{version}).
      • Retain asdf:mise-plugins/mise-zprint as a fallback backend.

Written by Cursor Bugbot for commit 8985705. This will update automatically on new commits. Configure here.

- Switch from asdf:mise-plugins/mise-zprint to github:kkinnear/zprint
- Uses platform-specific asset patterns (zprintl/zprintm/zprintma)
- Uses bin=zprint to rename raw binary downloads
- Keep asdf as fallback for other platforms

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings December 19, 2025 00:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates the zprint tool registry entry from using only an asdf backend to a prioritized GitHub backend with asdf as a fallback. The change enables direct binary downloads from the official zprint repository for supported platforms (macOS arm64/x64 and Linux x64) while maintaining compatibility with other platforms through the existing asdf plugin.

Key Changes:

  • Replaces single asdf backend with a multi-backend configuration prioritizing GitHub releases
  • Configures platform-specific asset patterns for downloading pre-built binaries
  • Maintains asdf backend as fallback for unsupported platforms

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

Hyperfine Performance

mise x -- echo

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.12.12 x -- echo 14.9 ± 0.3 14.0 16.1 1.00
mise x -- echo 15.1 ± 0.4 14.3 16.7 1.01 ± 0.03

mise env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.12.12 env 14.6 ± 0.4 13.7 18.2 1.00
mise env 15.1 ± 0.5 14.0 20.1 1.04 ± 0.05

mise hook-env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.12.12 hook-env 15.1 ± 0.3 14.0 16.3 1.00
mise hook-env 15.5 ± 0.7 14.6 21.6 1.03 ± 0.05

mise ls

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.12.12 ls 13.8 ± 0.3 12.8 15.0 1.00
mise ls 14.0 ± 0.4 12.9 15.8 1.02 ± 0.04

xtasks/test/perf

Command mise-2025.12.12 mise Variance
install (cached) 81ms 81ms +0%
ls (cached) 53ms 54ms -1%
bin-paths (cached) 55ms 56ms -1%
task-ls (cached) 2211ms ✅ 228ms +869%

✅ Performance improvement: task-ls cached is 869%

@jdx jdx merged commit 33809cb into main Dec 19, 2025
35 of 41 checks passed
@jdx jdx deleted the registry/zprint-github branch December 19, 2025 01:15
jekis913 added a commit to jekis913/mise that referenced this pull request Dec 19, 2025
* upstream/main:
  registry: add aqua backends for HashiCorp tools (jdx#7408)
  registry: use pipx backend for gallery-dl (jdx#7409)
  registry: use gem backend for cocoapods (jdx#7411)
  registry: add github backend for zprint (jdx#7410)
jdx added a commit that referenced this pull request Dec 19, 2025
zprint's default backend was changed from asdf to github in PR #7410.
The test needs to explicitly specify the asdf backend so that
`mise plugin install --all` knows to install the asdf plugin.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
jdx added a commit that referenced this pull request Dec 19, 2025
…#7440)

## Summary
Fix failing `test_plugin_install` e2e test.

## Problem
The test was failing because zprint's default backend was changed from
asdf to github in PR #7410. The test removes zprint's asdf plugin and
then expects `mise plugin install --all` to reinstall it, but since
zprint no longer has an asdf backend in the registry, the command
couldn't reinstall the plugin.

## Solution
Explicitly specify the asdf backend in `.tool-versions`:
```diff
-zprint latest
+asdf:mise-plugins/mise-zprint latest
```

This tells mise to use the asdf backend for zprint, so `mise plugin
install --all` knows to install the asdf plugin.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Pins `zprint` to the asdf backend in `test_plugin_install` to ensure
reinstall via `mise plugin install --all`.
> 
> - **e2e tests**:
> - Update `.tool-versions` in `e2e/plugins/test_plugin_install` to use
`asdf:mise-plugins/mise-zprint` instead of `zprint`, ensuring the asdf
backend is used during plugin installation.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
332a27f. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
jdx pushed a commit that referenced this pull request Dec 19, 2025
### 🚀 Features

- **(tera)** add haiku() function for random name generation by @jdx in
[#7399](#7399)
- implement independent versioning for subcrates by @jdx in
[#7402](#7402)

### 🐛 Bug Fixes

- **(ci)** improve GHA cache efficiency and fix registry-ci bug by @jdx
in [#7404](#7404)
- **(ci)** use !cancelled() instead of always() for registry-ci by @jdx
in [#7435](#7435)
- **(test)** update backend_arg test to use clojure instead of poetry by
@jdx in [#7436](#7436)

### 📚 Documentation

- add link to COPR package page for Fedora/RHEL by @jdx in
[bc8ac73](bc8ac73)
- improve installation documentation by @jdx in
[#7403](#7403)
- add comprehensive glossary by @jdx in
[#7401](#7401)

### 🧪 Testing

- rename duplicate 'ci' job names for clarity by @jdx in
[#7398](#7398)
- add token pool integration for rate limit distribution by @jdx in
[#7397](#7397)

### 📦 Registry

- add github backend for swiftformat by @jdx in
[#7396](#7396)
- use pipx backend for azure-cli by @jdx in
[#7406](#7406)
- use pipx backend for dvc by @jdx in
[#7413](#7413)
- add github backend for zprint by @jdx in
[#7410](#7410)
- use gem backend for cocoapods by @jdx in
[#7411](#7411)
- use pipx backend for gallery-dl by @jdx in
[#7409](#7409)
- add aqua backends for HashiCorp tools by @jdx in
[#7408](#7408)
- use npm backend for danger-js by @jdx in
[#7407](#7407)
- use pipx backend for pipenv by @jdx in
[#7415](#7415)
- use pipx backend for poetry by @jdx in
[#7416](#7416)
- add github backend for xcodegen
([github:yonaskolb/XcodeGen](https://github.com/yonaskolb/XcodeGen)) by
@jdx in [#7417](#7417)
- use npm backend for heroku by @jdx in
[#7418](#7418)
- add aqua backend for setup-envtest by @jdx in
[#7421](#7421)
- add github backend for xcresultparser
([github:a7ex/xcresultparser](https://github.com/a7ex/xcresultparser))
by @jdx in [#7422](#7422)
- add aqua backend for tomcat by @jdx in
[#7423](#7423)
- use npm backend for serverless by @jdx in
[#7424](#7424)
- add github backend for daytona
([github:daytonaio/daytona](https://github.com/daytonaio/daytona)) by
@jdx in [#7412](#7412)
- add github backend for flyway
([github:flyway/flyway](https://github.com/flyway/flyway)) by @jdx in
[#7414](#7414)
- add github backend for schemacrawler
([github:schemacrawler/SchemaCrawler](https://github.com/schemacrawler/SchemaCrawler))
by @jdx in [#7419](#7419)
- add github backend for codeql by @jdx in
[#7420](#7420)
- use pipx backend for mitmproxy by @jdx in
[#7425](#7425)
- use pipx backend for sshuttle by @jdx in
[#7426](#7426)
- add github backend for quarkus by @jdx in
[#7428](#7428)
- add github backend for smithy by @jdx in
[#7430](#7430)
- add github backend for xchtmlreport
([github:XCTestHTMLReport/XCTestHTMLReport](https://github.com/XCTestHTMLReport/XCTestHTMLReport))
by @jdx in [#7431](#7431)
- add github backend for grails by @jdx in
[#7429](#7429)
- use npm backend for esy by @jdx in
[#7434](#7434)
- add github backend for micronaut by @jdx in
[#7433](#7433)
- add github backend for dome by @jdx in
[#7432](#7432)
- use vfox backend for poetry by @jdx in
[#7438](#7438)

### Chore

- **(docker)** add Node LTS to mise Docker image by @jdx in
[#7405](#7405)
- rename mise-tools to mise-versions by @jdx in
[ab3e1b8](ab3e1b8)
- s/mise task/mise tasks/g in docs and tests by @muzimuzhi in
[#7400](#7400)

### New Contributors

- @muzimuzhi made their first contribution in
[#7400](#7400)
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