Red Hat Bugzilla – Bug 509479
RFE: [PATCH] yum-plugin-fastestmirror - add option for "preferred" mirror
Last modified: 2014-01-21 18:10:16 EST
Created attachment 350369 [details]
Add a preferred mirror option to yum-plugin-fastestmirror
Description of problem:
When using yum-plugin-fastestmirror, it currently selects only the "fastest" mirror. I have a mirror available to me that does not count towards my download quota, and I would prefer to use that one if possible, even though it might not be the fastest.
Version-Release number of selected component (if applicable):
Name : yum-plugin-fastestmirror
Version : 1.1.22
Release : 1.fc11
Steps to Reproduce:
1. # yum clean all; yum list updates
yum-fastestmirror selects the fastest mirror
yum-fastestmirror selects the mirror I want it to use if available. If my preferred mirror is not available, or I don't care what mirror it should use, it will continue to use the fastest mirror.
Patch attached. It only supports a single preferred mirror.
Applied in 50cc1aad123bf5a0197a478d733c14b2241cd577
Thanks for the patch!
yum-utils-1.1.23-1.fc10 has been submitted as an update for Fedora 10.
yum-utils-1.1.23-1.fc11 has been submitted as an update for Fedora 11.
yum-utils-1.1.23-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.