[Lunar Linux 0000386]: fuzzy downloads vs mirror downloads

noreply at bugs.lunar-linux.org noreply at bugs.lunar-linux.org
Fri Oct 24 20:11:11 GMT 2003


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.lunar-linux.org/view_bug_page.php?f_id=0000386
=======================================================================
Reporter:                   hardkrash
Handler:                    sofar
=======================================================================
Project:                    Lunar Linux
Bug ID:                     0000386
Category:                   theedge (core tools)
Reproducibility:            N/A
Severity:                   tweak
Priority:                   none
Status:                     assigned
=======================================================================
Date Submitted:             2003-10-11 22:03 GMT
Last Modified:              2003-10-24 20:11 GMT
=======================================================================
Summary:                    fuzzy downloads vs mirror downloads
Description: 
i was watching my lget -all and i knowticed that it went through all of the
possable fuzzy types on a connection that was bad.

i would prefer that we cycle through the mirrors then cycle the fuzzy
extensions.
=======================================================================

-----------------------------------------------------------------------
 huysmans - 2003-10-24 20:11 GMT 
-----------------------------------------------------------------------
I just added a patch to this bug. It accomplishes two things:

1) try alternative locations before fuzzy downloads

2) don't try fuzzy downloads when SOURCE_VFY is set

It is not a very small patch since it moves quite a lot of stuff around.
It seems to work for me, for regular urls as well as cvs.

Every download method has its own function (like it has now) but in my
patch they get called from download_module() directly. 

The wget method is now called get_url() and the fuzzy logic is moved to
the download_method() function.

Please have a look and comment on the code.



More information about the Lunar-bugs mailing list