seth vidal wrote:
Hi,
Over the last couple of weeks we've put together a mirror checking tool
and a cgi that will verify the currency of the mirrorlist. Then it will
generate lists per-country based on geoip country codes as well as a
global mirror list.
...
I have tried this on an FC5 + nearly up2date machine, and with the
"correct" repo=, it produced a useful mirrorlist and went ahead and
updated both core and extras OK.
##mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$release...
##mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-$relea...
Would it make sense for the repo= to be the repo name, and encode the
version eg 1..whatever + rawhide as version=$releasever ?
ie:
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras&ve...
Also when yum reads the .repo, could it use the name from either x.repo
or the repos defined internally as [extras-debuginfo] etc as a $variable ?
David Timms.