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>
Sat, 15 Jul 2023 09:29:33 +0000 (10:29 +0100)
commitcc471c0d41dd3b91da7f008bded0f9cc4e829c2e
tree182d0dd9c8fb52e2f9fd06dfaed6d81bc1a55588
parent9778cd4e12b04e866311213895ddccf8ad1a6f22
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