[Yum-devel] 3.2

Jeremy Katz katzj at redhat.com
Wed May 16 19:58:44 UTC 2007


On Wed, 2007-05-16 at 09:57 -0400, Jeremy Katz wrote:
> On Wed, 2007-05-16 at 09:23 -0400, seth vidal wrote:
> > I know we still have an outstanding problem with presto, iirc, 
> 
> This one is 
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236512 for anyone
> else who wants to take a look.  I keep looking at it and then keeping
> hitting a wall where things don't work even if things look promising
> up-front. 

Okay, this makes me cringe quite a bit given the potential for large
impact and general gross-ness of some of it, but it does seem to work.

Basic idea is that we move the repo setup into the RepoStorage object
instead of the YumBase object.  Sadly, this requires having access to
yumbase from the repostorage, but I see no real way around that.

And we end up kicking off the real repo setup when either
a) someone explicitly calls YumBase.doRepoSetup()
b) we go to populate package sacks based on the repos.

In some (light at this point) testing, everything seems to work but if I
didn't break anything, I'll be shocked.  Thoughts, comments, other
ideas?

Jeremy




More information about the Yum-devel mailing list