Comment 22 for bug 913235

Revision history for this message
In , Lohmaier+mageia (lohmaier+mageia) wrote :

@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....)