Refresh code generated from protobuf specifications
authorManuel Sabban <manuel@crowdsec.net>
Fri, 25 Nov 2022 07:34:47 +0000 (08:34 +0100)
committerCyril Brulebois <cyril@debamax.com>
Wed, 15 Feb 2023 10:03:10 +0000 (10:03 +0000)
commitf7e641cd16c663c1c07d6c8764353a46796a6168
tree393081d5780097ab702ca6cf4386590975ae69e1
parent07a3f16d2b028e98fc0c56e67cb8dcbca3b0c391
Refresh code generated from protobuf specifications

Without this patch, crowdsec would build fine but would fail in its testsuite,
reaching the 10-minute timeout. This was tracked down to unexpected csplugins
crashes, due to mismatched protobuf versions.

This issue would go away with golang-goprotobuf-dev 1.5.2-1~exp1 (as found in
experimental for a while) instead of 1.3.5-2 (in unstable as of November 2022).
Since protobuf's build-time and run-time are particularly tricky to get right,
incompatible 1.3.x and 1.5.x versions are packaged separately and aren't
co-installable. Since most packages depend on the 1.3.x version, it's not
possible to pull the 1.5.x version to avoid this issue.

Therefore, upstream was kind enough to come up with this patch, refreshing the
generated code so that it works fine within unstable.

Signed-off-by: Cyril Brulebois <cyril@debamax.com>
Gbp-Pq: Name 0011-refresh-protobuf-code.patch
pkg/protobufs/notifier.pb.go