RobLoach / RobLoach/nuklear_gamepad
Sync version macros with v1.1.0 release
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 9
- Forks
- 3
- Avg merge
- 4h 32m
- Merged PRs (30d)
- 1
Description
Effort: Small — Impact: Medium — Priority: 8 of 8
The declared version is behind the newest published tag. Git tag v1.1.0 (released 2026-05-01) is an ancestor of master (at commit 82056c3), but all three version locations still say 1.0.2:
NK_GAMEPAD_VERSION/_MAJOR/_MINOR/_PATCHatnuklear_gamepad.h:30-33project(... VERSION 1.0.2)atCMakeLists.txt:5- The version assertions in
test/nuklear_gamepad_test.c:31-34
About ten PRs have merged since v1.1.0 (L2/R2/L3/R3 buttons #59, axis names #55, version macros #56 themselves, axis clamping #71, backend fixes #69/#70), so master is well past 1.1.0 in content too.
Suggested Implementation
Bump all three locations to the next intended release (1.2.0, given the feature additions since v1.1.0) in one commit, and note in the PR that future releases should update these alongside the tag — the three spots must move together (the test asserts the header, and CMake duplicates it).
QA
grep -rn "1\.0\.2"in the repo (excludingvendor/) returns nothing.- Header macros, CMake project version, and test assertions all agree.
ctestpasses.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the version definitions in nuklear_gamepad.h:30-33, the project version in CMakeLists.txt:5, and the assertions in test/nuklear_gamepad_test.c:31-34. Check the existing 1.0.2 references, update all three locations to the intended 1.2.0 release, then run the repository grep and ctest. Done means the locations agree, no non-vendor 1.0.2 references remain, and tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cmake
- Domain
- build-system, release, testing-qa
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 84/100