On Sat, 2007-05-12 at 03:08 +0000, Robert Spanton wrote:
> A few months ago, I wrote a plugin for yum that allows local mirrors of 
> yum repositories to be used by grabbing config information over avahi.  
> I've been using it since then, as have a few of my housemates, and it's 
> worked reasonably well.

This is very cool and definitely something that's been needed.  I
wonder, though, if instead of pulling full config information, if it
just makes sense to have repoid->baseurl mapping present.  That would
make it so that you don't have to worry about forbidden settings or
overwriting other things people have set for the repo (eg,
include/exclude packages)

> There are certainly a few bugs in it :-)  I wasn't sure what the best 
> combination of setting/clearing/modding the baseurl and mirrorlist was to 
> force yum to use the local mirrors (whilst still falling back on the 
> other mirrors).

I wonder if the best thing to do here is to just set things up as a
mirrorlist using non-roundrobin failover.  Then, the mirrorlist could be
populated with the local mirror and then either the baseurl or a
pre-shuffled mirrorlist.

Jeremy

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

Reply via email to