Skip to content

chore: Upgrade xorm to 1.4.1#38224

Open
lunny wants to merge 4 commits into
go-gitea:mainfrom
lunny:lunny/upgrade_xorm
Open

chore: Upgrade xorm to 1.4.1#38224
lunny wants to merge 4 commits into
go-gitea:mainfrom
lunny:lunny/upgrade_xorm

Conversation

@lunny

@lunny lunny commented Jun 26, 2026

Copy link
Copy Markdown
Member

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jun 26, 2026
@lunny lunny marked this pull request as ready for review June 26, 2026 04:39
@wxiaoguang

Copy link
Copy Markdown
Contributor

Are these fixed?

Dez 30 06:50:43  gitea[14648]: 2022/12/30 06:50:43 routers/init.go:145:GlobalInitInstalled() [W] Table project column board_type db type is INT(10) UNSIGNED, struct type is INT UNSIGNED
Dez 30 06:50:43  gitea[14648]: 2022/12/30 06:50:43 routers/init.go:145:GlobalInitInstalled() [W] Table project column type db type is INT(10) UNSIGNED, struct type is INT UNSIGNED
2025/12/28 13:14:40 .../v3@v3.4.1/command_run.go:94:(*Command).Run() [W] Table external_login_user column raw_data db type is JSON, struct type is TEXT

@wxiaoguang

Copy link
Copy Markdown
Contributor

And how these are fixed?

gitea  | 2026/06/26 13:59:21 cmd/web.go:205:serveInstalled() [W] Table project column card_type db type is INT, struct type is INT UNSIGNED


gitea  | 2026/06/26 13:59:22 cmd/web.go:205:serveInstalled() [W] Table hook_task has column repo_id but struct has not related field

@lunny lunny changed the title Upgrade xorm to 1.4.0 chore: Upgrade xorm to 1.4.1 Jun 28, 2026
@github-actions github-actions Bot added the skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. label Jun 28, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Gitea’s Go module dependencies to use a newer XORM release, aiming to address the startup SQL warning behavior described in #22275 by pulling in upstream fixes from xorm.io/xorm.

Changes:

  • Bump xorm.io/xorm dependency from v1.3.11 to v1.4.1 in go.mod
  • Update go.sum checksums accordingly for xorm.io/xorm v1.4.1

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
go.mod Upgrades the declared XORM module version to v1.4.1.
go.sum Updates checksum entries to match the new XORM module version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/need 1 This PR needs approval from one additional maintainer to be merged. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[1.18.0] SQL warnings on start-up, XORM bug

5 participants