[Mageia-webteam] [Bug 3166] use mirrorbrain for download managemenet instead of broken mirror-choosing by timezone

Christian Lohmaier bugzilla-daemon at mageia.org
Tue Nov 20 01:29:36 CET 2012


https://bugs.mageia.org/show_bug.cgi?id=3166

--- Comment #21 from Christian Lohmaier <lohmaier+mageia at googlemail.com> 2012-11-20 02:29:35 CET ---
@Thierry: Picking timezone as in the bug mentioned in the initial description
has nothing to do with mirrorbrain.

Mirrorbrain does geolocation by IP, so depending on timezone is not necessary
at all..

I did create the patch for https://qa.mandriva.com/show_bug.cgi?id=56879
because Mandriva (and Mageia) does *not* use mirrorbrain, but instead *does*
depend on the timezone.

Currently, the $MIRRORLIST method uses the system's timezone-city as reference
as to what mirror to use, and this is stupid, at least in central Europe (where
there are many mirrors that are much closer than your country's capital city)


To make it clear: Mirrorbrain doesn't depend on any user-configured stuff. It
decides based on the IP that is used what mirror to chose. It does geolocation
by IP.

Ordered from worse to best:
* location reference point is taken from the timezone (urpmi as it is now)
* user has the option to manually specify his actual location (urpmi with
patch, patch is available)
* user doesn't have to bother, but closest mirror is assigned by having the
downlaod-server examine the IP that is used to connect (mirrorbrain on server,
no patch to urpmi necessary, but no mirrorbrain installed yet)

If you meant that urpmi should query the geolocation on the user's machine and
use that instead, this would be an alternative method, but of course without
the other benefit that mirrorbrain would bring. And this way would also require
Mageia to setup an appropriate service that would return the location on
request (or you would have to require a geolocation-database package to
installed on the user's system, not very nice....)

-- 
Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Mageia-webteam mailing list