forgejo/services/migrations
forgejo-backport-action dfdcbaf194 [v13.0/forgejo] fix: add required headers to Pagure migration (#9994)
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/9973

See https://pagure.io/fedora-infrastructure/issue/12886 for details.

Resolves https://codeberg.org/forgejo/forgejo/issues/9974

## Test
1. Go to https://dev.gusted.xyz/repo/migrate?service_type=10
2. Fill in https://pagure.io/slapi-nis
3. Migrate.
4. Verify the migration succeeded.

Co-authored-by: Alexander Bokovoy <ab@samba.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9994
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
2025-11-06 14:36:12 +01:00
..
testdata [v13.0/forgejo] fix: add required headers to Pagure migration (#9994) 2025-11-06 14:36:12 +01: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: replace gopkg.in/yaml.v3 with go.yaml.in/yaml/v3 (#8956) 2025-08-20 15:31:12 +02: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 Fix migration failing when importing either issues or PRs but not the other (#8892) 2025-09-01 14:05:10 +02:00
gitbucket_test.go Fix migration failing when importing either issues or PRs but not the other (#8892) 2025-09-01 14:05:10 +02: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 Fix migration failing when importing either issues or PRs but not the other (#8892) 2025-09-01 14:05:10 +02:00
github.go Fix migration failing when importing either issues or PRs but not the other (#8892) 2025-09-01 14:05:10 +02:00
github_test.go Fix migration failing when importing either issues or PRs but not the other (#8892) 2025-09-01 14:05:10 +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 [v13.0/forgejo] fix: add required headers to Pagure migration (#9994) 2025-11-06 14:36:12 +01:00
pagure_test.go fix: use mocked HTTP server for authorized migration 2025-08-26 21:57:25 +02:00
restore.go chore: replace gopkg.in/yaml.v3 with go.yaml.in/yaml/v3 (#8956) 2025-08-20 15:31:12 +02:00
update.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00