Re: mirrorlist cgi - legit repo= values?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux