Documentation
¶
Overview ¶
Package repo implements the `azldev repo` top-level command, which exposes thin wrappers over the system dnf that auto-discover RPM repos under one or more URL prefixes.
Index ¶
Constants ¶
View Source
const DnfBinary = "dnf"
DnfBinary is the underlying system binary the wrapper invokes.
Variables ¶
This section is empty.
Functions ¶
func NewQueryCmd ¶
NewQueryCmd constructs the cobra command for `azldev repo query`.
func RunQuery ¶
func RunQuery(env *azldev.Env, options *QueryOptions, dnfArgs []string) error
RunQuery is the entry point for `azldev repo query`. It resolves the candidate sub-repos and runs `dnf` with them wired up via --repofrompath / --enablerepo plus skip_if_unavailable=1 — letting dnf itself log and tolerate sub-repos that turn out to be missing.
Types ¶
Click to show internal directories.
Click to hide internal directories.