feat: update gitea vendor
runner nix smoke / nix label and flake smoke (push) Failing after 1m28s

This commit is contained in:
2026-09-26 21:18:24 +00:00
parent c439c1b948
commit d9b2a4e787
3538 changed files with 116131 additions and 44340 deletions
@@ -6,13 +6,14 @@ import (
"errors"
"fmt"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
"gitea.dev/models/db"
"gitea.dev/modules/log"
"gitea.dev/modules/setting"
"xorm.io/xorm"
)
func expandHashReferencesToSha256(x *xorm.Engine) error {
func expandHashReferencesToSha256(x db.EngineMigration) error {
alteredTables := [][2]string{
{"commit_status", "context_hash"},
{"comment", "commit_sha"},
@@ -81,7 +82,7 @@ func expandHashReferencesToSha256(x *xorm.Engine) error {
return db.Commit()
}
func addObjectFormatNameToRepository(x *xorm.Engine) error {
func addObjectFormatNameToRepository(x db.EngineMigration) error {
type Repository struct {
ObjectFormatName string `xorm:"VARCHAR(6) NOT NULL DEFAULT 'sha1'"`
}
@@ -99,7 +100,7 @@ func addObjectFormatNameToRepository(x *xorm.Engine) error {
return err
}
func AdjustDBForSha256(x *xorm.Engine) error {
func AdjustDBForSha256(x db.EngineMigration) error {
if err := expandHashReferencesToSha256(x); err != nil {
return err
}