Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/ | H | 01-Feb-2021 | - | 441 | 400 | |
CLI/ | H | 01-Feb-2021 | - | 18 | 9 | |
MOBILE/ | H | 01-Feb-2021 | - | 52 | 48 | |
QA/ | H | 01-Feb-2021 | - | 2,059 | 1,700 | |
atomicx/ | H | 01-Feb-2021 | - | 124 | 84 | |
cmd/ | H | 01-Feb-2021 | - | 4,386 | 3,684 | |
experiment/ | H | 01-Feb-2021 | - | 19,430 | 17,023 | |
geolocate/ | H | 01-Feb-2021 | - | 1,617 | 1,369 | |
internal/ | H | 01-Feb-2021 | - | 3,441 | 2,831 | |
legacy/ | H | 01-Feb-2021 | - | 6,363 | 5,001 | |
libminiooni/ | H | 01-Feb-2021 | - | 477 | 388 | |
libooniffi/ | H | 01-Feb-2021 | - | 486 | 383 | |
model/ | H | 01-Feb-2021 | - | 643 | 423 | |
netx/ | H | 01-Feb-2021 | - | 15,832 | 13,814 | |
oonimkall/ | H | 01-Feb-2021 | - | 2,986 | 2,474 | |
probeservices/ | H | 01-Feb-2021 | - | 2,893 | 2,469 | |
resources/ | H | 01-Feb-2021 | - | 333 | 279 | |
testdata/ | H | 03-May-2022 | - | 12 | 11 | |
vendor/ | H | 03-May-2022 | - | 3,063,439 | 2,567,844 | |
version/ | H | 01-Feb-2021 | - | 6 | 2 | |
.gitignore | H A D | 01-Feb-2021 | 204 | 18 | 17 | |
AUTHORS | H A D | 01-Feb-2021 | 29 | 3 | 2 | |
CODEOWNERS | H A D | 01-Feb-2021 | 24 | 2 | 1 | |
CODE_OF_CONDUCT.md | H A D | 01-Feb-2021 | 9 KiB | 256 | 165 | |
CONTRIBUTING.md | H A D | 01-Feb-2021 | 2.9 KiB | 75 | 52 | |
DESIGN.md | H A D | 01-Feb-2021 | 3.4 KiB | 140 | 106 | |
LICENSE | H A D | 01-Feb-2021 | 1.5 KiB | 27 | 21 | |
README.md | H A D | 01-Feb-2021 | 2.6 KiB | 84 | 55 | |
allexperiments.go | H A D | 01-Feb-2021 | 9.2 KiB | 324 | 293 | |
build-android.bash | H A D | 01-Feb-2021 | 1.6 KiB | 56 | 53 | |
build-cli.sh | H A D | 01-Feb-2021 | 1.3 KiB | 32 | 30 | |
build-ios.bash | H A D | 01-Feb-2021 | 308 | 12 | 10 | |
experiment.go | H A D | 01-Feb-2021 | 8.1 KiB | 243 | 193 | |
experiment_integration_test.go | H A D | 01-Feb-2021 | 12.8 KiB | 560 | 528 | |
experiment_internal_test.go | H A D | 01-Feb-2021 | 426 | 17 | 13 | |
experiment_test.go | H A D | 01-Feb-2021 | 2 KiB | 76 | 72 | |
experimentbuilder.go | H A D | 01-Feb-2021 | 5.9 KiB | 204 | 145 | |
experimentbuilder_test.go | H A D | 01-Feb-2021 | 4.9 KiB | 191 | 185 | |
go.mod | H A D | 01-Feb-2021 | 1.2 KiB | 35 | 32 | |
go.sum | H A D | 01-Feb-2021 | 41.4 KiB | 430 | 429 | |
inputloader.go | H A D | 01-Feb-2021 | 6.2 KiB | 210 | 130 | |
inputloader_integration_test.go | H A D | 01-Feb-2021 | 8.1 KiB | 317 | 300 | |
inputloader_test.go | H A D | 01-Feb-2021 | 2.5 KiB | 111 | 91 | |
inputprocessor.go | H A D | 01-Feb-2021 | 4.2 KiB | 140 | 79 | |
inputprocessor_test.go | H A D | 01-Feb-2021 | 4.3 KiB | 167 | 152 | |
kvstore.go | H A D | 01-Feb-2021 | 1.2 KiB | 45 | 29 | |
kvstore_test.go | H A D | 01-Feb-2021 | 508 | 32 | 29 | |
publish-android.bash | H A D | 01-Feb-2021 | 1.3 KiB | 29 | 23 | |
publish-ios.bash | H A D | 01-Feb-2021 | 1.2 KiB | 24 | 18 | |
saver.go | H A D | 01-Feb-2021 | 1.6 KiB | 70 | 45 | |
saver_test.go | H A D | 01-Feb-2021 | 1.7 KiB | 81 | 72 | |
session.go | H A D | 01-Feb-2021 | 16.1 KiB | 515 | 362 | |
session_integration_test.go | H A D | 01-Feb-2021 | 16.8 KiB | 660 | 617 | |
session_internal_test.go | H A D | 01-Feb-2021 | 481 | 22 | 16 | |
submitter.go | H A D | 01-Feb-2021 | 1.8 KiB | 68 | 39 | |
submitter_test.go | H A D | 01-Feb-2021 | 2 KiB | 89 | 77 | |
testjafar.bash | H A D | 01-Feb-2021 | 3.7 KiB | 130 | 105 | |
testusing.bash | H A D | 01-Feb-2021 | 474 | 24 | 14 |
README.md
1# OONI probe measurement engine 2 3[![GoDoc](https://godoc.org/github.com/ooni/probe-engine?status.svg)](https://godoc.org/github.com/ooni/probe-engine) [![Short Tests Status](https://github.com/ooni/probe-engine/workflows/shorttests/badge.svg)](https://github.com/ooni/probe-engine/actions?query=workflow%3Ashorttests) [![All Tests Status](https://github.com/ooni/probe-engine/workflows/alltests/badge.svg)](https://github.com/ooni/probe-engine/actions?query=workflow%3Aalltests) [![Coverage Status](https://coveralls.io/repos/github/ooni/probe-engine/badge.svg?branch=master)](https://coveralls.io/github/ooni/probe-engine?branch=master) [![Go Report Card](https://goreportcard.com/badge/github.com/ooni/probe-engine)](https://goreportcard.com/report/github.com/ooni/probe-engine) 4 5This repository contains OONI probe's [measurement engine]( 6https://github.com/ooni/spec/tree/master/probe#engine). That is, the 7piece of software that implements OONI nettests as well as all the 8required functionality to run such nettests. 9 10We expect you to use the Go version indicated in [go.mod](go.mod). 11 12## Integrating ooni/probe-engine 13 14We recommend pinning to a specific version of probe-engine: 15 16```bash 17go get -v github.com/ooni/probe-engine@VERSION 18``` 19 20See also the [workflows/using.yml](.github/workflows/using.yml) test 21where we check that the latest commit can be imported by a third party. 22 23We do not provide any API stability guarantee. 24 25## Building miniooni 26 27[miniooni](cmd/miniooni) is a small command line client used for 28research and quality assurance testing. Build using: 29 30```bash 31go build -v ./cmd/miniooni/ 32``` 33 34See also `./build-cli.bash` for more advanced builds (e.g. to create 35statically linked and/or stripped binaries). 36 37We don't provide any `miniooni` command line flags stability guarantee. 38 39See 40 41```bash 42./miniooni --help 43``` 44 45for more help. 46 47## Building Android bindings 48 49```bash 50./build-android.bash 51``` 52 53We automatically build Android bindings whenever commits are pushed to the 54`mobile-staging` branch. Such builds could be integrated by using: 55 56```Groovy 57implementation "org.ooni:oonimkall:VERSION" 58``` 59 60Where VERSION is like `2020.03.30-231914` corresponding to the 61time when the build occurred. 62 63## Building iOS bindings 64 65```bash 66./build-ios.bash 67``` 68 69We automatically build iOS bindings whenever commits are pushed to the 70`mobile-staging` branch. Such builds could be integrated by using: 71 72```ruby 73pod 'oonimkall', :podspec => 'https://dl.bintray.com/ooni/ios/oonimkall-VERSION.podspec' 74``` 75 76Where VERSION is like `2020.03.30-231914` corresponding to the 77time when the build occurred. 78 79## Updating dependencies 80 81``` 82go get -u -v ./... && go mod tidy 83``` 84