Skip to content

Conversation

@zhuhaow
Copy link
Collaborator

@zhuhaow zhuhaow commented Jan 4, 2020

Due to license change, https://dev.maxmind.com/geoip/geoip2/geolite2/
we are no longer able to download Geolite2 db without manual setting up.

  1. Removed db update script
  2. Removed bundled db binary from MMDB target, MMDB now must be inited with a path to
    the db binary
  3. Moved bundled db to test target for only testing purpose. The binary
    can be released since it was obtained under old license. But there is no
    way to update it now.

I removed bundled outdated DB instead of just removing the update script.

IMHO, providing an outdated database basically enables some developers to never update the database, which would impact the final user experience. Instead, developers should not depend on MMDB to provide a solution but try to find a way to make sure the database is up to date.

Fixing #14

Due to license change, https://dev.maxmind.com/geoip/geoip2/geolite2/
we are no longer able to download Geolite2 db without manual setting up.

1. Removed db update script
2. Removed bundled db binary from `MMDB` target, `MMDB` now must be inited with a path to
the db binary
3. Moved bundled db to test target for only testing purpose. The binary
can be released since it was obtained under old license. But there is no
way to update it now.
@zhuhaow zhuhaow requested a review from lexrus January 4, 2020 07:03
@lexrus
Copy link
Owner

lexrus commented Jan 4, 2020

LGTM.
Thank you, @zhuhaow

@lexrus lexrus merged commit 3901d0e into master Jan 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants