Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove bundled Geolite2 db due to license change #15

Merged
merged 1 commit into from
Jan 4, 2020
Merged

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants