gitea/services/migrations
Lunny Xiao 69700f9cdd
Fix possible bug when migrating issues/pull requests (#33487)
When migrating issues or pull requests from a big repository, some
issue/pull request maybe deleted when migrating. So that there will be
duplicated issues/pull requests because we are get information with
pagination. This PR introduced a map to record all migrated issue pull
request index when migrating to avoid the failure because of duplicated
records.
2025-12-07 23:09:10 +07:00
..
codebase.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
codebase_test.go Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +07:00
codecommit.go Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +07:00
common.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +07:00
dump.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
error.go Upgrade dependencies (#35384) 2025-09-02 23:13:38 +07:00
git.go refactor: decouple context from migration structs (#33399) 2025-02-07 05:37:32 +07:00
gitbucket.go Change the default maxPerPage for gitbucket (#30392) 2024-04-11 22:51:40 +07:00
gitea_downloader.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
gitea_downloader_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 +07:00
gitea_uploader.go Move commit related functions to gitrepo package (#35600) 2025-12-05 00:20:23 +07:00
gitea_uploader_test.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
github.go Upgrade dependencies (#35384) 2025-09-02 23:13:38 +07:00
github_test.go fix github migration error when using multiple tokens (#34144) 2025-04-13 23:20:14 +07:00
gitlab.go Upgrade dependencies (#35384) 2025-09-02 23:13:38 +07:00
gitlab_test.go Upgrade dependencies (#35384) 2025-09-02 23:13:38 +07:00
gogs.go refactor: decouple context from migration structs (#33399) 2025-02-07 05:37:32 +07:00
gogs_test.go Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +07:00
http_client.go Support allowed hosts for migrations to work with proxy (#32025) 2024-09-11 05:47:00 +07:00
main_test.go
migrate.go Fix possible bug when migrating issues/pull requests (#33487) 2025-12-07 23:09:10 +07:00
migrate_test.go
onedev.go OneDev migration: fix broken migration caused by various REST API changes in OneDev 7.8.0 and later (#35216) 2025-08-13 23:30:35 +07:00
onedev_test.go update golangci-lint to v2.7.0 (#36079) 2025-12-04 09:06:44 +07:00
restore.go refactor: decouple context from migration structs (#33399) 2025-02-07 05:37:32 +07:00
update.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +07:00