Jeremy Katz wrote:
> 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.

So I like this approach, but it does break API in that anyone who
accesses repoXML now has to worry about catching a RepoError. Probably
not a big deal, since if you can't get the repoXML you're pretty much
done for anyways.

-James

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to