On Wed, 2007-04-25 at 18:06 -0400, James Bowes wrote: > 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. >
Well, we broke that a little while ago, not with this patch. I just noticed it - before this patch applies as root run: yum clean all then as a user run: yum list available watch as the traceback ensues. I didn't notice it before but I'll get it cleaned up tonight. -sv _______________________________________________ Yum-devel mailing list [email protected] https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
