forgejo/services/migrations/testdata
patdyn 9a423c0e67 Fix migration failing when importing either issues or PRs but not the other (#8892)
Related to https://codeberg.org/Codeberg/Community/issues/1944

* Allowed the githubdownloaderv3 to know whether issues and, or PRs are requested to migrate
* Used this information to decide to filter for "/pulls/" or "/issues"
  * Or not to filter at all if issues == true && prs == true
* Added isolated test for the downloader and for the uploader
* Created a new test_repo in github.com/forgejo and set it up properly together with @Gusted
* Updated github_downloader_test with the new URLs and test data from the repo
* Recorded the API calls for local testing
* Added a minimal gitbucket test (which uses the github downloader under the hood)

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8892
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: patdyn <patdyn@noreply.codeberg.org>
Co-committed-by: patdyn <patdyn@noreply.codeberg.org>
2025-09-01 14:05:10 +02:00
..
code-forgejo-org/full_download fix(migrations): transfer PR flow information (#7421) 2025-04-03 06:47:37 +00:00
gitea/full_download feat: implement migration of website field from gogs/gitea/github (#6474) 2025-01-20 12:18:19 +00:00
github/full_download Fix migration failing when importing either issues or PRs but not the other (#8892) 2025-09-01 14:05:10 +02:00
gitlab migrate scoped gitlab labels as scoped forgejo labels 2024-09-08 09:13:02 +00:00
pagure/full_download fix: generate response via mock server 2025-08-26 21:47:09 +02:00