This is a listener for gerrit events, sent by their "webhooks" plugin, as well as a NixOS module to deploy it. Issue: https://git.snix.dev/snix/snix/issues/74 Change-Id: I65c5c5a991e6b1f4f330b3439c8a25aec3f1b484 Reviewed-on: https://cl.snix.dev/c/snix/+/30526 Reviewed-by: Ryan Lahfa <ryan@lahfa.xyz> Tested-by: besadii Autosubmit: Florian Klink <flokli@flokli.de>
22 lines
752 B
Modula-2
22 lines
752 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/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
|