-
Notifications
You must be signed in to change notification settings - Fork 6
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
Reworked action with linters #3
Conversation
Improve quality, consistency and readbility with the following pre-commit hooks: - action-lint - shellcheck - shfmit - zizmor --- - property "os" is not defined -- ignored - SC2086 -- resolved - does not set persist-credentials: fals -- resolved - TODO: make this name a global variable -- resolved, creates more linter warnings, also resolved - list of packages flattened and de-duplicated (flex and other packages were included twice), some of the packages look like meta packages to me and should be checked, Consider using `--no-install-recommends` option to only install the required packages. - variant configuration is processed 3 times and has been turned into a loop by leveraging bash string manipulation https://www.gnu.org/software/bash/manual/bash.html#Shell-Parameter-Expansion ```bash $ panel="hd228001c31" $ sed -e "s/CONFIG_MIPI_PANEL_ZCT2133V1/CONFIG_MIPI_PANEL_ST7701_${panel^^}/g" <<< "CONFIG_MIPI_PANEL_ZCT2133V1__123" CONFIG_MIPI_PANEL_ST7701_HD228001C31__123 ```
Thank you for the rework. I am not using this workflow, it is part of the original project. |
Thank you for checking and finding this one issue, it was not on purpose. Edit: I'm wondering how this could pass the linters. 🤔 I was wondering how this workflow is used. Thanks for clearing it up. My intention was to work on the scripts actually, but I thought if there is a GitHub Action, it would be more important and have more value for anyone who uses it. However I don't use it myself yet. Do you plan to maintain this repository and eventually upstream the work so that images with more recent components and patches/fixes can be built, or was it a one-off after my EMBA report? I think the work you did here has a lot of value and should be upstreamed to encourage community contributions to NanoKVM and other products while also improving workflows and collaboration. But at the moment I'm rather confused about how the product comes together. If you intend to maintain a fork that is synced with upstream from time to time that would also be fine. I'd be glad to offer support. |
I tried to upstream some stuff month ago but did not get any response there: At this moment it is much easier to maintain my own variant and I will try my best to keep it alive.
|
Linters
Improve quality, consistency and readbility with the following pre-commit hooks:
Findings
Worklog
--no-install-recommends
option to only install the required packages.Example to proof that it works as intended: