ublue-os / main

OCI base images of Fedora with batteries included
https://universal-blue.org/images/main/
Apache License 2.0
504 stars 50 forks source link

PROPOSAL: Add Codacy to check code quality #552

Open noelmiller opened 7 months ago

noelmiller commented 7 months ago

Since we are considering splitting out our container files into smaller bash scripts (rather than doing inline bash), I think it would be helpful to have a code analysis tool to help with consistency and code quality: https://www.codacy.com/pricing

The open source plan is free and it can be added as a check in Github on a repo.

See https://github.com/JasonN3/build-container-installer/pull/100 as an example.

castrojo commented 7 months ago

+1, I was thinking a shellcheck action but this should be fine to test. I can add it at an org level but would prefer to test it in one repo that isn't main first to get a feel for it.

I don't mind just turning it on as a nonblocking check in bluefin for a while, lmk.

noelmiller commented 7 months ago

+1, I was thinking a shellcheck action but this should be fine to test. I can add it at an org level but would prefer to test it in one repo that isn't main first to get a feel for it.

I don't mind just turning it on as a nonblocking check in bluefin for a while, lmk.

For sure! I think this would be valuable in all repos. We most certainly don't need to turn it on in main first :)

castrojo commented 6 months ago

I've got this on in Bluefin and a few others and it seems fine. Any other feedback from approvers?