Arturo Filastò
e38d42d33a
Update the actions tests
2020-01-28 12:08:09 +01:00
Arturo Filastò
e3d68457b3
Implement writing using the new single measurement pattern
2020-01-28 11:53:00 +01:00
Arturo Filastò
af46a495f4
Update bindata
2020-01-28 11:52:37 +01:00
Arturo Filastò
076be14889
Add database migration script
...
We need to do a rename and copy because SQLite3 does not support column
addition and constraint changes to existing tables
2020-01-28 11:51:38 +01:00
Arturo Filastò
39214129fa
Add bindata command to build script
...
This used to be present in the Makefile, but then got lost in history
2020-01-28 11:48:25 +01:00
Arturo Filastò
27d98a8660
Small cosmetic fix
2020-01-28 11:05:09 +01:00
Simone Basso
6391e25154
version/version.go: roll out 3.0.0-rc.7
2020-01-28 10:14:45 +01:00
Simone Basso
03e7d2ccac
circumvention: add the tor experiment ( #100 )
...
* go.mod go.sum: update all non-probe-engine deps
For each line in the go.mod, run `go get -u -v $package` if the
line is not an indirect dependency and is not probe-engine.
Upgrading probe-engine is going to require the same spell that
is used in probe-engine to update psiphon.
* go get -v github.com/ooni/probe-engine@v0.5.0
This just pins to the latest probe-engine but we've not manually
pinned all the other dependencieds yet.
Take care of the trivial API changes in probe-engine as well, such
that we can have a working build after this commit.
* go.mod go.sum: pin to probe-engine dependencies
Basically: remove all indirect dependencies. Merge this go.mod with
the one of probe-engine, to pin dependencies. Run `go mod tidy`.
* circumvention: add basic implementation of tor
This needs to be polished further, of course. But at least we have
now added support for running tor in the circumvention group.
* Readme.md: document how to update dependencies
* go get -v github.com/ooni/probe-engine@fcc9ee0a7afb
* go get -v github.com/ooni/probe-engine@4d254f5b2
* nettests/tor.go: implement summary test keys
2020-01-28 10:05:54 +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
8d58cb868b
version/version.go: bless v3.0.0-rc.6
2020-01-15 15:29:21 +01:00
Arturo Filastò
aeaa393064
Merge pull request #99 from ooni/psiphon-metadata
...
Improve the output and extraction of psiphon metrics
2020-01-07 16:56:07 +02:00
Arturo Filastò
427ca18985
Refactor pattern of ok !ok
2020-01-07 16:44:11 +02:00
Arturo Filastò
2cb6661340
Fix typo
2020-01-07 16:42:04 +02:00
Arturo Filastò
24316728b9
Improve the output and extraction of psiphon metrics
2020-01-07 16:13:13 +02:00
Simone Basso
1e8b482c23
Allow to specify custom software name and version ( #94 )
...
In turn, this allows us to identify as ooniprobe-cli v3.0.0-rc.5.
Closes #41 .
2019-12-29 14:07:57 +01:00
Simone Basso
c4a87eaab7
Merge pull request #92 from ooni/develop
...
Release 3.0.0-rc.5
2019-12-28 18:57:27 +01:00
Simone Basso
628766d07d
version/version.go: bump to 3.0.0-rc.5
2019-12-28 18:31:46 +01:00
Simone Basso
955509e6f8
nettests: don't say ETA is infinite
...
1. only print time left if ETA is positive
2. skip ETA calculation with a single input
3. don't compute ETA for first entry[*]
[*] this is actually what avoids emitting infinite but the other
parts of this diff felt useful yak shaving as well.
Closes #91
2019-12-28 18:28:08 +01:00
Simone Basso
991b875bd9
fix(nettests/telegram.go): remove MK option
...
This option was meaningful for an MK implementation of Telegram but
is not meaningful for the new Go based implementation.
Closes #90
2019-12-28 17:56:47 +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
Simone Basso
5e868fe043
Readme.md build.sh: stop spreading lies about GOPATH
...
Turns out there's no need to unset GOPATH.
2019-12-27 12:22:20 +01:00
Arturo Filastò
7bbbab8774
Handle the SIGINT and SIGTERM signals to support stopping a test cleanly ( #84 )
2019-12-27 11:32:08 +01:00
Simone Basso
265177a8a6
Merge pull request #88 from ooni/release/3.0.0-rc.4
...
Release 3.0.0-rc.4
2019-12-27 11:30:32 +01:00
Simone Basso
6cccfeb97a
travis: run goveralls inside the docker container
...
Factor code and reorganize location of go cache and go paths such
that subsequent invocations reuse both dirs.
2019-12-26 19:13:25 +00:00
Simone Basso
1e16f28634
Bump to 3.0.0-rc.4
2019-12-26 18:11:42 +01:00
Simone Basso
67d2f544a7
go.mod go.sum: update all direct dependencies
2019-12-26 18:10:13 +01:00
Simone Basso
8a1622d0c1
Update to ooni/probe-engine@v0.3.0
...
1. `go get -u github.com/ooni/probe-engine@v0.3.0`
2. `go mod tidy`
3. fix build failures
2019-12-26 18:09:23 +01:00
Arturo Filastò
7d97e3115d
Add minimal user setup for linux
2019-12-09 16:36:17 +01:00
Arturo Filastò
42deb58fac
Merge pull request #82 from ooni/probe-legacy-compat
...
Add document outlining the differences between probe-cli and probe-le…
2019-12-04 13:14:11 +02:00
Arturo Filastò
868e31bc09
Address feedback from @bassosimone
2019-12-04 13:13:13 +02:00
Arturo Filastò
68d00c8e4f
Merge pull request #83 from ooni/refactor-consolidate
...
Refactoring to reduce package count
2019-12-04 11:00:15 +02:00
Arturo Filastò
274e533b2e
Fix import for groups
2019-12-02 18:05:02 +02:00
Arturo Filastò
b7deb6c88f
Use a faster nettest for testing
2019-12-02 18:00:12 +02:00
Arturo Filastò
ccdff3ba24
Move IM tests into top level tree too
2019-12-02 17:59:37 +02:00
Arturo Filastò
b20af107dc
Refactor nettests into top tree
2019-12-02 17:57:55 +02:00
Arturo Filastò
d6d2490d2c
Disable -race as it fails on alpine
2019-12-02 16:09:10 +02:00
Arturo Filastò
c99e719a45
Use code coverage commands from probe-engine
2019-12-02 16:01:37 +02:00
Arturo Filastò
410b7514d7
Use coveralls which is the same thing used in other repos
2019-12-02 15:42:14 +02:00
Arturo Filastò
a3685ae6b0
Add coverage.txt to .gitignore
2019-12-02 15:26:12 +02:00
Arturo Filastò
cda9a3ee4f
Add code coverage integration
2019-12-02 15:25:23 +02: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
Arturo Filastò
94f08d7e61
Update OONIProbeLegacyCompatibility.md
2019-12-02 12:59:10 +02:00
Arturo Filastò
e4ff1fe89a
Add missing options from @anadahz feedback
2019-12-02 12:58:18 +02:00
Arturo Filastò
5486f6db93
fix typos
2019-12-02 12:44:42 +02:00
Arturo Filastò
0b3661ffaa
Update OONIProbeLegacyCompatibility.md
2019-12-02 12:35:24 +02:00
Arturo Filastò
6f099bb3e0
Use emoji to make things more readable
2019-11-29 17:24:16 +01:00
Arturo Filastò
d51b535153
Add document outlining the differences between probe-cli and probe-legacy
2019-11-29 17:18:28 +01:00
Simone Basso
430a53e7d6
build.sh: re-enable psiphon ( #81 )
...
To test this, I'll create a fake release locally and make sure
the resulting binary is much larger. If you see this commit landing
on a PR, then it means I successfully run this check.
2019-11-29 16:17:37 +01:00
Arturo Filastò
222b0bfbca
Bump version number
2019-11-14 18:03:31 +01:00
Arturo Filastò
e0160b5881
Bump probe-engine
2019-11-14 18:02:18 +01:00