Accepting request 1172226 from home:vlefebvre:branches:Application:Geo

Update to version 7.0.1, and fix the geoipupdate-legacy script

OBS-URL: https://build.opensuse.org/request/show/1172226
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=56
This commit is contained in:
Paolo Stivanin 2024-05-07 05:53:23 +00:00 committed by Git OBS Bridge
parent 2902cc7d21
commit cf13622648
8 changed files with 43 additions and 9 deletions

View File

@ -2,7 +2,7 @@
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/maxmind/geoipupdate</param>
<param name="revision">v6.1.0</param>
<param name="revision">v7.0.1</param>
<param name="exclude">.git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>

View File

@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/maxmind/geoipupdate</param>
<param name="changesrevision">411fed06da31a03542cb2dd1875373ff5e78e838</param>
<param name="changesrevision">0df16c46069da6157a6e00ac7b9c552f037d906a</param>
</service>
</servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:012ee40cecfe12ee8e860886433fc90521f3952a6486dec7e7a0b692d3ccf765
size 48717

BIN
geoipupdate-7.0.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -16,7 +16,7 @@ function download_geodata_csv()
{
csv_product=$1
echo ">>> Downloading $csv_product.zip"
curl "https://download.maxmind.com/app/geoip_download?edition_id=$csv_product&license_key=$license_key&suffix=zip" \
curl -L "https://download.maxmind.com/app/geoip_download?edition_id=$csv_product&license_key=$license_key&suffix=zip" \
-o $database_directory/$csv_product.zip
}

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Mon May 06 14:36:34 UTC 2024 - valentin.lefebvre@suse.com
- geoipupdate-legacy: update the curl command
- Update to version 7.0.1:
* Update module path version
- Update to version v7.0.0:
* BREAKING CHANGE: Improvements to the HTTP download API.
The client now calls two new endpoints:
* `/geoip/updates/metadata` which is responsible for getting information
about a database edition.
* `/geoip/databases/{edition-id}/download` which is responsible for
downloading the content of a database edition. This new endpoint redirects
downloads to R2 presigned URLs, so systems running `geoipupdate` need to
be able to reach
`mm-prod-geoip-databases.a2649acb697e2c09b632799562c076f2.r2.cloudflarestorage.com`
in addition to `updates.maxmind.com`.
* BREAKING CHANGE: The public package API has been redesigned. The previous
API was not easy to use and had become a maintenance burden. We now
expose a `Client` at `github.com/maxmind/geoipupdate/client` with a
`Download()` method. The intention is to expose less of the `geoipupdate`
internals and provide a simpler and easier to use package. Many
previously exposed methods and types are now either internal only or have
been removed.
* BREAKING CHANGE: If set, `GEOIPUPDATE_VERBOSE` must either be `0` or `1`.
All other values will return an error.
* Setting `GEOIPUPDATE_VERBOSE` to `1` now works as expected. In the 6.0.0 and
6.1.0 releases, the flag was ignored. Reported by pmcevoy. GitHub #298.
* `geoipupdate` now supports retrying on more types of errors
such as HTTP2 INTERNAL_ERROR.
* Now `geoipupdate` doesn't requires the user to specify the config file
even if all the other arguments are set via the environment variables.
Reported by jsf84ksnf. GitHub #284.
-------------------------------------------------------------------
Thu Feb 22 17:05:34 UTC 2024 - Valentin Lefebvre <valentin.lefebvre@suse.com>

View File

@ -17,7 +17,7 @@
Name: geoipupdate
Version: 6.1.0
Version: 7.0.1
Release: 0
Summary: GeoIP update client code
License: Apache-2.0 OR MIT

BIN
vendor.tar.gz (Stored with Git LFS)

Binary file not shown.