From 4972bf7464970920677d6b5921fd63a6a6164885 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Fri, 22 Aug 2014 08:03:54 -0700 Subject: [PATCH 01/11] Test under 3.4 --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 4d96190..e1ce555 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ python: - 2.6 - 2.7 - 3.3 + - 3.4 before_install: - git clone git://github.com/maxmind/geoip-api-c From 2b33282363218057d6d7d8c0de1ac24e3530649f Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Fri, 29 Aug 2014 11:07:45 -0700 Subject: [PATCH 02/11] Make clear that this is for the legacy format --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 2455b39..15dab44 100644 --- a/README.rst +++ b/README.rst @@ -6,7 +6,7 @@ Requirements ------------ * Python 2.5+ or 3.3+ -* GeoIP C Library 1.4.7 or greater +* GeoIP Legacy C Library 1.4.7 or greater Installation ------------ From 670b23cff547cc0891262077e6a23216f78454b0 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Tue, 2 Sep 2014 14:42:54 -0700 Subject: [PATCH 03/11] Use angle brackets for libGeoIP imports --- py_GeoIP.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py_GeoIP.c b/py_GeoIP.c index fcf0b6b..11c9063 100644 --- a/py_GeoIP.c +++ b/py_GeoIP.c @@ -20,8 +20,8 @@ #include -#include "GeoIP.h" -#include "GeoIPCity.h" +#include +#include #ifdef __GNUC__ # define UNUSED(x) UNUSED_ ## x __attribute__((__unused__)) From 69e46eec3a9f0cfaf6db83769a251a9619316003 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Fri, 1 Jan 2016 15:26:03 -0800 Subject: [PATCH 04/11] Update ChangeLog.md in MANIFEST.in --- MANIFEST.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index 0ea1e05..881cb08 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,3 @@ -include ChangeLog LICENSE README.rst py_GeoIP.c +include ChangeLog.md LICENSE README.rst py_GeoIP.c recursive-include examples *.py recursive-include tests *.py From 69af569ef0c33ef56e5f81eab09014c9d5ed09fb Mon Sep 17 00:00:00 2001 From: Dave Rolsky Date: Mon, 4 Jan 2016 15:49:31 -0600 Subject: [PATCH 05/11] Send all emails to dev-ci@mm --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e1ce555..f191839 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,6 +23,6 @@ script: notifications: email: recipients: - - dev@maxmind.com + - dev-ci@maxmind.com on_success: change on_failure: always From 59a6ab034440ab3f3cbb304de5aa8db9bc711185 Mon Sep 17 00:00:00 2001 From: Dave Rolsky Date: Thu, 21 Jan 2016 09:47:50 -0600 Subject: [PATCH 06/11] Send AppVeyor Slack notifications on every build --- .travis.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index f191839..4089619 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,10 @@ +--- language: python - python: - - 2.6 - - 2.7 - - 3.3 - - 3.4 - + - '2.6' + - '2.7' + - '3.3' + - '3.4' before_install: - git clone git://github.com/maxmind/geoip-api-c - cd geoip-api-c @@ -15,14 +14,15 @@ before_install: - sudo make install - sudo ldconfig - cd .. - - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi - + - "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi" script: - CFLAGS="-Werror -Wall -Wextra" python setup.py test - notifications: email: + on_failure: always + on_success: change recipients: - dev-ci@maxmind.com - on_success: change - on_failure: always + slack: + rooms: + secure: "mNw9bQtM+fHITJiYGwex/YB42uy6IfIYSLQZWaD6F3mb2Y8aSXAtck+raV/C85CTM4LyBq6YyFLr1912+Xd0gmM7mSEQc5wXVf/vlzpMfNyDedonBSZeed7SGfm63xCTN9KWkOmhzIAhRy7WozmBP+bkNjyH9D1gYt863W6OYiA=\n" From e4cf4640420aed7bbfc21b76311cef9424263411 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Fri, 15 Apr 2016 09:27:38 -0700 Subject: [PATCH 07/11] Add location usage warnings --- README.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.rst b/README.rst index 15dab44..0261229 100644 --- a/README.rst +++ b/README.rst @@ -24,6 +24,14 @@ From source: $ python setup.py build $ python setup.py install + +IP Geolocation Usage +-------------------- + +IP geolocation is inherently imprecise. Locations are often near the center of +the population. Any location provided by a GeoIP database should not be used to +identify a particular address or household. + Usage ----- From 9c4ec28c8887e8a71dba357266270a1fef625150 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Sun, 11 Aug 2019 10:05:14 -0700 Subject: [PATCH 08/11] Update Travis config to use Trusty and add new Pythons --- .travis.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4089619..e1b6762 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,16 @@ --- language: python -python: - - '2.6' - - '2.7' - - '3.3' - - '3.4' +matrix: + include: + - python: '2.6' + dist: trusty + - python: '2.7' + - python: '3.3' + dist: trusty + - python: '3.4' + - python: '3.5' + - python: '3.6' + - python: '3.7' before_install: - git clone git://github.com/maxmind/geoip-api-c - cd geoip-api-c From f0cf04f10e0756c2bd4f839ed2d85ca7db4063f3 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Thu, 25 Jun 2020 08:06:11 -0700 Subject: [PATCH 09/11] Create codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 46 +++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 0000000..8256fbf --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,46 @@ +name: "Code scanning - action" + +on: + push: + pull_request: + schedule: + - cron: '0 20 * * 4' + +jobs: + CodeQL-Build: + + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + # We must fetch at least the immediate parents so that if this is + # a pull request then we can checkout the head. + fetch-depth: 2 + + # If this run was triggered by a pull request event, then checkout + # the head of the pull request instead of the merge commit. + - run: git checkout HEAD^2 + if: ${{ github.event_name == 'pull_request' }} + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + # Override language selection by uncommenting this and choosing your languages + with: + languages: python, cpp + + # â„šī¸ Command-line programs to run using the OS shell. + # 📚 https://git.io/JvXDl + + # âœī¸ If the Autobuild fails above, remove it and uncomment the following three lines + # and modify them (or add more) to build your code if your project + # uses a compiled language + + - run: | + sudo apt install libgeoip-dev + python setup.py build + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 From 2604c2e124116951c7b09cc52100b0c97a6e65e2 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Fri, 5 Feb 2021 12:41:06 -0800 Subject: [PATCH 10/11] Add EOL notice --- README.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.rst b/README.rst index 0261229..ac0974b 100644 --- a/README.rst +++ b/README.rst @@ -2,6 +2,20 @@ MaxMind GeoIP Legacy Python Extension API ========================================= +End of Life +----------- + +MaxMind will be retiring the GeoIP Legacy databases at the end of May +2022. Until then, this library will only receive critical security and bug +fixes. Support for this library will end completely with the last release of +the legacy GeoIP databases. + +We recommend that you upgrade to our GeoIP2 databases. You can read these +from Python using `our GeoIP2 Python API `_. + +See `our blog post `_ +for more information. + Requirements ------------ From 3f95af6c2d0d39ad84d81cde1241812064260e2c Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 11 Feb 2021 19:55:45 +0000 Subject: [PATCH 11/11] Create Dependabot config file --- .github/dependabot.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..491deae --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: +- package-ecosystem: pip + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 10 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy