Commit Graph

17 Commits

Author SHA1 Message Date
Simone Basso
b25d106cf8
utils/strcase: remove vendored package (#115)
Closes https://github.com/ooni/probe/issues/1016.
2020-02-24 12:31:42 +01:00
Arturo Filastò
8dff1cc54a Use ~/.ooniprobe as the home directory (#101)
* Use ~/.ooniprobe as the home directory

Remove all probe-legacy related to code since there is no more conflict
between the two
Fixes: ooni/probe#972

* Update .gitignore

Co-authored-by: Simone Basso <bassosimone@gmail.com>
2020-01-27 15:19:32 +01:00
Simone Basso
259ab41b15 Implement the circumvention nettest group
Only Psiphon for now. Closes #87 #77.
2019-12-28 17:48:07 +01:00
Arturo Filastò
58199a020e Refactoring to reduce package count
* Consolidate util and utils into the same package
* Move internal/onboard into internal/cli/onboard
* Move maybeOnboard into the onboard package
2019-12-02 15:15:50 +02:00
Simone Basso
df629237be
Use ooni/probe-engine: episode 1 (#42) 2019-05-23 16:38:46 +02:00
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