fedora-infra / mirrormanager2

Rewrite of the MirrorManager application in Flask and SQLAlchemy
https://mirrormanager.fedoraproject.org
GNU General Public License v2.0
63 stars 46 forks source link

GeoIP legacy is EOL #248

Closed smooge closed 5 years ago

smooge commented 6 years ago

https://support.maxmind.com/geolite-legacy-discontinuation-notice/

Our GeoLite Legacy databases are being discontinued

We have decided to discontinue our GeoLite Legacy databases effective January 2, 2019. We will stop updating the databases before that date (see “General Information” below), and the databases will no longer be available for download on January 2, 2019. This was a difficult decision for us and we have created this page to provide more information and answer any immediate questions you may have.

=============== It looks like they are freezing updates to the geolite-legacy so we will need to use the geolite2 or geoip2 library calls.

adrianreber commented 6 years ago

Thanks, I had a look over the code and it should not be too difficult to change it. Currently support for GeoIP is in the crawler, mirrorlist and mm2_generate-worldmap.

The crawler does not really use it but all those occurrences should be easy to convert to the new API.