[Lunar-bugs] [Lunar Linux 0000386]: fuzzy downloads vs mirror downloads

noreply at bugs.lunar-linux.org noreply at bugs.lunar-linux.org
Mon Feb 23 22:19:08 GMT 2004


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:              2004-02-23 22:19 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.

-----------------------------------------------------------------------
 hardkrash - 2004-01-08 04:05 GMT 
-----------------------------------------------------------------------
sofar what is the staus of this?

-----------------------------------------------------------------------
 sofar - 2004-02-23 22:19 GMT 
-----------------------------------------------------------------------
download code has largely been rewritten since said date, however the
FUZZY/SOURCE_VFY combination logic is still current. Looking into that now


More information about the Lunar-bugs mailing list