-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enforce best practices for melange YAMLs #86
Comments
I have some thoughts based on updating |
Any ongoing work on this? I'd be nice to have a tracking issue for this in the melange side. If you split into smaller tasks, we are ready to help! @developer-guy Additional to @.imjasonh ideas, here are some other ideas:
Footnotes |
It should be a separate command in the wolfictl CLI |
@Dentrax says he wants to work on this, so assigning it to him! |
@Dentrax have you started working on this? I've got a need for a CI check so am thinking it best live in |
Actual I already started on a branch to add a new |
Do you want to PR what you have? Even if it's just the structure and then we can both work on adding different linting together? Or maybe as soon as you do have the initial structure create a PR and we can add the different lints as followups? |
Oh, sure definitely! We want to submit an initial PR as soon as we have some bare-minimum. (Which currently I don't have a one) So that we can start to work on adding different lints collaboratively! |
Related to wolfi-dev/os#86 Signed-off-by: Furkan <furkan.turkal@trendyol.com> Co-authored-by: Batuhan<batuhan.apaydin@trendyol.com>
Related to wolfi-dev/os#86 Signed-off-by: Furkan <furkan.turkal@trendyol.com> Co-authored-by: Batuhan<batuhan.apaydin@trendyol.com> Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
Here is, we (@developer-guy) submit the initial PR for implementing the |
packages.wolfi.dev/os
or include its keyring; packages are fetched from that repo and depended on locally during the buildMakefile
(would have caught fix bugs found while linting #84)dag
: no duplicate package or subpackage names (would have caught fix erroneus libice-static definitions #85)epcho
bug fixed in fix bugs found while linting #84These checks should be enforced at CI time to prevent bugs from being committed.
This is complicated somewhat by the fact that melange YAML files aren't actually parseable YAML files, they're templates that get Go-templated into parseable YAML. Maybe we could templateize them then YAML-format them, or something else smart we haven't thought of yet.
The text was updated successfully, but these errors were encountered: