Bug 754321

Summary: Giving an option for a plugin from command line
Product: [Fedora] Fedora Reporter: Masatake YAMATO <yamato>
Component: mockAssignee: Clark Williams <williams>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mebrown, williams
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-11 19:47:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
a patch implmenting the requested feature none

Description Masatake YAMATO 2011-11-16 06:07:27 UTC
Created attachment 533903 [details]
a patch implmenting the requested feature

This is a feature request.
It is nice if we can define a value for a parameter for a plugin from command line. We can give a value for it via configuration file but we have to prepare a new configuration file or rewrite existing configuration file to change the parameter. It is inconvenient in some situation.

See the attached patch. After applying you try the implemented feature with following option:

  mock --plugin-option="ccache:max_cache_size=5G" SOMETHING_SRC_RPM

Comment 1 Masatake YAMATO 2013-01-09 03:07:01 UTC
It seems that my patch is included in 1.1.23-1. Thanks.
Please, close this bug.