Skip to content

fix(download): correctly parse remote URL#50

Merged
joelspadin merged 1 commit intozmkfirmware:mainfrom
joelspadin:download-fix
Jan 7, 2026
Merged

fix(download): correctly parse remote URL#50
joelspadin merged 1 commit intozmkfirmware:mainfrom
joelspadin:download-fix

Conversation

@joelspadin
Copy link
Copy Markdown
Collaborator

This changes the "zmk download" command to use giturlparse when determining the URL for the GitHub actions page. This correctly handles URLs that end in ".git" as well as SSH "user@host:path" URLS.

Fixes #19, supersedes #20

This changes the "zmk download" command to use giturlparse when
determining the URL for the GitHub actions page. This correctly handles
URLs that end in ".git" as well as SSH "user@host:path" URLS.
Copy link
Copy Markdown
Contributor

@caksoylar caksoylar left a comment

Choose a reason for hiding this comment

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

Nice fix with giturlparse, so we don't have to hack around with string replacements for SSH remotes etc.

@joelspadin joelspadin merged commit 3df5639 into zmkfirmware:main Jan 7, 2026
1 check passed
@joelspadin joelspadin deleted the download-fix branch January 7, 2026 15:24
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.

Using the CLI tool with ssh git remotes breaks _get_actions_url

2 participants