rpmmd: add IgnoreSSL field to PackageSpec

After a depsolve, each package inherits the `IgnoreSSL` value from its
repository configuration.

This information is not yet used.  It will be used to expose this
information to osbuild's org.osbuild.curl stage.

The test data is updated to match the new behaviour:
The test repository config specifies `IgnoreSSL=true` and the packages
in the response inherit the value.
This commit is contained in:
Achilleas Koutsou 2022-06-15 12:31:22 +02:00 committed by Tomáš Hozza
parent 2f247847d6
commit e340687ab5
3 changed files with 109 additions and 107 deletions

View file

@ -146,6 +146,7 @@ type PackageSpec struct {
Checksum string `json:"checksum,omitempty"`
Secrets string `json:"secrets,omitempty"`
CheckGPG bool `json:"check_gpg,omitempty"`
IgnoreSSL bool `json:"ignore_ssl,omitempty"`
}
type PackageSource struct {