Bug 1572597

Summary: RFE: mock --enable-module MODULE:STREAM feature
Product: [Fedora] Fedora Reporter: Pavel Raiskup <praiskup>
Component: mockAssignee: Miroslav Suchý <msuchy>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jdisnard, jkeating, mebrown, msimacek, msuchy, praiskup, williams
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-07 07:26:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1572596    

Description Pavel Raiskup 2018-04-27 11:46:53 UTC
Consider I want to build package against specific module stream, I'd like to
be able to specify this by mock's option.

Comment 1 Miroslav Suchý 2018-06-07 07:26:12 UTC
Well, you have:

## This will only work with DNF and when repo is configured with modules=1 for repo in dnf.conf.
## This is executed just before 'chroot_setup_cmd'.
# config_opts['module_enable'] = ['list', 'of', 'modules']                                                                                       
# config_opts['module_install'] = ['module1/profile', 'module2/profile']


I do not think this need special command line. Especially when we have `--config-opts=KEY=VALUE`.