You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
}
The text was updated successfully, but these errors were encountered:
Since wolfi packages started to use
secfixes
field in the package configs,build.Configuration
struct does not include thesecfixes
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 intobuild.Configuration{}
for linting whether given config is valid usingyamlv3
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:
The text was updated successfully, but these errors were encountered: