Re:asdf banned_commands
by ryan-duve on Saturday October 29, 2022 @10:28AM
(#33384293)
Are these meant to be programmatically enforced via CI? If so, I wonder if adding an Alpine-based build to the pipeline would cover all the unsupported commands automatically.
[ Parent
| on HN ]
Re:asdf banned_commands
by MetricMike on Saturday October 29, 2022 @11:45AM
(#33385036)
That'd be a great addition!
Historically, the list of architectures that public github action runners make available has been quite limited. Having an alpine runner to surface unsupported commands would be a huge win.
That being said, it's very useful as a plugin dev to have this test suite while working on a WSL2/Ubuntu so that I don't need to run a full CI build every time
Alpine uses busybox for its shell and core utils. While closer to pure POSIX than bash or GNU, it has support for a few non-POSIX features (the shell supports the source command and brace expansion, and iirc some of the utils support non-standard flags).
It would be better to ensure POSIX shell script compliance by running the scripts with dash shell instead.