Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More CLI Improvements #252

Merged
merged 14 commits into from
Feb 14, 2020
Merged

More CLI Improvements #252

merged 14 commits into from
Feb 14, 2020

Conversation

drashna
Copy link
Collaborator

@drashna drashna commented Feb 12, 2020

Mostly to keep feature parity with the qmk cli (bin/qmk).

  • Merge Upstream on Jan 11

Align cformat rules with current CI implementation (qmk#7936)

  • Merged upstream Jan 21

Beef up how qmk doctor works. (qmk#7375)

  • Merged upstream Jan 24

Qmk doctor os check to support newer msys2/w10 installations (qmk#8031)

  • Merged upstream Jan 28

Improve the functionality of qmk.questions (qmk#8020)

  • Merged upstream on Feb 3

Add QMK Compile Context Sensitivity (qmk#6884)

  • Merged upstream on Feb 7

CI: Add workflow for CLI testing (qmk#7357)

  • Merged upstream on Feb 8

@drashna drashna requested a review from fdidron February 12, 2020 02:10
Erovia and others added 6 commits February 11, 2020 20:17
If an undefined attribute of a submodule is accessed, fall back to
same attribute of the submodule's parent.
Commandline args should be merged with the submodule's config.
Compare config values to None instead of False, so empty lines and False
can be used as values.
This is needed for inheritance to work with commands that have dashes in
their names.
* Align cformat rules with current CI implementation

* Optimise file walking
* Beef up how `qmk doctor` works.

* improve the `git submodule status` parsing. h/t @Erovia

* Fix whitespace and imports

* yapf

* Add documentation for the new doctor functionality

* Replace type_unchanged() with str()

* remove unused modules

* Update lib/python/qmk/cli/doctor.py

Co-Authored-By: Erovia <[email protected]>

Co-authored-by: Erovia <[email protected]>
* Fixed OS detection on newer MSYS installations

* made OS sting lower case
@drashna drashna changed the title CLI: Rework ModemManager check and add udev check More CLI Improvements Feb 12, 2020
zvecr and others added 4 commits February 11, 2020 23:43
* wip

* tested and working

* remove unused import

* Update lib/python/qmk/questions.py

Co-Authored-By: Erovia <[email protected]>

* fix flake8 errors

Co-authored-by: Erovia <[email protected]>
* Add context sensitive compile, without config check

* Initial full working state. Plan to refactor

* Refactor loop for simplicity, add comments

* Update docs/cli.md with qmk compile examples

* Simplify path for keyboard derivation

* Update path to use path.join instead of concat

* Refactor keyboard path, the skully way

* Add in keymap folder support

* Add /layouts compile support

* Update docs/cli.md with empty compile in layouts

* Add comments to compile.py

* Update docs for clarity, and fix compile error typo

* Fix config option compile

* Fix layout compile and failure mode

* Add rules.mk check

* Fix variable names for global config

* Add in_layout priority

* Remove default fallback in favor of throw, update docs

* Add keymap folder context

* Fix formatting

* Add os import

* Convert to create_make_command

* Fix Travis lint errors

* Remove blank line with whitespace

* Add blank lines for readability

* Remove unnecessary config logic

* Update Docs to add flash

Co-Authored-By: skullydazed <[email protected]>

* Shift config precedence to MILC

Co-authored-by: skullydazed <[email protected]>
Create GitHub Actions cli test workflow and remove travis runs of 'qmk pytest'
@fdidron fdidron merged commit ac61b30 into staging Feb 14, 2020
@fdidron fdidron deleted the cli/docter_checks branch February 14, 2020 08:54
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.

7 participants