[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: countrychooser and IP location

Robert Millan wrote:
> +iplocated_country=`wget -q http://api.hostip.info/country.php -O - | head -c 2`

This is a third-party point of failure. Altough your code does
gracefully degrade if it fails. Would Debian be able to run this service
itself if we decided to use this? Or would that be a bad idea? Just

Anyway, I rather like the idea of doing IP location, but I lean more
toward only using the info to override the user's country in mirror
selection, rather than overriding the whole countrychooser. For one
thing, it wouldn't need to ask the user an insulting question ("do you
know what country you're in?") if the iplocated country was only used to
change the default mirror.

Another reason is that physical country and network-connected country
arn't necessarily the same; I might do a remote install in another
country, and tell it I'm in the US, since I want all the US defaults --
but I'd still prefer to use the iplocated country for mirror then.

see shy jo

Attachment: signature.asc
Description: Digital signature

Reply to: