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

Fix shell check warnings #242

Merged
merged 2 commits into from
Oct 9, 2023

Conversation

S0AndS0
Copy link
Contributor

@S0AndS0 S0AndS0 commented Oct 6, 2023

Description of changes

  • SC2002 -- piping cat through two grep calls may instead be handled all by one grep call within both the GitHub Action configuration, and build script.

    Note; I recognize above described change is totally a micro optimization, but it also reduces shellcheck noise and shouldn't break anything

  • SC2086 -- double quoting prevents unintentional word splitting were one to call script with TIMESTAMP defined, ex TIMESTAMP="questionable idea" ./bin/build.sh

Related documentation

GitHub Action

@ReFil
Copy link
Collaborator

ReFil commented Oct 9, 2023

LGTM, Thanks for this!

@ReFil ReFil merged commit 8e2e77b into KinesisCorporation:V3.0 Oct 9, 2023
1 check passed
sanderdrummer added a commit to sanderdrummer/Adv360-Pro-ZMK that referenced this pull request Oct 19, 2023
* Add instructions for upgrading from V2 to V3 in README (KinesisCorporation#197)

This commit adds a new section in the README.md file detailing instructions for users upgrading from V2 to V3.

* Add CHANGELOG (KinesisCorporation#221)

* Readme rewrite (KinesisCorporation#222)

* Fix shell check warnings (KinesisCorporation#242)

* Fix SC2002 Shell Check warning

* Fix SC2086 Shell Check warnings

* Further documentation work (KinesisCorporation#241)

* Minor cleanup, change date format, add beta testing

* Update CHANGELOG.md

* feat: update keymap

---------

Co-authored-by: Santhosh Kannan <santhoshknn@gmail.com>
Co-authored-by: ReFil <31960031+ReFil@users.noreply.github.com>
Co-authored-by: S0AndS0 <strangerthanbland@gmail.com>
clayne11 pushed a commit to clayne11/Adv360-Pro-ZMK that referenced this pull request Nov 18, 2023
* Fix SC2002 Shell Check warning

* Fix SC2086 Shell Check warnings
Shamasher pushed a commit to Shamasher/Adv360-Pro-ZMK-fork that referenced this pull request Nov 22, 2023
* Fix SC2002 Shell Check warning

* Fix SC2086 Shell Check warnings
Coobaha added a commit to Coobaha/Adv360-Pro-ZMK that referenced this pull request Nov 26, 2023
* upstream/V3.0:
  Revert "Add version macro to keymap.json (KinesisCorporation#269)"
  Add version macro to keymap.json (KinesisCorporation#269)
  Changelog new base ZMK update (KinesisCorporation#268)
  Version compiled FW with automatic macro (KinesisCorporation#267)
  Document new NKRO settings (KinesisCorporation#264)
  Improve documentation based on feedback (KinesisCorporation#260)
  Update reset file
  Update ZMK (KinesisCorporation#248)
  Further documentation work (KinesisCorporation#241)
  Fix shell check warnings (KinesisCorporation#242)
  Readme rewrite (KinesisCorporation#222)
  Add CHANGELOG (KinesisCorporation#221)

# Conflicts:
#	Makefile
#	config/adv360.keymap
asmodeus812 pushed a commit to asmodeus812/Adv360-Pro that referenced this pull request Dec 6, 2023
* Fix SC2002 Shell Check warning

* Fix SC2086 Shell Check warnings
alok added a commit to alok/Adv360-Pro-ZMK that referenced this pull request Dec 6, 2023
* upstream/V3.0:
  Update bluetooth settings in light of user feedback (KinesisCorporation#289)
  Revert "Add version macro to keymap.json (KinesisCorporation#269)"
  Add version macro to keymap.json (KinesisCorporation#269)
  Changelog new base ZMK update (KinesisCorporation#268)
  Version compiled FW with automatic macro (KinesisCorporation#267)
  Document new NKRO settings (KinesisCorporation#264)
  Improve documentation based on feedback (KinesisCorporation#260)
  Update reset file
  Update ZMK (KinesisCorporation#248)
  Further documentation work (KinesisCorporation#241)
  Fix shell check warnings (KinesisCorporation#242)
  Readme rewrite (KinesisCorporation#222)
  Add CHANGELOG (KinesisCorporation#221)
noseworthy pushed a commit to noseworthy/Adv360-Pro-ZMK that referenced this pull request Jan 16, 2024
* Fix SC2002 Shell Check warning

* Fix SC2086 Shell Check warnings
zemackdaddy pushed a commit to zemackdaddy/Adv360-Pro-ZMK that referenced this pull request Jan 22, 2024
* Fix SC2002 Shell Check warning

* Fix SC2086 Shell Check warnings
tricktux pushed a commit to tricktux/Adv360-Pro-ZMK that referenced this pull request Feb 10, 2024
* Fix SC2002 Shell Check warning

* Fix SC2086 Shell Check warnings
ztomer pushed a commit to ztomer/Adv360-Pro-ZMK that referenced this pull request Apr 16, 2024
* Fix SC2002 Shell Check warning

* Fix SC2086 Shell Check warnings
zemackdaddy pushed a commit to zemackdaddy/Adv360-Pro-ZMK that referenced this pull request Jul 7, 2024
* Fix SC2002 Shell Check warning

* Fix SC2086 Shell Check warnings
jan-l pushed a commit to jan-l/Adv360-Pro-ZMK that referenced this pull request Aug 28, 2024
* Fix SC2002 Shell Check warning

* Fix SC2086 Shell Check warnings
therealcisse added a commit to therealcisse/Adv360-Pro-ZMK that referenced this pull request Dec 30, 2024
* KinesisCorporation-V3.0:
  Version 3.x
  Updated keymap
  crap
  crap
  crap
  Updated keymap
  Updated keymap
  Updated keymap
  Changelog update (KinesisCorporation#448)
  Minor docs update (KinesisCorporation#445)
  Document new layer colors and modifier color configuration option (KinesisCorporation#431)
  Zephyr 3.5 Update (KinesisCorporation#426)
  Fix Makefile errors that prevent builds on macOS (KinesisCorporation#409)
  Fix version.dtsi is reset after local firmware build (KinesisCorporation#385)
  Update build workflows (KinesisCorporation#376)
  Makefile enhancements to optimize local workflows (KinesisCorporation#363)
  Update Makefile variables (KinesisCorporation#335)
  Base ZMK update (KinesisCorporation#326)
  Prefer `tr` to ${char^^}, which does not work on older bash versions (KinesisCorporation#303)
  Add version macro (KinesisCorporation#300)
  Add pull request template (KinesisCorporation#293)
  Revert "Updated keymap"
  Revert "Updated keymap"
  Updated keymap
  Updated keymap
  Make get_version use bash from $PATH (KinesisCorporation#287)
  Update bluetooth settings in light of user feedback (KinesisCorporation#289)
  Revert "Add version macro to keymap.json (KinesisCorporation#269)"
  Add version macro to keymap.json (KinesisCorporation#269)
  Changelog new base ZMK update (KinesisCorporation#268)
  Version compiled FW with automatic macro (KinesisCorporation#267)
  Document new NKRO settings (KinesisCorporation#264)
  Improve documentation based on feedback (KinesisCorporation#260)
  Update reset file
  Update ZMK (KinesisCorporation#248)
  Further documentation work (KinesisCorporation#241)
  Fix shell check warnings (KinesisCorporation#242)
  Readme rewrite (KinesisCorporation#222)
  Add CHANGELOG (KinesisCorporation#221)
  Add instructions for upgrading from V2 to V3 in README (KinesisCorporation#197)
  V3.0 Update
  Refactor(boards): cleanup pins and keys
  Refine wording of steps in firmware flashing.
  Provide flashing instructions, point at GUI editor, and format support links.
  Remove unnecessary keys from GUI
  Fix json files
  Add additional pedal keys
  Disable logging
  use $(strip to remove whitespace
  Fix alignment of space thumb key
  Correct column alignment for generated keymaps
  Disable SELinux support on OS X
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.

2 participants