Comment 6 for bug 1861101

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I grepped the ubiquity source code for geoip (case insensitive) and only came up with this;
$ grep -r -i geoip .
./debian/changelog: * If we think we're offline, don't try to contact geoip or run
./debian/changelog: * Support getting the timezone from a geoip server (LP: #229884).
./ubiquity/plugins/ubi-timezone.py: self.preseed('tzsetup/geoip_server', '')

The commit for the offline fix is https://git.launchpad.net/ubiquity/commit/?id=c1fba8cfbe046527f3f654a7810e6c5916e35483

The commit for the actual geoip support is https://git.launchpad.net/ubiquity/commit/?id=8ecf2a8b7db0a656690d3cb8f7f9beda66a149af

Further looking at ./ubiquity/plugins/ubi-timezone.py, it's clear we use a web service for these lookups, and not this geoip library we are talking about:

_geoname_url = 'https://geoname-lookup.ubuntu.com/?query=%s&release=%s'