Repository navigation
Add flyctl to the default software registry - #142
phenaproxima wants to merge 2 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
The binary is renamed to `fly` on extraction to match the command name used throughout the fly.io docs. On Windows it lands as `fly.exe`. Closes php-internal#139
The Windows release archive ships wintun.dll next to flyctl.exe; without it, commands that open a WireGuard tunnel (fly proxy, fly ssh console) fail. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
d71de5e to
7794151
Compare
|
@phenaproxima a question about the binary name: the entry installs the executable as I see the Fly docs use |
|
I don't feel particularly strongly about it; |
Adds flyctl to the default software registry, as requested in #139.
Notes on the entry:
/^flyctl_.*/matches the release assets (flyctl_0.4.115_macOS_arm64.tar.gz, etc.); the asset selection rules already exclude the_checksums.txtfile./^flyctl(?:\\.exe)?$/matches exactly the binary: the tarballs contain a loneflyctl, and the Windows zip containsflyctl.exeplus awintun.dllhelper that must not match.fly, notflyctl: dload renames the extracted binary to the configured name (keeping the real extension), so it lands asfly/fly.exe— matching the command name used throughout the fly.io docs. This also makes dload's existence checks and PATH lookups find a globally installedfly.Closes #139