forgejo/services/migrations
Akashdeep Dhar b8f15e4ea0 Add support for migrating from Pagure (#8513)
Add support for migrating Pagure repositories (including metadata) to Forgejo via the migration tool.

One 'discrepancy' with migration from other forges is how privates issues are handled, they are migrated when a API token is set for the migration, in that case users are advised to set their repositories visibility to private to avoid leaking such private issues.

Co-authored-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
Co-authored-by: Ryan Lerch <rlerch@redhat.com>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8513
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-committed-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
2025-08-11 16:56:26 +02:00
..
testdata Add support for migrating from Pagure (#8513) 2025-08-11 16:56:26 +02:00
codebase.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
codebase_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
common.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
dump.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
error.go Update module github.com/google/go-github/v63 to v64 2024-08-24 16:05:36 +00:00
forgejo_downloader.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
forgejo_downloader_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
git.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
gitbucket.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
gitea_downloader.go fix(migrations): transfer PR flow information (#7421) 2025-04-03 06:47:37 +00:00
gitea_downloader_test.go fix(migrations): transfer PR flow information (#7421) 2025-04-03 06:47:37 +00:00
gitea_sdk_hack.go fix(migrations): transfer PR flow information (#7421) 2025-04-03 06:47:37 +00:00
gitea_uploader.go [gitea] week 2025-22 cherry pick (gitea/main -> forgejo) (#8198) 2025-06-17 18:28:07 +02:00
gitea_uploader_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
github.go fix: migrate new Github release assets (#8771) 2025-08-03 22:14:13 +02:00
github_test.go fix github migration error when using multiple tokens (#34144) 2025-04-14 16:21:28 +02:00
gitlab.go Update module gitlab.com/gitlab-org/api/client-go to v0.130.1 (forgejo) (#8163) 2025-06-12 11:38:25 +02:00
gitlab_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
gogs.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
gogs_test.go chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-05-29 17:34:29 +02:00
http_client.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
main_test.go fix(migrations): transfer PR flow information (#7421) 2025-04-03 06:47:37 +00:00
migrate.go chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-05-29 17:34:29 +02:00
migrate_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
onedev.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
onedev_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
pagure.go Add support for migrating from Pagure (#8513) 2025-08-11 16:56:26 +02:00
pagure_test.go Add support for migrating from Pagure (#8513) 2025-08-11 16:56:26 +02:00
restore.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
update.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00