[Yum-devel] Patch for fastestmirror.py
seth vidal
skvidal at phy.duke.edu
Sun Nov 27 22:30:59 UTC 2005
On Sun, 2005-11-27 at 06:40 -0600, Johnny Hughes wrote:
> On Sat, 2005-11-26 at 13:05 -0600, Johnny Hughes wrote:
> > We were testing fastestmirror.py (version 0.2) for use with CentOS-4.2
> > and found that it only worked for http mirrors and that the test was
> > hardwired for port 80.
> >
> > We wanted to also make it work on http (other than 80 if the mirror was
> > set that way), ftp (21 or other port if set), and pick a file:///path/
> > as fastest if it exists instead of downloading.
> >
> > The attached patch (on top of version 0.2) did those things for us in
> > our testing.
> >
> > (patch written by Karanbir Singh)
> >
> We modified the patch slightly to also include https. Here is the new
> one.
Luke, you have any problem integrating his changes to support ftp and
https?
-sv
More information about the Yum-devel
mailing list