mock icon indicating copy to clipboard operation
mock copied to clipboard

Custom DNF options

Open gotmax23 opened this issue 2 years ago • 2 comments

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

gotmax23 avatar Jun 22 '22 00:06 gotmax23

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?

praiskup avatar Jul 13 '22 06:07 praiskup

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.

gotmax23 avatar Jul 13 '22 06:07 gotmax23