akdev we missed a couple issues in my

@akdev we missed a couple issues in my PR
https://github.com/ublue-os/main/pull/310 I feel like thats a pattern for me... do something pretty good and working with good testing the first time... ⭐ Try to improve it a bit more... don't test quite as well... merge it... it's broken 😢 Thankfully in this case it didn't break the build, just didn't install the package as expected.
9 Replies
bsherman
bshermanOP16mo ago
I'm TESTING a corrective PR now. And to be specific... i had tested the jq script changes in the last PR... but not done a full image build... I guess I got impatient.
bsherman
bshermanOP16mo ago
GitHub
fix: use raw output from jq to install cosign again by bsherman · P...
The quotes included from the jq string did not behave as normal quotes when used in a bash variable, which resulted in an invalid url string for rpm-ostree install.
akdev
akdev16mo ago
Ah I’ve made this mistake many times
bsherman
bshermanOP16mo ago
yeah, me too I am a little surprised that the build.sh didn't error out ahh, it's because the github-install script doesn't have strict bash settings, i'm going to fix that in this too i'll add set -ouex pipefail
akdev
akdev16mo ago
👍 I wish we could create an inventory of all the scripts we have and just put them somewhere centralize and run shellcheck on them
bsherman
bshermanOP16mo ago
well, we could... just have a layer in an scratch image... or a github release tarball we extract on each build... but most of the build.sh files are bespoke... but we could do a lot of that in config repo...
akdev
akdev16mo ago
Maybe some shellcheck action that just finds script and runs shellcheck in all? Then we could add it to the different parts
bsherman
bshermanOP16mo ago
that's probably more appropriate yeah add it to config, akmods, main, nvidia It's looking good now.
akdev
akdev16mo ago
Approved
Want results from more Discord servers?
Add your server