mock
mock copied to clipboard
Custom DNF options
Short description of the problem
Mock already has --enablerepo
and --disablerepo
. Could you also consider implementing --repo
like dnf
has? --repo=X
is equivalent to --disablerepo='*' --enablerepo=X
, but it would be nice to have access to the same shorthand that dnf
provides.
Output of rpm -q mock
$ rpm -q mock mock-core-configs
mock-3.0-1.fc35.noarch
mock-core-configs-37.4-1.fc35.noarch
Thank you for the report. Rather than implementing the options one by one, I would probably prefer something like --dnf-options '--repo XYZ'
. Would that work for you?
I suppose. I'd just make sure to clarify the difference between that and --dnf-cmd
and how they work or don't work together.