Bug 442909 - RFE: enhancements to mock plugin API
Summary: RFE: enhancements to mock plugin API
Keywords:
Status: CLOSED DUPLICATE of bug 634224
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-17 15:17 UTC by Carl Roth
Modified: 2013-01-10 01:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-16 04:13:32 UTC


Attachments (Terms of Use)

Description Carl Roth 2008-04-17 15:17:52 UTC
Description of problem:

Currently the mock plugin api isn't really a plugin api.  That is, the explicit
list of plugins is spelled out in the mock sources, meaning it's not easily
extendible with new plugins.  It would be better if mock trolled its plugin
directory and loaded all plugins that were available.

The current workaround I'm using (sort of a hack) is to manipulate the plugin
list and plugin configuration dictionaries from the site-defaults.cfg file. 
That's a short-term solution, since the newly-added plugins aren't visible from
the command-line enable/disable options.

Version-Release number of selected component (if applicable):

mock-0.9.8-1.fc9.noarch

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Michael E Brown 2008-04-17 20:22:09 UTC
Agreed. I originally started working on the plugin API, but my intent was to
ensure that I didnt over-engineer it and write a bunch of code that would not be
used.

If you have specific enhancements to the plugin API, go ahead and post them to
fedora-buildsys-list for discussion, and I would more than happy to add any
reasonable extensions to the plugin API to the codebase.


Comment 2 Masatake YAMATO 2010-09-16 04:13:32 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=634224

*** This bug has been marked as a duplicate of bug 634224 ***


Note You need to log in before you can comment on or make changes to this bug.