Check shell scripts during CI - #117
Conversation
|
We plan to use this pull request as a test for the draft public MPS Review Procedure. Accordingly, I'm executing review entry on this pull request and branch. Applying entry.universal and entry.impl.
Entry passed. This step took about 5 mins. |
|
Executing review planning.
This step took about 10 mins. |
|
Extra review objectives for proc.review.ko.improve:
|
|
Executing review kickoff.
Kickoff took 45 minutes including training and some discussion of improvements to the draft procedure. |
rptb1
left a comment
There was a problem hiding this comment.
- 1 minor issue
- 5 mins checking
- checked everything
There was a problem hiding this comment.
role.check.source - checked usage of shellcheck consistent with description at
https://github.com/koalaman/shellcheck
Checked shell-script-check.yml
and tool/check-shell-scripts
No issues found in the time available.
thejayps
left a comment
There was a problem hiding this comment.
.check.record:
- 3 minor defects
- 20 mins total looking at .clarity and .consistency
- Checked all the product document
|
Executing proc.review.log.
Logging took 40 minutes. |
|
Executing review brainstorm even though we don't have any major issues. It's training!
Brainstorm took 35 minutes. |
|
Preliminary estimation, proc.review.phase.estimation.
|
…ing leader comment. Adding usage. Referencing shellcheck manual.
branch/2023-01-14/shell-script-check to resolve check-shell-scripts failures in the merge <https://github.com/Ravenbrook/mps/actions/runs/4046143279/jobs/6958557079>.
|
Executing review exit.
Exit took 5 minutes. Final metrics (proc.review.exit.calc):
|
|
Executing pull request merge procedure.
Merge procedure took 6 minutes. |
Fixed in f8b6c94. |
… GitHub pull request 117 <#117>.
…ent)>: clarifying leader comment. adding usage. referencing shellcheck manual.
… github pull request 117 <Ravenbrook/mps#117>.
To help prevent introduction of shell script errors.
Run the shellcheck linter on shell scripts in the MPS as part of CI.
Also adds tool/check-shell-scripts for command-line use.
Shell script errors are not known to have caused defects in the MPS, but this was very cheap to implement as a side effect of #112