Release 3.10.0 beta.3 (#345)

* chore: run go-generate

See https://github.com/ooni/probe/issues/1468

* chore: update all the dependencies

Unclear to me why `go get -u -v ./...` did not actually update
all of them and I needed to spell out each of them and force to
update by going `go get -u -v $pkg@latest` ¯\_(ツ)_/¯.

Part of https://github.com/ooni/probe/issues/1468

* fix(c/o/i/d/actions_test.go): ensure we check for return value

Part of https://github.com/ooni/probe/issues/1468

* chore: update the user agents we use

See https://github.com/ooni/probe/issues/1468

* chore: set version to 3.10.0-beta.3

See https://github.com/ooni/probe/issues/1468

* chore: use probe-assets v0.3.1

Part of https://github.com/ooni/probe/issues/1468
This commit is contained in:
Simone Basso
2021-05-13 08:16:28 +02:00
committed by GitHub
parent f77f54bcc9
commit a4cf473ee9
20 changed files with 53 additions and 46 deletions
+3 -3
View File
@@ -3,8 +3,8 @@ package httpheader
// UserAgent returns the User-Agent header used for measuring.
func UserAgent() string {
// 9.6% as of Apr 26, 2021 according to https://techblog.willshouse.com/2012/01/03/most-common-user-agents/
const ua = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36"
// 11.0% as of May 13, 2021 according to https://techblog.willshouse.com/2012/01/03/most-common-user-agents/
const ua = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36"
return ua
}
@@ -12,5 +12,5 @@ func UserAgent() string {
// pretent to be a command line HTTP client.
func CLIUserAgent() string {
// here we always put the latest version of cURL.
return "curl/7.73.0"
return "curl/7.76.1"
}
+2 -2
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-04-26 14:35:17.585901576 +0200 CEST m=+1.233232011
// 2021-05-12 09:14:54.779668278 +0200 CEST m=+6.872930413
// https://curl.haxx.se/ca/cacert.pem
package gocertifi
@@ -3227,7 +3227,7 @@ CAezNIm8BZ/3Hobui3A=
`
// CACerts builds an X.509 certificate pool containing the
// certificate bundle from https://curl.haxx.se/ca/cacert.pem fetch on 2021-04-26 14:35:17.585901576 +0200 CEST m=+1.233232011.
// certificate bundle from https://curl.haxx.se/ca/cacert.pem fetch on 2021-05-12 09:14:54.779668278 +0200 CEST m=+6.872930413.
// Returns nil on error along with an appropriate error code.
func CACerts() (*x509.CertPool, error) {
pool := x509.NewCertPool()
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-04-26 14:35:18.174476677 +0200 CEST m=+0.000080813
// 2021-05-12 09:15:00.422051399 +0200 CEST m=+0.000129449
package ooapi
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-04-26 14:35:18.667452571 +0200 CEST m=+0.000086966
// 2021-05-12 09:15:01.254917327 +0200 CEST m=+0.000217025
package ooapi
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-04-26 14:35:18.94343681 +0200 CEST m=+0.000101052
// 2021-05-12 09:15:01.869492095 +0200 CEST m=+0.000168945
package ooapi
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-04-26 14:35:19.289301439 +0200 CEST m=+0.000109438
// 2021-05-12 09:15:02.497717446 +0200 CEST m=+0.000113904
package ooapi
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-04-26 14:35:19.528700386 +0200 CEST m=+0.000110320
// 2021-05-12 09:15:03.02266641 +0200 CEST m=+0.000097757
package ooapi
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-04-26 14:35:19.81671012 +0200 CEST m=+0.000117403
// 2021-05-12 09:15:03.586305848 +0200 CEST m=+0.000123000
package ooapi
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-04-26 14:35:20.134323167 +0200 CEST m=+0.000073269
// 2021-05-12 09:15:04.198485035 +0200 CEST m=+0.000114145
package ooapi
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-04-26 14:35:20.359406685 +0200 CEST m=+0.000143603
// 2021-05-12 09:15:04.793154609 +0200 CEST m=+0.000108739
package ooapi
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-04-26 14:35:20.569073374 +0200 CEST m=+0.000071055
// 2021-05-12 09:15:05.331414434 +0200 CEST m=+0.000124504
package ooapi
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-04-26 14:35:20.827334668 +0200 CEST m=+0.000104378
// 2021-05-12 09:15:06.213159282 +0200 CEST m=+0.000104135
package ooapi
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-04-26 14:35:21.135933711 +0200 CEST m=+0.000163009
// 2021-05-12 09:15:06.893164862 +0200 CEST m=+0.000136881
package ooapi
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-04-26 14:35:21.432026711 +0200 CEST m=+0.000117272
// 2021-05-12 09:15:07.590481334 +0200 CEST m=+0.000085230
package ooapi
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-04-26 14:35:21.766001644 +0200 CEST m=+0.000159663
// 2021-05-12 09:15:08.237841277 +0200 CEST m=+0.000121556
package ooapi
+2 -2
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-04-26 14:35:22.20867232 +0200 CEST m=+0.000560530
// 2021-05-12 09:15:08.888123159 +0200 CEST m=+0.000883704
package ooapi
@@ -9,7 +9,7 @@ const swagger = `{
"swagger": "2.0",
"info": {
"title": "OONI API specification",
"version": "0.20210426.4123522"
"version": "0.20210512.5071508"
},
"host": "api.ooni.io",
"basePath": "/",