[Yum-devel] Patch for fastestmirror.py
Johnny Hughes
mailing-lists at hughesjr.com
Sun Nov 27 12:40:37 UTC 2005
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.
-----------------
Thanks,
Johnny Hughes
CentOS Developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fastestmirror-ftp-http-file-port.patch
Type: text/x-patch
Size: 2746 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20051127/d6bc75b5/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20051127/d6bc75b5/attachment.pgp
More information about the Yum-devel
mailing list