[Yum-devel] [PATCH] RFC: Lazily get repo info
Jeremy Katz
katzj at redhat.com
Wed Apr 25 21:58:35 UTC 2007
There are currently a few problems with enabling/disabling repos with
the move to the RepoStorage object being a property. The biggest one is
if you have a repo with a buggy mirror list and do
yum --disablerepo=broken-repo [...]
then we still try to fetch the mirror list and things blow up. The
attached changes things so that the repo is a little bit more lazily set
up and fixes that problem. It doesn't look like this will cause any
problems for any API users either, but wanted to get more eyes on it
before committing.
Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum-lazy-repo-setup.patch
Type: text/x-patch
Size: 2155 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20070425/e0998704/attachment.bin
More information about the Yum-devel
mailing list