• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/H01-Feb-2021-441400

CLI/H01-Feb-2021-189

MOBILE/H01-Feb-2021-5248

QA/H01-Feb-2021-2,0591,700

atomicx/H01-Feb-2021-12484

cmd/H01-Feb-2021-4,3863,684

experiment/H01-Feb-2021-19,43017,023

geolocate/H01-Feb-2021-1,6171,369

internal/H01-Feb-2021-3,4412,831

legacy/H01-Feb-2021-6,3635,001

libminiooni/H01-Feb-2021-477388

libooniffi/H01-Feb-2021-486383

model/H01-Feb-2021-643423

netx/H01-Feb-2021-15,83213,814

oonimkall/H01-Feb-2021-2,9862,474

probeservices/H01-Feb-2021-2,8932,469

resources/H01-Feb-2021-333279

testdata/H03-May-2022-1211

vendor/H03-May-2022-3,063,4392,567,844

version/H01-Feb-2021-62

.gitignoreH A D01-Feb-2021204 1817

AUTHORSH A D01-Feb-202129 32

CODEOWNERSH A D01-Feb-202124 21

CODE_OF_CONDUCT.mdH A D01-Feb-20219 KiB256165

CONTRIBUTING.mdH A D01-Feb-20212.9 KiB7552

DESIGN.mdH A D01-Feb-20213.4 KiB140106

LICENSEH A D01-Feb-20211.5 KiB2721

README.mdH A D01-Feb-20212.6 KiB8455

allexperiments.goH A D01-Feb-20219.2 KiB324293

build-android.bashH A D01-Feb-20211.6 KiB5653

build-cli.shH A D01-Feb-20211.3 KiB3230

build-ios.bashH A D01-Feb-2021308 1210

experiment.goH A D01-Feb-20218.1 KiB243193

experiment_integration_test.goH A D01-Feb-202112.8 KiB560528

experiment_internal_test.goH A D01-Feb-2021426 1713

experiment_test.goH A D01-Feb-20212 KiB7672

experimentbuilder.goH A D01-Feb-20215.9 KiB204145

experimentbuilder_test.goH A D01-Feb-20214.9 KiB191185

go.modH A D01-Feb-20211.2 KiB3532

go.sumH A D01-Feb-202141.4 KiB430429

inputloader.goH A D01-Feb-20216.2 KiB210130

inputloader_integration_test.goH A D01-Feb-20218.1 KiB317300

inputloader_test.goH A D01-Feb-20212.5 KiB11191

inputprocessor.goH A D01-Feb-20214.2 KiB14079

inputprocessor_test.goH A D01-Feb-20214.3 KiB167152

kvstore.goH A D01-Feb-20211.2 KiB4529

kvstore_test.goH A D01-Feb-2021508 3229

publish-android.bashH A D01-Feb-20211.3 KiB2923

publish-ios.bashH A D01-Feb-20211.2 KiB2418

saver.goH A D01-Feb-20211.6 KiB7045

saver_test.goH A D01-Feb-20211.7 KiB8172

session.goH A D01-Feb-202116.1 KiB515362

session_integration_test.goH A D01-Feb-202116.8 KiB660617

session_internal_test.goH A D01-Feb-2021481 2216

submitter.goH A D01-Feb-20211.8 KiB6839

submitter_test.goH A D01-Feb-20212 KiB8977

testjafar.bashH A D01-Feb-20213.7 KiB130105

testusing.bashH A D01-Feb-2021474 2414

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