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>
20 lines
588 B
Modula-2
20 lines
588 B
Modula-2
module snix.dev/ops/gerrit-webhook-to-irccat
|
|
|
|
go 1.24.2
|
|
|
|
require (
|
|
github.com/andygrunwald/go-gerrit v1.0.0
|
|
github.com/coreos/go-systemd/v22 v22.5.0
|
|
github.com/samber/slog-http v1.6.0
|
|
golang.org/x/sync v0.13.0
|
|
)
|
|
|
|
require (
|
|
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
|
|
)
|
|
|
|
// 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
|