Skip to content
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

Should we introduce secfixes field in the build.Configuration? #216

Open
Dentrax opened this issue Dec 19, 2022 · 0 comments
Open

Should we introduce secfixes field in the build.Configuration? #216

Dentrax opened this issue Dec 19, 2022 · 0 comments

Comments

@Dentrax
Copy link
Contributor

Dentrax commented Dec 19, 2022

Since wolfi packages started to use secfixes field in the package configs, build.Configuration struct does not include the secfixes field yet. I'm curious about the rationale of introducing this field. My use case of this to make strict validation while parsing Melange config file into build.Configuration{} for linting whether given config is valid using yamlv3 Go package. (for $ wolfictl lint command)

Alternative workaround is creating a new struct that inherit Melange configuration, which I would not to prefer in the first place:

type Configuration struct {
  build.Configuration
  secfixes []string
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant