summaryrefslogtreecommitdiff
path: root/lib/python/qmk/info.py
AgeCommit message (Collapse)Author
2021-08-09Fix generate api (#13930)Zach White
* Add missing returncode to exit() * fix the aozora/hotswap vendor id
2021-05-09Catch 'LAYOUTS = all' in lint (#12848)Joel Challis
Co-authored-by: Zach White <skullydazed@drpepper.org>
2021-03-24Add support for qmk_configurator style aliases (#11954)Zach White
* Add support for qmk_configurator style aliases * add the keyboard aliases to the api data * add support for a keyboard metadata file * make flake8 happy
2021-03-22use layout aliases when processing info.json (#12333)Zach White
2021-03-09improve detection of community layout supportZach White
2021-02-27Fix compile errors (#12048)Zach White
* fix compile errors * fix broken json files
2021-02-27Fix develop (#12039)Zach White
Fixes file encoding errors on Windows, and layouts not correctly merging into info.json. * force utf8 encoding * correctly merge layouts and layout aliases * show what aliases point to
2021-01-31Create a system to map between info.json and config.h/rules.mk (#11548)Zach White
* generate rules.mk from a json mapping * generate rules.mk from a json mapping * support for config.h from json maps * improve the mapping system * document the mapping system * move data/maps to data/mappings * fix flake8 errors * fixup LED_MATRIX_DRIVER * remove product and description from the vision_division keymap level * reduce the complexity of generate-rules-mk * add tests for the generate commands * fix qmk doctor when submodules are not clean
2021-01-09Add support for specifying BOARD in info.json (#11492)Zach White
* add support for specifying BOARD in info.json * move BOARD from rules.mk to info.json for clueboard * fix keyboards that do not require board * remove out of compliance values
2021-01-09Use the schema to eliminate custom code (#11108)Zach White
* use the schema to eliminate custom code * Update docs/reference_info_json.md Co-authored-by: Ryan <fauxpark@gmail.com> * make flake8 happy * bugfix * do not overwrite make vars from json Co-authored-by: Ryan <fauxpark@gmail.com>
2021-01-08fix bugs triggered by certain boardsZach White
2021-01-07Revert "change invalid pin from error to warning"Zach White
This reverts commit 68da9cd19658071f0c2f22e97956303281703176.
2021-01-07change invalid pin from error to warningZach White
2021-01-07make flake8 happyZach White
2021-01-07get qmk generate-api into a good stateZach White
2021-01-07validate keyboard data with jsonschemaZach White
2021-01-03fix keyboards with apostrophes in their namesZach White
2021-01-03Fix broken keyboards (#11412)Zach White
* Fix a couple errors * add a dependency for the generated headers
2020-12-30Configure keyboard matrix from info.json (#10817)Zach White
* Make parameters from info.json available to the build system * move all clueboard settings to info.json * code formatting * make flake8 happy * make flake8 happy * make qmk lint happy * Add support for specifying led indicators in json * move led indicators to the clueboard info.json * Apply suggestions from code review Co-authored-by: Erovia <Erovia@users.noreply.github.com> * add missing docstring Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2020-12-19Change keyboard json format to bring it inline with the current api (#11231)Zach White
2020-11-07New command: qmk lint (#10761)Zach White
* Basic qmk lint command * check for keymap readme * change the workflow from qmk info to qmk lint * add a strict mode * parsing -> parse * document qmk lint * small info logging cleanup * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * honor --strict in more places * change the job name to lint Co-authored-by: Ryan <fauxpark@gmail.com>
2020-10-25Generate api data on each push (#10609)Zach White
* add new qmk generate-api command, to generate a complete set of API data. * Generate api data and push it to the keyboard repo * fix typo * Apply suggestions from code review Co-authored-by: Joel Challis <git@zvecr.com> * fixup api workflow * remove file-changes-action * use a more mainstream github action * fix yaml error * Apply suggestions from code review Co-authored-by: Erovia <Erovia@users.noreply.github.com> * more uniform date handling * make flake8 happy * Update lib/python/qmk/decorators.py Co-authored-by: Erovia <Erovia@users.noreply.github.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2020-10-18[CLI] Remove check for Input Club boards (#10636)Ryan
2020-10-09CLI: Fix MCU lists for `qmk info` (#10574)Ryan
2020-10-06Improve LAYOUT macro searching (#9530)Ryan
* Improve LAYOUT macro searching * Apply suggestions from code review Co-authored-by: Zach White <skullydazed@users.noreply.github.com> * Adjust signature * Try to copy the makefile's handling of DEFAULT_FOLDER * Move it further up, into `info_json()` * Move it even further up so that keyboard_folder is correct * Update lib/python/qmk/info.py Co-authored-by: Zach White <skullydazed@drpepper.org> * Update lib/python/qmk/info.py Co-authored-by: Zach White <skullydazed@drpepper.org> Co-authored-by: Zach White <skullydazed@users.noreply.github.com> Co-authored-by: Zach White <skullydazed@drpepper.org>
2020-07-16Remove `DESCRIPTION` (#9732)Ryan
2020-05-26[CLI] Add a subcommand for getting information about a keyboard (#8666)Zach White
You can now use `qmk info` to get information about keyboards and keymaps. Co-authored-by: Erovia <Erovia@users.noreply.github.com>