Bug 243725 - RFE: Provide a method to use yum plugins with mock
Summary: RFE: Provide a method to use yum plugins with mock
Alias: None
Product: Fedora Hosted Projects
Classification: Retired
Component: mock
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Clark Williams
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-06-11 15:04 UTC by Jesse Keating
Modified: 2013-01-10 04:20 UTC (History)
4 users (show)

Clone Of:
Last Closed: 2009-08-13 14:50:29 UTC

Attachments (Terms of Use)

Description Jesse Keating 2007-06-11 15:04:09 UTC
Right now there doesn't appear to be a method of using yum plugins.  This could
be useful, if I ever write the plugin to prefer downloading from one repo
instead of others when all things are equal.

Comment 1 Carl Roth 2008-04-17 15:13:15 UTC
Is there another example that you can think of?  Repository selection and
priority specification isn't really an issue with mock because the yum
repositories are completely spelled out in each chroot configuration.  That is,
in my build environment I use alternate chroot configuration files specifically
for that purpose.

Comment 2 Michael E Brown 2008-04-17 17:07:33 UTC
yum plugins *should* just work if you enable them in the config file. You just
have to be careful because all plugins that are enabled on the host will be used.

Comment 3 Ricky Zhou 2009-08-05 16:52:46 UTC
Hey, is this still an issue?  Also, just curious - is this still the main product in bugzilla where mock bugs are tracked?  I'd be nice to get rid of the fedora hosted product soon because it seems to cause a lot of confusion with where to properly submit bugs :-/

Comment 4 Clark Williams 2009-08-05 17:34:08 UTC
it would be nice to consolidate bug reports and patch submission but that's going to be tough, since we have mock for both Fedora and RHEL (or EPEL if you prefer). 

As far as the RFE goes, I think we need to ask Jesse if we need something besides the mock config file to manipulate yum plugins.

Comment 5 Jesse Keating 2009-08-13 00:01:51 UTC
mock config file is just fine.

Comment 6 Clark Williams 2009-08-13 14:50:29 UTC
Ok, I'm closing as worksforme

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