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>
Thu, 2 Mar 2023 05:07:10 +0000 (05:07 +0000)
commitd15f133c3799f5c47c8ff48098d450fd2683b5a7
treeb269b022424d2dcbbf704a0e12866ea675010bce
parent6fe6682c29323e56fb6095a6ebef0680dcc8561e
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