chore(scripts): improve shell scripts with shellcheck fixes and better practices#4046
Conversation
|
@mdb I'd appreciate a thorough review on this if you have time. |
14d16d4 to
dcc091b
Compare
|
/merge |
|
View all feedbacks in Devflow UI.
This merge request is not mergeable according to GitHub. Common reasons include pending required checks, missing approvals, or merge conflicts — but it could also be blocked by other repository rules or settings.
[email protected] unqueued this merge request |
|
/merge --skip-checks --reason="Only file formatting changes, nothing functional" |
|
View all feedbacks in Devflow UI.
PR already in the queue with status waiting |
|
/merge -c |
|
View all feedbacks in Devflow UI.
|
|
/merge --skip-checks --reason="Only file formatting changes, nothing functional" |
|
View all feedbacks in Devflow UI.
This merge request is not mergeable according to GitHub. Common reasons include pending required checks, missing approvals, or merge conflicts — but it could also be blocked by other repository rules or settings.
[email protected] unqueued this merge request |
…r practices This commit enhances the shell scripts in the scripts/ directory by: - Unified mode selection logic in lint.sh to properly check flags instead of argument count - Made shellcheck.sh parametric to accept custom script locations with local binary fallback - Removed all shellcheck disable directives and introduced fixes instead All scripts now pass shellcheck validation cleanly with zero warnings. Signed-off-by: Kemal Akkoyun <[email protected]> Co-Authored-By: Claude <[email protected]>
Signed-off-by: Kemal Akkoyun <[email protected]>
Signed-off-by: Kemal Akkoyun <[email protected]>
1dceaad to
aa57513
Compare
|
/remove |
|
View all feedbacks in Devflow UI.
|
|
/merge --skip-checks --reason="Only file formatting changes, nothing functional" |
|
View all feedbacks in Devflow UI.
This merge request is not mergeable according to GitHub. Common reasons include pending required checks, missing approvals, or merge conflicts — but it could also be blocked by other repository rules or settings.
[email protected] unqueued this merge request |
|
|
/remove |
|
View all feedbacks in Devflow UI.
|
Follow-up on #4042
What does this PR do?
This PR enhances the shell scripts in the scripts/ directory by:
All scripts now pass shellcheck validation cleanly with zero warnings.
Motivation
Improving code quality and maintainability of the shell scripts by addressing shellcheck warnings and enhancing script robustness.
Reviewer's Checklist
./scripts/lint.shlocally.Unsure? Have a question? Request a review!
Signed-off-by: Kemal Akkoyun [email protected]
Co-Authored-By: Claude [email protected]