gpslab / geoip2

A Symfony Bundle for the Maxmind GeoIP2 API
https://www.maxmind.com/
MIT License
54 stars 12 forks source link

Update decompress code for new archive structure #19

Closed peter-gribanov closed 4 years ago

peter-gribanov commented 4 years ago

https://github.com/gpslab/geoip2/issues/17#issuecomment-576575344

Before, it was a single file. Now this is a folder with unknown name and with several files:

Now we decompress Gzip file, extract Tar file and try find database in archive.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-3.9%) to 22.36% when pulling 1a5697ff3feb8ec62daabb63ef33173e6e03ea14 on peter-gribanov:extract_tar into 436bef1d5b37be3347fc1f00d559cb458236c908 on gpslab:master.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-3.9%) to 22.36% when pulling 1a5697ff3feb8ec62daabb63ef33173e6e03ea14 on peter-gribanov:extract_tar into 436bef1d5b37be3347fc1f00d559cb458236c908 on gpslab:master.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-3.9%) to 22.36% when pulling 68a570364eb570820f1fe525de819441db1f69f3 on peter-gribanov:extract_tar into 436bef1d5b37be3347fc1f00d559cb458236c908 on gpslab:master.