forgejo: backport patch for flaky TestBleveDeleteIssue test from v15

Co-authored-by: emilylange <git@emilylange.de>
This commit is contained in:
Adam C. Stephens
2026-04-14 10:37:30 -04:00
co-authored by emilylange
parent 9edfaa1111
commit 0ce151a58a
+9 -1
View File
@@ -12,6 +12,7 @@
bash,
brotli,
buildGoModule,
fetchpatch,
forgejo,
git,
gzip,
@@ -82,8 +83,15 @@ buildGoModule rec {
patches = [
./static-root-path.patch
]
++ lib.optionals (lib.versionAtLeast version "14") [
# Backport fix for flaky TestBleveDeleteIssue test from v15.
# https://codeberg.org/forgejo/forgejo/pulls/11686
(fetchpatch {
url = "https://codeberg.org/forgejo/forgejo/commit/a32b0da87c10bb628a9d2203b700f0683e1ae966.patch";
hash = "sha256-mY1b35aKsiLNU56Ut/qiLrYj+IR8M2W8dZQiDqkDNxg=";
})
];
postPatch = ''
substituteInPlace modules/setting/server.go --subst-var data
'';