mirrorlist cgi - legit repo= values?

David Timms dtimms at bigpond.net.au
Tue Jul 18 22:49:23 UTC 2006


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.
...
> [development]
> name=Fedora Core - Development
> mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
> 
> 
> and for extras:
> 
> [extras-development]
> name=Fedora Extras - Development Tree
> mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-devel&arch=$basearch
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-$releasever&arch=$basearch

##mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-$releasever&arch=$basearch

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&version=$releasever&arch=$basearch

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.




More information about the fedora-devel-list mailing list