gitea/modules/migration
Lunny Xiao ebf9b4dc6b
Use a migration test instead of a wrong test which populated the meta test repositories and fix a migration bug (#36160)
The test `TestGiteaUploadUpdateGitForPullRequest` modified the shared
meta test repositories directly, so this PR removes that test and
replaces it with an integration test that migrates a real repository
from gitea.com into a local test instance.

This PR also fixes a bug where pull-request migrations were not
correctly syncing head branches to the database.
2025-12-17 12:00:07 +07:00
..
file_format_testdata
schemas
comment.go
downloader.go refactor: decouple context from migration structs (#33399) 2025-02-07 05:37:32 +07:00
error.go
file_format.go
file_format_test.go
issue.go
label.go
messenger.go
milestone.go
null_downloader.go refactor: decouple context from migration structs (#33399) 2025-02-07 05:37:32 +07:00
options.go Support migration from AWS CodeCommit (#31981) 2024-09-11 07:49:42 +07:00
pullrequest.go Fix some missed GitHeadRefName when renaming (#35102) 2025-07-17 14:01:11 +07:00
reaction.go
release.go
repo.go
retry_downloader.go remove context from retry downloader (#33871) 2025-03-14 00:28:57 +07:00
review.go
schemas_bindata.go Refactor embedded assets and drop unnecessary dependencies (#34692) 2025-06-12 03:59:33 +07:00
schemas_dynamic.go
uploader.go Use a migration test instead of a wrong test which populated the meta test repositories and fix a migration bug (#36160) 2025-12-17 12:00:07 +07:00