Skip to content

Conversation

@jdx
Copy link
Owner

@jdx jdx commented Dec 15, 2025

Summary

  • Switch swiftgen from asdf plugin to github backend
  • Keep asdf plugin as fallback backend
  • The asdf plugin just downloads GitHub releases without platform detection, so github backend does the same thing more simply

Test plan

  • Verified mise ls-remote github:SwiftGen/SwiftGen lists versions
  • Verified installation works with mise install github:SwiftGen/SwiftGen[exe=swiftgen/bin/swiftgen]@6.6.3

🤖 Generated with Claude Code


Note

Prefer the GitHub backend for swiftgen, retaining the asdf plugin as a fallback.

  • Registry:
    • tools.swiftgen: Prefer github:SwiftGen/SwiftGen[exe=swiftgen/bin/swiftgen] with asdf:mise-plugins/mise-swiftgen as fallback in registry.toml.

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

The asdf plugin just downloads the GitHub release zip without any
platform detection. Switch to the github backend which does the same
thing but without requiring the plugin. Keep asdf as fallback.

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

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Copilot AI review requested due to automatic review settings December 15, 2025 23:01
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 switches the swiftgen tool's primary backend from an ASDF plugin to GitHub releases, while keeping the ASDF plugin as a fallback option. Since the ASDF plugin simply downloads GitHub releases without platform detection, using the GitHub backend directly simplifies the implementation.

Key Changes:

  • Replaced single ASDF backend with a prioritized list of backends for swiftgen
  • Added GitHub backend as the primary source with explicit executable path configuration

💡 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.8 x -- echo 19.4 ± 0.3 18.8 22.0 1.00
mise x -- echo 19.8 ± 0.2 19.2 20.8 1.02 ± 0.02

mise env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.12.8 env 18.9 ± 0.3 18.4 21.3 1.00
mise env 19.2 ± 0.5 18.5 25.1 1.02 ± 0.03

mise hook-env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.12.8 hook-env 18.9 ± 0.2 18.4 19.6 1.00
mise hook-env 19.5 ± 0.5 18.9 25.0 1.03 ± 0.03

mise ls

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.12.8 ls 16.7 ± 0.3 16.1 20.7 1.00
mise ls 16.8 ± 0.2 16.4 18.6 1.01 ± 0.02

xtasks/test/perf

Command mise-2025.12.8 mise Variance
install (cached) 109ms 108ms +0%
ls (cached) 66ms 66ms +0%
bin-paths (cached) 72ms 72ms +0%
task-ls (cached) 2260ms ✅ 278ms +712%

✅ Performance improvement: task-ls cached is 712%

@jdx jdx merged commit 9004689 into main Dec 15, 2025
36 of 39 checks passed
@jdx jdx deleted the registry/swiftgen-github branch December 15, 2025 23:32
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