Skip to content

registry: add github backend for flyway (github:flyway/flyway)#7414

Merged
jdx merged 2 commits intomainfrom
registry-flyway-github
Dec 19, 2025
Merged

registry: add github backend for flyway (github:flyway/flyway)#7414
jdx merged 2 commits intomainfrom
registry-flyway-github

Conversation

@jdx
Copy link
Copy Markdown
Owner

@jdx jdx commented Dec 19, 2025

Summary

  • Replace asdf backend with github backend for flyway
  • Add test command

Changes

-backends = ["asdf:mise-plugins/mise-flyway"]
+backends = ["github:flyway/flyway"]
+test = ["flyway --version", "{{version}}"]

🤖 Generated with Claude Code


Note

Switch tools.flyway to use a new GitHub backend (with platform-specific assets) and add a version test, retaining the asdf backend as fallback.

  • Registry (registry.toml):
    • tools.flyway:
      • Add GitHub backend github:flyway/flyway[version_prefix=flyway-] with platform-specific asset_pattern and bin_path for macOS (arm64/x64), Linux (x64), and Windows (x64).
      • Add test = ["flyway --version", "{{version}}"].
      • Rework backend configuration into [[tools.flyway.backends]] entries and keep asdf:mise-plugins/mise-flyway as an additional backend.

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

Copilot AI review requested due to automatic review settings December 19, 2025 00:56
Copy link
Copy Markdown
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 updates the flyway tool configuration to use a GitHub backend instead of the ASDF backend, enabling direct downloads from the official flyway/flyway repository. It also adds version validation through a test command.

  • Replaced asdf:mise-plugins/mise-flyway backend with github:flyway/flyway
  • Added test command to verify flyway installation and version

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

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 19, 2025

Hyperfine Performance

mise x -- echo

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.12.12 x -- echo 19.3 ± 0.3 18.7 21.7 1.00
mise x -- echo 19.4 ± 0.2 18.8 19.9 1.01 ± 0.02

mise env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.12.12 env 18.9 ± 0.5 18.3 23.4 1.00
mise env 19.0 ± 0.3 18.4 22.7 1.00 ± 0.03

mise hook-env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.12.12 hook-env 18.9 ± 0.2 18.5 21.0 1.00
mise hook-env 19.1 ± 0.4 18.6 23.8 1.01 ± 0.02

mise ls

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.12.12 ls 16.6 ± 0.5 16.1 23.2 1.00
mise ls 16.8 ± 0.2 16.3 17.6 1.01 ± 0.03

xtasks/test/perf

Command mise-2025.12.12 mise Variance
install (cached) 108ms 108ms +0%
ls (cached) 65ms 65ms +0%
bin-paths (cached) 71ms 72ms -1%
task-ls (cached) 290ms 279ms +3%

- Add asset_pattern for each platform (macos-arm64, macos-x64, linux-x64, windows-x64)
- Add bin_path to find flyway binary in versioned directory
- Add version_prefix=flyway- to match release tag format
- Keep asdf as fallback

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

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Comment thread registry.toml

[tools.flyway.backends.options.platforms.windows-x64]
asset_pattern = "flyway-commandline-{version}-windows-x64.zip"
bin_path = "flyway-{version}"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: Options format inconsistent with registry patterns

The asset_pattern and bin_path options are specified as TOML keys within platform-specific sections, but every other tool in the registry using these options specifies them inline in the backend string (e.g., "github:repo/name[bin_path=Release,asset_pattern=...]"). The only tool using platform-specific TOML sections (claude) uses different options like url. This format inconsistency may cause asset_pattern and bin_path to be ignored by the github backend parser, resulting in asset download failures. The fallback to asdf:mise-plugins/mise-flyway would still work, but the primary github backend may not function as intended.

Fix in Cursor Fix in Web

@jdx jdx merged commit fa685a1 into main Dec 19, 2025
34 of 38 checks passed
@jdx jdx deleted the registry-flyway-github branch December 19, 2025 02:06
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