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

Port new_keyboard.sh to CLI #13706

Merged
merged 8 commits into from
Jul 30, 2021
Merged

Port new_keyboard.sh to CLI #13706

merged 8 commits into from
Jul 30, 2021

Conversation

fauxpark
Copy link
Member

Description

For the most part this is pretty much just a straight port from the shell script, but with some notable improvements such as validation of keyboard name and type.

Currently there is a bug with MILC's choice() that causes a default selection of 0 to be interpreted as no default: clueboard/milc#40

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Issues Fixed or Closed by This PR

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@fauxpark fauxpark requested a review from a team July 25, 2021 12:57
@github-actions github-actions bot added the core label Jul 25, 2021
@zvecr
Copy link
Member

zvecr commented Jul 25, 2021

Worth noting that i also have a new keyboard subcommand PR (#12795) that takes things in a slightly more "data driven" direction

lib/python/qmk/cli/new/keyboard.py Outdated Show resolved Hide resolved
lib/python/qmk/cli/new/keyboard.py Outdated Show resolved Hide resolved
@Erovia Erovia requested a review from a team July 26, 2021 10:53
@fauxpark fauxpark marked this pull request as ready for review July 30, 2021 16:38
@Erovia Erovia merged commit b021c2f into qmk:develop Jul 30, 2021
@fauxpark fauxpark deleted the py-new-keyboard branch July 30, 2021 21:01
nhongooi pushed a commit to nhongooi/qmk_firmware that referenced this pull request Dec 5, 2021
BorisTestov pushed a commit to BorisTestov/qmk_firmware that referenced this pull request May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants