Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add MaxMindDB extension (geoip2) #50

Closed
wants to merge 1 commit into from

Conversation

champtar
Copy link
Contributor

Hi,

Small PR to add MaxMindDB (geoip2) extension

Signed-off-by: Etienne Champetier <etienne.champetier@anevia.com>
@@ -0,0 +1,3 @@
# Lua MaxMindDB Module

https://github.com/champtar/lua-maxminddb (fork)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer if that cast could be upstreamed to the original repo https://github.com/fabled/lua-maxminddb instead of using a fork of a fork.

set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR})
set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH})
set(CPACK_PACKAGE_VENDOR "Mozilla Services")
set(CPACK_PACKAGE_CONTACT "Mike Trinkala <trink@mozilla.com>")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general we don't accept extensions that we don't use at Mozilla. Since this and hundreds of other Lua modules can be built for use in the sandbox we cannot take on the maintenance and support of all of them. Each third party extension can easily be a standalone project of its own producing a luasandbox-module.package. Proposal: we create a third party module list in the Wiki that can be maintained independently.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @trink
Sorry for the late reply.
Do you see an easy way to have such standalone project and not duplicate CMakeLists.txt?
Maybe a -DEXTERNAL_EXT_<ext-name>=<ext-path>?

@trink
Copy link
Contributor

trink commented Nov 28, 2016

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.

None yet

2 participants