Commit Graph

12 Commits

Author SHA1 Message Date
Arturo Filastò
26feb2bcce Improve error reporting inside of geoip lookup functions 2019-05-15 17:36:56 +02:00
Simone Basso
9992690f8f Use MK v0.10.x, zap legacy GeoIP, build also on Linux (#29)
* Gopkg.lock: use MK v0.10.3

* ooni: stop using legacy GeoIP database files

* Some yak shaving of Makefile

1. remove now broken commands to download deps

2. also define the CXX cross compiler

* chore(dep): migrate from dep to go 1.11+ modules

See https://blog.callr.tech/migrating-from-dep-to-go-1.11-modules/

I need this to simplify my life in building for Travis.

* Introduce build.sh and repair build

In going forward, I believe we don't actually need a Makefile but I
didn't want to make such a radical change now.

* Another strategy wrt gopath

* travis: run regress tests on macOS

Closes #30
2019-05-15 15:48:06 +03:00
Arturo Filastò
21e3a08b0e vendor strcase from: 3605ed457b 2018-09-10 16:28:54 +02:00
Arturo Filastò
78cf8d6ca2 Create config file when it's missing 2018-06-25 17:49:17 +02:00
Arturo Filastò
a0be45e323 Fix paths to be windows friendly 2018-05-31 12:33:08 +02:00
Arturo Filastò
c620bc9726 Make path and homedir related logic more robust
Add ability to pass OONI_HOME environment variable
2018-05-21 17:33:59 -07:00
Arturo Filastò
e0ac7b337b Vendorize a patched version of homedir
Taken from: 789320c262/homedir/homedir.go
2018-05-21 17:32:19 -07:00
Arturo Filastò
b8a0cc509c Remove unallowed : char in results dir 2018-05-11 12:46:19 +02:00
Arturo Filastò
cffb9ea74c Move all directory related functionality into paths utils
As per suggestion by @willscott in: https://github.com/OpenObservatory/gooni/pull/9#discussion_r176760264
2018-03-27 15:09:34 +02:00
Arturo Filastò
749cc665af Add support for downloading legacy geoip databases
Pass the geoip databases to measurement-kit
2018-03-23 15:26:25 +01:00
Arturo Filastò
4bbffa9cd5 Add geoip command line tool 2018-03-23 12:10:38 +01:00
Arturo Filastò
6ba779b156 Implement geoip related functionality in gooni 2018-03-22 18:28:38 +01:00