From 424fb63a8b74eae70a24a55908c82e73851a807c Mon Sep 17 00:00:00 2001 From: sid Date: Sun, 19 Apr 2026 22:04:32 -0600 Subject: [PATCH] =?UTF-8?q?chore:=20bump=20Gitea=20SDK=20v0.22.1=20?= =?UTF-8?q?=E2=86=92=20v0.23.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v0.24.0 and v0.24.1 require Go 1.26 (via module go directive), which forces a toolchain download on any builder running older Go. v0.23.2 is the most recent release that works with our Go 1.24 baseline. Worth it: v0.23.x brings significant Issue/PR/Action method coverage beyond v0.22.1. Tests + vet still clean, live smoke against forgejo.zerova.net still passes (whoami, repo list). ResolvePullReviewComment / UnresolvePullReviewComment are still not in the SDK at v0.23.2 — they landed in v0.24 — so pr_review_comments.go continues to call the raw REST endpoints. Swap to native methods once we move to Go 1.26. --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index b3adecf..d6f219e 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module forgejo.zerova.net/public/fgj-sid go 1.24.0 require ( - code.gitea.io/sdk/gitea v0.22.1 + code.gitea.io/sdk/gitea v0.23.2 github.com/itchyny/gojq v0.12.18 github.com/spf13/cobra v1.8.1 github.com/spf13/viper v1.19.0 diff --git a/go.sum b/go.sum index 35091dc..58b29ed 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -code.gitea.io/sdk/gitea v0.22.1 h1:7K05KjRORyTcTYULQ/AwvlVS6pawLcWyXZcTr7gHFyA= -code.gitea.io/sdk/gitea v0.22.1/go.mod h1:yyF5+GhljqvA30sRDreoyHILruNiy4ASufugzYg0VHM= +code.gitea.io/sdk/gitea v0.23.2 h1:iJB1FDmLegwfwjX8gotBDHdPSbk/ZR8V9VmEJaVsJYg= +code.gitea.io/sdk/gitea v0.23.2/go.mod h1:yyF5+GhljqvA30sRDreoyHILruNiy4ASufugzYg0VHM= github.com/42wim/httpsig v1.2.3 h1:xb0YyWhkYj57SPtfSttIobJUPJZB9as1nsfo7KWVcEs= github.com/42wim/httpsig v1.2.3/go.mod h1:nZq9OlYKDrUBhptd77IHx4/sZZD+IxTBADvAPI9G/EM= github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4=