-
Notifications
You must be signed in to change notification settings - Fork 15
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
CI: add a shellcheck job for all our shell scripts #86
Conversation
d59fc3b
to
02ac4c7
Compare
9f28c95
to
b7e16c6
Compare
The remaining issues are:
The first two of these are fixed in #88. The last one requires some thinking and the fix is not as mechanical as the others. |
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
This was suggested by shellcheck. Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Barebox shell rules are not 1:1 equivalent to "/bin/sh" rules, ignore this error. Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
…nings Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
…cripts Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
This change is less mechanic than the previous tac-gadget shellcheck change and required some more thinking, which is why it is split out from the rest. Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Hi @Emantor, do you think you could squeeze in a review for this PR? Otherwise I could try finding another shell scripting expert. |
Hi @Emantor, this is a rather large PR with no user-facing improvements, so I am fine with this not being on the fast track. |
Pull Request #85 has brought the topic of shell scripts in meta-lxatac not passing shellcheck to my attention.
I consider even a shell script that passes shellcheck performing like the author intended a happy coincidence. One that does not pass shellcheck working correctly is a full blown miracle.
Make sure to check all scripts with shellcheck for each pull request.
Todo before merging: