summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/info.py
Commit message (Collapse)AuthorAgeFilesLines
* use layout aliases when processing info.json (#12333)Zach White2021-03-221-1/+9
|
* improve detection of community layout supportZach White2021-03-091-13/+4
|
* Fix compile errors (#12048)Zach White2021-02-271-2/+3
| | | | | * fix compile errors * fix broken json files
* Fix develop (#12039)Zach White2021-02-271-10/+34
| | | | | | | | | 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
* Create a system to map between info.json and config.h/rules.mk (#11548)Zach White2021-01-311-241/+102
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add support for specifying BOARD in info.json (#11492)Zach White2021-01-091-1/+7
| | | | | | | | | * 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
* Use the schema to eliminate custom code (#11108)Zach White2021-01-091-31/+29
| | | | | | | | | | | | | | | * 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>
* fix bugs triggered by certain boardsZach White2021-01-081-11/+24
|
* Revert "change invalid pin from error to warning"Zach White2021-01-071-1/+1
| | | | This reverts commit 68da9cd19658071f0c2f22e97956303281703176.
* change invalid pin from error to warningZach White2021-01-071-1/+1
|
* make flake8 happyZach White2021-01-071-37/+47
|
* get qmk generate-api into a good stateZach White2021-01-071-25/+57
|
* validate keyboard data with jsonschemaZach White2021-01-071-11/+140
|
* fix keyboards with apostrophes in their namesZach White2021-01-031-1/+1
|
* Fix broken keyboards (#11412)Zach White2021-01-031-0/+3
| | | | | * Fix a couple errors * add a dependency for the generated headers
* Configure keyboard matrix from info.json (#10817)Zach White2020-12-301-59/+296
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Change keyboard json format to bring it inline with the current api (#11231)Zach White2020-12-191-3/+7
|
* New command: qmk lint (#10761)Zach White2020-11-071-12/+31
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Generate api data on each push (#10609)Zach White2020-10-251-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [CLI] Remove check for Input Club boards (#10636)Ryan2020-10-181-2/+0
|
* CLI: Fix MCU lists for `qmk info` (#10574)Ryan2020-10-091-3/+3
|
* Improve LAYOUT macro searching (#9530)Ryan2020-10-061-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Remove `DESCRIPTION` (#9732)Ryan2020-07-161-1/+0
|
* [CLI] Add a subcommand for getting information about a keyboard (#8666)Zach White2020-05-261-0/+249
You can now use `qmk info` to get information about keyboards and keymaps. Co-authored-by: Erovia <Erovia@users.noreply.github.com>