Upgrade to probe-engine@v0.13.0 and fix Psiphon logic (#138)
* go.mod go.sum: pin to ooni/probe-engine@v0.13.0, update all other deps Make sure dependencies of probe-engine are at the same exact version to which is probe-engine, to avoid any possible issue. * Readme.md: clarify the procedure for updating deps
This commit is contained in:
parent
b4934b1619
commit
ef4b1aee76
4 changed files with 36 additions and 30 deletions
10
Readme.md
10
Readme.md
|
|
@ -78,10 +78,16 @@ instructions on how to install dependencies.
|
|||
## Updating dependencies
|
||||
|
||||
1. update every direct dependency in `go.mod` except `probe-engine`
|
||||
using `go get -u -v $dependency`
|
||||
using `go get -u -v $dependency`:
|
||||
|
||||
```
|
||||
for name in `grep -v indirect go.mod | grep -v probe-engine | awk '/^\t/{print $1}'`; do \
|
||||
go get -u -v $name; \
|
||||
done
|
||||
```
|
||||
|
||||
2. pin to the latest version of the `probe-engine` with
|
||||
`go get -v github.com/ooni/probe-engine@tag`
|
||||
`go get -v github.com/ooni/probe-engine@TAG`
|
||||
|
||||
3. remove all indirect dependencies from `go.mod` and merge the
|
||||
content of `probe-engine`'s `go.mod` into our `go.mod`
|
||||
|
|
|
|||
Loading…
Reference in a new issue