Commit Graph

1029 Commits

Author SHA1 Message Date
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
Arturo Filastò 8a27de6c7d Remove all settings which are not implemented (#73)
* Remove all settings which are not implemented

* Add support for migrating config files from version 0 -> 1

Add basic unittests for the config file migration

* Update the config file used by travis

* Fix typos in console log messages

* Improve the comment

* Fix type of limit

* Set informed consent to true in the travis config
2019-11-14 17:58:31 +01:00
Simone Basso e5248d632b build.sh: produce smaller binaries (#72)
* don't include psiphon until we need it

* strip the binaries
2019-11-14 12:20:04 +01:00
Arturo Filastò bc1314ca61 Add support for calculating the estimate time remaining (#71) 2019-11-14 12:01:40 +01:00
Simone Basso 0c6862bb87 Readme.md: we require Go >= 1.13 now
While there, make sure the markdown output is not confusing.
2019-11-14 10:14:25 +01:00
Simone Basso a9b2edc88e Readme.md: briefly document release procedure 2019-11-13 18:31:19 +01:00
Simone Basso 90c497873a Merge pull request #70 from ooni/release/rc-2
Release 3.0.0-rc.2
2019-11-13 17:47:29 +01:00
Simone Basso 25008f9ffa Bump to v3.0.0-rc.2 2019-11-12 16:45:54 +01:00
Simone Basso 0bee29bc21 Upgrade to github.com/ooni/probe-engine@v0.2.0 2019-11-12 16:45:24 +01:00
Simone Basso e97d21e844 Merge pull request #69 from ooni/release/rc-1
Bump to 3.0.0-rc.1
2019-11-12 16:43:22 +01:00
Arturo Filastò 68c2866ee9 Bump to 3.0.0-rc.1 2019-11-04 07:46:49 +08:00
Simone Basso 946289d6fe Use more general ooni/probe-engine API (#67)
No functional change, just importing less stuff and meddling
much less with the internals of ooni/probe-engine.
2019-10-28 14:05:05 +01:00
Simone Basso 1b9bc457b9 Merge pull request #65 from ooni/issue/64
build.sh: produce same release as before
2019-10-03 23:40:38 +02:00
Simone Basso 2986cbcb25 Update build.sh
Co-Authored-By: Sarath <sarath.ms@gmail.com>
2019-10-03 23:34:41 +02:00