-
Notifications
You must be signed in to change notification settings - Fork 17
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
Use shellcheck to check/lint shell scripts #579
Comments
nichtich
added a commit
that referenced
this issue
Jan 31, 2025
nichtich
added a commit
that referenced
this issue
Feb 6, 2025
Down to 50 warnings (#579). Shel script errors are detected via GitHub webhook.
Warnings are down to 50, this should be ok. Errors are detected via GitHub action. We have 2000 lines of shell scripts, excluding the individual catalogue config files (which should be replaced by config files IMHO, see #489). The handling of
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
qa-catalogue includes 63 shell scripts. Several of these can be replaced by config files (#489).
wc -l $(find . -type f -exec head -1 {} /dev/null \; | awk '/bash/ { print file } { file = $0 } ' | sed 's/[=<> ]//g' )
The rest should be checked with automatic code analysis, e.g. with
shellcheck
. It's these files with current lines of code:The text was updated successfully, but these errors were encountered: