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, 18 Mar 2023 23:25:07 +0000 (23:25 +0000)
commitb27a929ff972219916a7ddfb02bad3a56fa889c2
tree6b3067bbeab0a416813ad7598e6b2a096df84a7b
parented1edd8fd4703f80d1c4f1002c77530c342d0a1f
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