forgejo/models/packages
forgejo-backport-action 76b6d34add [v15.0/forgejo] fix: debian package cleanup failure due to xorm connection corruption (#12774)
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/12764

Fixes #12645.  Detailed analysis in [this comment](https://codeberg.org/forgejo/forgejo/issues/12645#issuecomment-15939122).  New test case is verified to hit the bug -- the previous case just narrowly missed the problem because it ended up with an empty repository index.

Co-authored-by: Mathieu Fenniak <mathieu@fenniak.net>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12774
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2026-05-27 19:31:03 +02:00
..
alpine chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
alt chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
conan chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
conda chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
container chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
cran chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
debian [v15.0/forgejo] fix: debian package cleanup failure due to xorm connection corruption (#12774) 2026-05-27 19:31:03 +02:00
nuget refactor: replace Value() from Option[T] with Get() & ValueOrZeroValue() (#11218) 2026-02-10 16:41:21 +01:00
rpm chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
descriptor.go ci: detect and prevent empty case statements in Go code (#11593) 2026-03-10 02:50:28 +01:00
main_test.go chore: move all test blank imports in a single package (#10662) 2026-01-02 05:32:32 +01:00
package.go several fixes of ALT Package registry (#8475) 2025-07-10 17:12:07 +02:00
package_blob.go fix: package_blob.has_blake2b may be null (#7520) 2025-04-11 12:28:03 +00:00
package_blob_test.go chore: merge tests.AddFixtures and unittest.OverrideFixtures (#7648) 2025-04-25 09:14:33 +00:00
package_blob_upload.go chore: unify the usage of CryptoRandomString (#10110) 2025-11-15 13:24:53 +01:00
package_cleanup_rule.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
package_file.go fix: maven use groupId:artifactId for package name concatenation (#6352) 2025-06-01 09:02:29 +02:00
package_property.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
package_test.go fix: package_blob.has_blake2b may be null (#7520) 2025-04-11 12:28:03 +00:00
package_version.go [v15.0/forgejo] fix: duplicate key violates unique constraint in concurrent debian package uploads (#11833) 2026-03-27 01:36:18 +01:00