[Yum-devel] makecache process

Jeremy Katz katzj at redhat.com
Sat Nov 5 15:43:16 UTC 2005


On Sat, 2005-11-05 at 10:32 -0500, seth vidal wrote:
> On Sat, 2005-11-05 at 10:29 -0500, Jeremy Katz wrote:
> > On Sat, 2005-11-05 at 08:10 -0500, seth vidal wrote:
> > > What do folks think?
> > 
> > I was actually going to suggest that we probably want some sort of
> > mirror pinning[1] in combination with this to try to avoid Really Weird
> > Errors.  And I actually wonder how much win we'd get from just some form
> > of mirror pinning.
> > 
> > [1] For lack of a better term

> The word pinning makes me cringe all over.

Yeah, I know... how about persistent mirror selection? ;)

> 1. we download the mirrorlist
> 2. sort it
> 3. find a working mirror
> 3. write it out to /var/cache/yum/$repo/mirrorlist w/the last one we
> used at the top
> 4. and redo that list everytime we re-read all the metadata.

Seems sane except for two 3s ;)

Jeremy




More information about the Yum-devel mailing list