Skip to content

Commit

Permalink
dnfjson: add OptionalMetadata property to depsolve args
Browse files Browse the repository at this point in the history
New property on the arguments object that controls the types of metadata
to download for repositories and use when depsolving.

See osbuild/osbuild#1775
  • Loading branch information
achilleas-k committed May 21, 2024
1 parent ca41851 commit edee43c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/dnfjson/dnfjson.go
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,9 @@ type arguments struct {
// Load repository configurations, gpg keys, and vars from an os-root-like
// tree.
RootDir string `json:"root_dir"`

// Optional metadata to download for the repositories
OptionalMetadata []string `json:"optional-metadata,omitempty"`
}

type searchArgs struct {
Expand Down

0 comments on commit edee43c

Please sign in to comment.