• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ooni / probe-engine
83%
master: 86%

Build:
Build:
LAST BUILD BRANCH: release/0.23.0
DEFAULT BRANCH: master
Repo Added 13 Jun 2019 03:05PM UTC
Files 190
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH issue/141
branch: issue/141
CHANGE BRANCH
x
Reset
  • issue/141
  • android
  • backend/369
  • backend/446
  • bassosimone-patch-1
  • cherry_pick_from_509
  • develop
  • doc/dnscheck
  • feature/852
  • feature/assets
  • feature/build-ios
  • feature/cli
  • feature/coc
  • feature/dash
  • feature/dirauth
  • feature/dnst
  • feature/doh
  • feature/engine
  • feature/example
  • feature/forkx
  • feature/ghstuff
  • feature/issue_509
  • feature/jafar
  • feature/load-measurement
  • feature/maxminddb
  • feature/measurement-kit-0.10.11
  • feature/measurer
  • feature/ndt7
  • feature/netxtelegram
  • feature/newasn
  • feature/oohelper
  • feature/oonihosts
  • feature/oonimeasure
  • feature/oopsi
  • feature/orchestra-tor
  • feature/probe-cli-46
  • feature/psiphon-adventures
  • feature/sniblocking
  • feature/tcpconnect
  • feature/telegram
  • feature/telegram-minimal
  • feature/telegram-netx
  • feature/tortunnel
  • feature/travis
  • feature/updateassets
  • feature/validatemetadata
  • finish-dll
  • fix/alerts
  • fix/bodyvalue
  • fix/ci
  • fix/country_code
  • fix/dash
  • fix/dfv
  • fix/hkgcollectora
  • fix/issue-399
  • fix/long_tests_fedora
  • fix/mobile-staging
  • fix/oonimkall
  • fix/options
  • fix/orchestra
  • fix/orchestra-path
  • fix/proxy
  • fix/reportid
  • fix/runtime
  • fix/submission
  • fix_golang_build
  • fix_oonimkall_tests
  • frequent_build_breakage
  • investigate
  • issue/1001
  • issue/1005
  • issue/1019
  • issue/1026
  • issue/1050
  • issue/1055
  • issue/1057
  • issue/1060
  • issue/110
  • issue/112
  • issue/113
  • issue/114
  • issue/1185
  • issue/125
  • issue/1261
  • issue/1283
  • issue/132
  • issue/142
  • issue/146
  • issue/148
  • issue/153
  • issue/155
  • issue/164
  • issue/167
  • issue/168
  • issue/169
  • issue/1884
  • issue/191
  • issue/25
  • issue/265
  • issue/267
  • issue/268
  • issue/280_bis
  • issue/288
  • issue/292
  • issue/302
  • issue/304
  • issue/308
  • issue/309
  • issue/314
  • issue/315
  • issue/316
  • issue/317
  • issue/321
  • issue/328
  • issue/331
  • issue/334
  • issue/339-base
  • issue/339penta
  • issue/339quater
  • issue/339x
  • issue/339xxxxxxxxx
  • issue/348
  • issue/351
  • issue/352
  • issue/353
  • issue/359
  • issue/362
  • issue/376
  • issue/384
  • issue/388
  • issue/396
  • issue/399
  • issue/404
  • issue/407
  • issue/423
  • issue/453
  • issue/484
  • issue/486
  • issue/495
  • issue/501
  • issue/506
  • issue/509
  • issue/533
  • issue/543
  • issue/546
  • issue/547
  • issue/55
  • issue/550
  • issue/562
  • issue/572
  • issue/576
  • issue/578
  • issue/581
  • issue/621
  • issue/622
  • issue/623
  • issue/624
  • issue/625
  • issue/626
  • issue/629
  • issue/643
  • issue/646
  • issue/650
  • issue/651
  • issue/655
  • issue/656
  • issue/668
  • issue/67
  • issue/671
  • issue/684
  • issue/689
  • issue/716
  • issue/728
  • issue/736
  • issue/740
  • issue/743
  • issue/746
  • issue/748
  • issue/761
  • issue/763
  • issue/764
  • issue/770
  • issue/776
  • issue/810
  • issue/819
  • issue/821
  • issue/829
  • issue/852
  • issue/866
  • issue/871
  • issue/887
  • issue/89
  • issue/893
  • issue/951
  • issue/974
  • issue/992
  • issue/994
  • issue_509
  • ja-pa-update-modules
  • master
  • mk
  • mobile-staging
  • mobile/fixes
  • ndt7-protocol
  • netx/spec
  • no-cloudflare
  • nocontext
  • orchestra-test-lists
  • prerelease
  • probe-engine/125
  • probe-engine/350
  • probe/887
  • refactor
  • refactor/generate
  • refactor/oodatamodel
  • refactor/testlists
  • refs/tags/v0.10.0
  • refs/tags/v0.12.0
  • refs/tags/v0.13.0
  • refs/tags/v0.13.1
  • refs/tags/v0.13.2
  • refs/tags/v0.14.0
  • refs/tags/v0.14.1
  • refs/tags/v0.15.0
  • refs/tags/v0.15.1
  • refs/tags/v0.15.2
  • refs/tags/v0.16.0
  • refs/tags/v0.17.0
  • refs/tags/v0.18.0
  • refs/tags/v0.19.0
  • refs/tags/v0.20.0
  • refs/tags/v0.20.1
  • refs/tags/v0.7.0
  • refs/tags/v0.8.0
  • refs/tags/v0.9.0
  • release
  • release/0.10.0
  • release/0.12.0
  • release/0.13.0
  • release/0.19.0
  • release/0.20.0
  • release/0.7.0
  • release/v0.1.0
  • release/v0.1.1
  • release/v0.11.0
  • sandbox-sbs
  • stable
  • testing/dash
  • update/ndt7
  • update/resources
  • v0.1.0
  • v0.1.1
  • v0.2.0
  • v0.3.0
  • v0.3.1
  • v0.4.0
  • v0.5.0
  • v0.6.0
  • xhdix-file/deal_with_eol
  • xhdix-resolver/add_idn_resolver

04 Dec 2019 11:53AM UTC coverage: 83.348% (+0.2%) from 83.125%
337

Pull #152

travis-ci

web-flow
go.mod go.sum: use latest dependencies for psiphon

I have obtained the dependencies used by psiphon v2.0.9 (the latest
stable release as of this writing) by doing the following:

1. `git clone https://github.com/Psiphon-Labs/psiphon-tunnel-core`

2. `cd psiphon-tunnel-core`

3. `go mod init`

This has given me a `go.mod` file using the dependencies used
by such specific version of Psiphon. Note that the `go.mod` has
been computed by `go mod init` from `./vendor/vendor.json`.

Once I had both our `go.mod` and such `go.mod`, I used the
following script to get what versions of our dependencies were
older than the versions used by such version of Psiphon:

```Python

import distutils.version
import sys

def slurp(path):
    deps = {}
    with open(path, "r") as filep:
        for line in filep:
            if not line.startswith("\t"):
                continue
            line = line.strip()
            if "// indirect" in line:
                index = line.find("// indirect")
                line = line[:index]
                line = line.strip()
            name, version = line.strip().split()
            deps[name] = version
    return deps

def main():
    if len(sys.argv) != 3:
        sys.exit("usage: %s /our/go.mod /their/go.mod" % sys.argv[0])
    ourdict = slurp(sys.argv[1])
    theirdict = slurp(sys.argv[2])
    for key in theirdict:
        if key not in ourdict:
            continue
        ourver = distutils.version.LooseVersion(ourdict[key])
        theirver = distutils.version.LooseVersion(theirdict[key])
        if theirver <= ourver:
            continue
        print(key, theirdict[key], ourdict[key])

if __name__ == "__main__":
    main()
```

I have then pinned the few packages that needed it to the version
that was used by Psiphon. For all other packages, no action was
required, because their version was either equal or newer in our
code and everything has been working fine thus far.

Albeit very manual, the procedure described in th... (continued)
Pull Request #152: go.mod go.sum: update all dependencies (and specifically psiphon's)

1867 of 2240 relevant lines covered (83.35%)

0.93 hits per line

Relevant lines Covered
Build:
Build:
2240 RELEVANT LINES 1867 COVERED LINES
0.93 HITS PER LINE
Source Files on issue/141
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
337 issue/141 go.mod go.sum: use latest dependencies for psiphon I have obtained the dependencies used by psiphon v2.0.9 (the latest stable release as of this writing) by doing the following: 1. `git clone https://github.com/Psiphon-Labs/psiphon-tunnel-core` ... Pull #152 04 Dec 2019 11:56AM UTC web-flow travis-ci
83.35
336 issue/141 go.mod go.sum: use latest dependencies for psiphon I have obtained the dependencies used by psiphon v2.0.9 (the latest stable release as of this writing) by doing the following: 1. `git clone https://github.com/Psiphon-Labs/psiphon-tunnel-core` ... push 04 Dec 2019 11:53AM UTC bassosimone travis-ci
83.35
335 issue/141 go.mod go.sum: update all direct dependencies This excludes, in particular, the indirect dependencies used by psiphon, which are the true goal of #141. In my journey towards making this work, let's start first with the really easy stuff that we ... push 04 Dec 2019 11:26AM UTC bassosimone travis-ci
83.35
334 issue/141 go.mod: require go 1.13+ push 03 Dec 2019 06:21PM UTC bassosimone travis-ci
83.35
See All Builds (2688)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc