Commit Graph

461 Commits

Author SHA1 Message Date
Simone Basso
7eedf4d947 feat(geoip, info): write comprehensive unit tests 2020-11-20 12:19:51 +01:00
Simone Basso
fa803300bb refactor(ooni): introduce interfaces for testability 2020-11-20 12:19:51 +01:00
Simone Basso
c55f67273e
chore: set version to 3.0.12-alpha (#172)
* chore: set version to 3.0.12-alpha

I need to bless 3.0.11 now to pin to ooni/probe-engine v0.20.2.

* chore: update all dependencies

Most notably, pin to ooni/probe-engine 0.20.2.
2020-11-17 18:22:46 +01:00
Simone Basso
9e238c27dd
refactor(internal/ooni): Context => Probe (#170)
Closes https://github.com/ooni/probe/issues/939
2020-11-13 19:01:06 +01:00
Simone Basso
163922e001
refactor: run go fmt ./... (#169) 2020-11-13 18:42:10 +01:00
Simone Basso
c81393b31a
refactor: move ooni into the internal package (#168)
With this commit we've reorganised the package structure. Now I will
go more in depth and perform further refactoring.
2020-11-13 17:47:29 +01:00
Simone Basso
bc85efa6e5
refactor: version is now an internal package (#167)
Like for previous commits, just refactoring/yak shaving.
2020-11-13 17:37:06 +01:00
Simone Basso
a4ae94b5ec
refactor: now utils is an internal package (#166)
Let us make internal everything because this is not a library.
2020-11-13 17:28:02 +01:00
Simone Basso
a58dff3050
refactor: nettests is now an internal package (#165)
I'm moving everything into internal packages since this ain't a library.

While there, remove typo that was causing a build breakage.
2020-11-13 17:14:26 +01:00
Simone Basso
fb2ca32004
refactor: config is now a private package (#164)
We are working on ooniprobe for Debian. Before starting to apply
changes to the codebase, I'd like to apply some refactoring steps
that I've been thinking about for quite some time.

The general concept here is that the purpose of this repository
changed since it was designed and now there is probe-engine which
is a library, therefore, this repo can be mostly private.
2020-11-13 16:58:14 +01:00
Sarath
73d6b550e5
Replace ooni with ooniprobe in example usage (#163) 2020-11-13 16:57:01 +01:00
Simone Basso
3733e551e1
chore: start hacking on 3.0.11-alpha 2020-11-13 11:29:54 +01:00
Simone Basso
f82aa2eff1
Merge pull request #161 from ooni/release/3.0.10
Release 3.0.10
2020-11-13 11:29:27 +01:00
Simone Basso
d648b06eb3 chore: version.go is no 3.0.10 2020-11-13 11:10:48 +01:00
Simone Basso
4dc0c2b3f7
fix(debian pkg): only package the master branch (#160)
See https://github.com/ooni/backend/issues/452
2020-11-13 10:26:37 +01:00
Federico Ceratto
6df2c34974
Initial packaging (#117)
* Add initial packaging

* Update Vcs URLs

* Disable test

* Update dh version

* Switch to ubuntu-20.04

* Add d/compat

* Update install

* Find file

* Update location

* Upload to bintray

* Add version

* Add dep

* Set vars

* Drop file

* Update Readme.md

* Update linux-debian-packages.yml

* Update linux-debian-packages.yml

Co-authored-by: Simone Basso <bassosimone@gmail.com>
2020-11-13 09:59:30 +01:00
Arturo Filastò
c0a95c037f
Add support for deleting all measurements (#158)
Co-authored-by: Simone Basso <bassosimone@gmail.com>
2020-11-13 07:43:00 +01:00
Simone Basso
c4da81e894
chore: upgrade all dependencies (#159)
See https://github.com/ooni/probe-engine/issues/1004
2020-11-13 06:58:39 +01:00
Simone Basso
8eada581c2
doc: add code of conduct (#157)
Copied from github.com/ooni/ooni.org
2020-11-03 21:16:04 +01:00
Simone Basso
2a34d7db04
chore(version.go): we're at 3.0.10-alpha
Committing directly to master since this should be a simple enough change
2020-10-27 15:27:47 +01:00
Simone Basso
f172031a03
Release 3.0.9 (#156)
* chore(version.go): we're now at 3.0.9

* chore(go.mod go.sum): update dependencies

* fix(gha/cross.yml): brew update seems broken?

See https://github.com/ooni/probe-cli/pull/156/checks?check_run_id=1315116799
2020-10-27 15:23:24 +01:00
cyBerta
ca11b2b65f
turn off printing of each command in the help section of the build script (#155) 2020-10-14 11:42:10 +02:00
Simone Basso
10c806b1a2
Merge pull request #154 from ooni/release/3.0.8
Release 3.0.8 cycle
2020-10-06 13:15:32 +02:00
Simone Basso
4bd6c3e9d4 version/version.go: we're now hacking on v3.0.9-alpha 2020-10-06 13:04:23 +02:00
Simone Basso
d02b47dcda version/version.go: bless v3.0.8 2020-10-06 12:50:33 +02:00
Simone Basso
acfbbd9dd5 go.mod: pin to ooni/probe-engine@v0.18.0 2020-10-06 12:49:56 +02:00
Simone Basso
fd11a63933
Merge pull request #153 from ooni/release/3.0.8-beta
Start testing v3.0.8-beta
2020-10-05 19:43:18 +02:00
Simone Basso
ad88fefe41 Start testing v3.0.8-beta
This beta release incorporates recent fixes in ooni/probe-engine that we
would like to test and ship relatively soon.

I'm doing this as part of https://github.com/ooni/explorer/issues/495
2020-10-05 19:25:19 +02:00
Simone Basso
f1f2350bfa
Release v3.0.7 (#152)
* Update go-bindata and regenerate binary data

* Pin to ooni/probe-engine 0.17.0 and update dependencies

* Set version to 3.0.7

* Readme.md: better release instructions
2020-09-30 10:54:58 +02:00
Simone Basso
b18a106698
Merge pull request #150 from ooni/fix/buildscript
Release v3.0.7-beta.1 with updated build script
2020-08-24 19:31:07 +02:00
Simone Basso
86727915d3 version/version.go: bless v3.0.7-beta.1 2020-08-24 19:24:46 +02:00
Simone Basso
770a822fd4 fix(build.sh): name macOS files after the darwin platform
This was what we used to do in the past. Spotted by @sarathms.
2020-08-24 19:24:46 +02:00
Simone Basso
fe89b2454c
fix(build.sh): generate SHA256 sums (#149) 2020-08-24 15:17:24 +02:00
Simone Basso
407ce5d624
fix(nettests/nettests.go): make sure we emit progress (#148)
See https://github.com/ooni/probe/issues/1238
2020-08-24 12:31:10 +02:00
Simone Basso
4c65147009
WIP: Start preparing release v3.0.7 (#147)
* Use ooni/probe-engine 0.16.0
* Update all the other dependencies
* Use GitHub Actions rather than Travis CI
* Automatically build and test binaries on the target OS (for Windows, macOS, Linux on amd64)
* Make sure we correctly measure coverage
* Make sure we use `-race` when running tests
* Remove unnecessary scripts
* Make sure the README is up-to-date
* Write small script to update binary data and add GitHub Actions checks for it
* Notice that we needed to run ./updatebindata.sh and run it
* Self documenting instructions regarding cross compiling
* Set version number to v3.0.7-beta

Part of https://github.com/ooni/probe-engine/issues/748
2020-08-22 11:20:50 +02:00
Simone Basso
1983672e3c
fix(config/parser.go): correct unlocking on error paths (#146)
Spotted while reading the code.
2020-07-24 17:12:51 +02:00
Simone Basso
fc58c4dc45
version/version.go: remove unused variable (#145) 2020-07-24 16:59:57 +02:00
Simone Basso
a80bdf02cc
Merge pull request #144 from ooni/release/3.0.6
Release v3.0.6
2020-07-24 00:10:19 +02:00
Simone Basso
c40daf8c7f version/version.go: bless 3.0.6 2020-07-23 19:39:18 +02:00
Simone Basso
b05ec668e3 Pin to ooni/probe-engine 0.15.2 2020-07-23 19:39:06 +02:00
Simone Basso
96ff977067
Merge pull request #143 from ooni/release/3.0.5
Release v3.0.5
2020-07-23 12:01:34 +02:00
Simone Basso
14ac72ee63 version/version.go: bump patch version number 2020-07-23 11:31:04 +02:00
Simone Basso
de62c51342 Pin to ooni/probe-engine@v0.15.1 2020-07-23 11:29:55 +02:00
Simone Basso
724173115f fix(nettests): now new tests written in Go work
Closes https://github.com/ooni/probe/issues/1233
2020-07-23 11:28:38 +02:00
Simone Basso
cd770bb8df
Merge pull request #142 from ooni/release/3.0.4
Release 3.0.4
2020-07-21 20:59:37 +02:00
Simone Basso
6587c4d386 Pin to 57a29da91d
See 2d94c2eb4c
2020-07-21 20:33:19 +02:00
Simone Basso
552d8e73c2 Upgrade all deps to the latest stable version 2020-07-21 15:48:02 +02:00
Simone Basso
74e5d508fc Dockerfile: use image with MK v0.10.12 2020-07-21 15:45:36 +02:00
Simone Basso
a9897466b6 version/version.go: crank patch version number 2020-07-10 11:25:04 +02:00
Simone Basso
2f47634ad1
Use ooni/probe-engine@v0.14.1 (#141) 2020-07-10 11:23:45 +02:00