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, 31 May 2023 16:54:17 +0000 (17:54 +0100)
commitf01fd34fd02d68e607ae91881b897f0b81795ecb
treee7576ce1cadd20648ad39636365298e61696b906
parent684296c5646fc9001b9053a93253fde52a3fe5f9
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