refactor(ops/gerrit-webhook-to-irccat): use streams data types
The types are different for `gerrit stream-events` and webhooks, so switch to a fork of go-gerrit containing their definitions. https://github.com/andygrunwald/go-gerrit/pull/189 is the upstream PR. Change-Id: I24136af2f2cf5655f2a8278632a3b0f52aa6adcc Reviewed-on: https://cl.snix.dev/c/snix/+/30544 Autosubmit: Florian Klink <flokli@flokli.de> Tested-by: besadii Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
This commit is contained in:
parent
abb2daa4ae
commit
fcd43e8bc8
4 changed files with 12 additions and 15 deletions
|
|
@ -10,13 +10,11 @@ require (
|
|||
)
|
||||
|
||||
require (
|
||||
github.com/google/go-querystring v1.1.0 // indirect
|
||||
github.com/google/uuid v1.6.0 // indirect
|
||||
go.opentelemetry.io/otel v1.29.0 // indirect
|
||||
go.opentelemetry.io/otel/trace v1.29.0 // indirect
|
||||
)
|
||||
|
||||
// switch to the "fixes" branch, which renames _number to number and
|
||||
// work_in_progress to wip to match the structure of the JSON being sent.
|
||||
// Tracking issue: https://github.com/andygrunwald/go-gerrit/pull/187
|
||||
replace github.com/andygrunwald/go-gerrit v1.0.0 => github.com/flokli/go-gerrit v0.0.0-20250515192813-cf3a6e735367
|
||||
// Use the different data types sent in streams
|
||||
// https://github.com/andygrunwald/go-gerrit/pull/189
|
||||
replace github.com/andygrunwald/go-gerrit v1.0.0 => github.com/flokli/go-gerrit v0.0.0-20250523210852-9e357d872ff3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue