Debian Patches

Status for notary/0.6.1~ds2-6

Patch Description Author Forwarded Bugs Origin Last update
006963f1ded582c2cc5f5eb4d48dc6089ce3229b.patch Update docker/distribution to 2.7.1 Justin Cormack <justin.cormack@docker.com> no debian upstream, https://github.com/theupdateframework/notary/pull/1514/commits/006963f1ded582c2cc5f5eb4d48dc6089ce3229b 2019-11-08
ed25519.patch [PATCH] Use golang/x/crypto for ed25519
This is now available in the official upstream packages, so stop
using independent implementation. Small changes in types.
Justin Cormack <justin.cormack@docker.com> no upstream, https://github.com/theupdateframework/notary/commit/d4f8e4a98e77d3d8ca20c5530530a3d996b0ae5e 2018-04-15
test--nontest.patch disable failing tests.~~~~
FAIL: TestSetupCryptoServicesRethinkDBStoreConnectionFails (0.00s)
main_test.go:139:
Error Trace: main_test.go:139
Error: "Error starting rethinkdb driver: gorethink: dial tcp: lookup host on [::1]:53: read udp [::1]:57648->[::1]:53: read: connection refused" does not contain "no such host"
Test: TestSetupCryptoServicesRethinkDBStoreConnectionFails
~~~~

~~~~
TestNetworkError: httpstore_test.go:396:
Error Trace: httpstore_test.go:396
Error: Not equal:
expected: "GET https://auth.docker.io: abc:def:ghi"
actual : "GET \"https://auth.docker.io\": abc:def:ghi"

Diff:
- Expected
+ Actual
@@ -1 +1 @@
-GET https://auth.docker.io: abc:def:ghi
+GET "https://auth.docker.io": abc:def:ghi
Test: TestNetworkError
FAIL: TestNetworkError (0.00s)
~~~~
Dmitry Smirnov <onlyjob@debian.org> not-needed 2018-06-16
0001-Call-flag.Parse-in-testing.patch [PATCH] Call flag.Parse() in testing.
Newer versions of `testing` require that flags are parsed in `TestMain`
before use, including for `go test` command line options.
Justin Cormack <justin.cormack@docker.com> no 2019-07-25
fix-make-test-for-go-1.13.patch Fix "make test" broken on Go 1.13
This fixes the tests being broken on Go 1.13 and up, which is caused by a change
in Go 1.13: https://golang.org/doc/go1.13#testing

> Testing flags are now registered in the new Init function, which is invoked by
> the generated main function for the test. As a result, testing flags are now only
> registered when running a test binary, and packages that call flag.Parse during
> package initialization may cause tests to fail.

Before this change:

make test

ok github.com/theupdateframework/notary/client/changelist (cached)
flag provided but not defined: -test.testlogfile
Usage of /var/folders/c_/vjh56sc12fd2b_q2n02_lt140000gn/T/go-build270388911/b229/escrow.test:
-config string
path to configuration file; supported formats are JSON, YAML, and TOML (default "config.toml")
...
FAIL
make: *** [test] Error 1

With this patch applied, the test complete successfully
Sebastiaan van Stijn <github@gone.nl> no upstream, https://github.com/theupdateframework/notary/pull/1507 2019-10-16
remove-use-of-distributions-old-wrapped-context.patch Remove use of distributions old wrapped context Justin Cormack <justin.cormack@docker.com> no upstream, https://github.com/theupdateframework/notary/commit/8cf2868cf7c9d473ae44f49443fe22c6f148095f 2018-05-17

All known versions for source package 'notary'

Links