zmkfirmware / zmkfirmware/zmk-cli

zmk version gives error on specific revision.

Open
#62 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
20
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Whenever I try and use zmk version <revision> as described in the repo, i get the following error

ValueError: Revision "a23aa00" does not exist in https://github.com/zmkfirmware/zmk

Image

I got the same error when i tried with a longer revision number with SHA hash i got from @joelspadin over on discord - a23aa009d7a07d67fe5609caca7372e16610f238. It was to the same revision number.
a23aa00 is a valid revision number. I also tested with older revision numbers and got the same error.

The command worked fine when targeting a specific version listed from zmk version --list -l (for example zmk version v0.3).
It also worked fine when called for the main zmk version main

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing zmk version with the short and full revision hashes, then compare it with the working main and tagged-version cases. The fix is complete when a valid specific revision resolves successfully without regressing version and branch lookups.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.