forgejo/modules/migration
oliverpool a0d6970442 fix: prevent panic on gitlab import (releases/issues) (#11282)
It is unfortunately all mixed up, because refreshing the data, means breaking the tests. And changing the code means needing fresh data.

- tests: ignore some more headers and sort the rest when dumping http responses
- code: fixed #10234 by requesting the latest issues first.
- tests: created a new repo to replace the disappeared repo, needed for the skip-numbers test
- refreshed the testdata.
- follow-up fixes to get the tests green.
- including a cherry-pick of https://github.com/go-gitea/gitea/pull/36295 and #11272

Co-authored-by: Joakim Olsson <joakim@unbound.se>
Co-authored-by: Robert Wolff <mahlzahn@posteo.de>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11282
Reviewed-by: Robert Wolff <mahlzahn@posteo.de>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: patdyn <patdyn@noreply.codeberg.org>
Co-authored-by: oliverpool <git@olivier.pfad.fr>
Co-committed-by: oliverpool <git@olivier.pfad.fr>
2026-03-03 21:36:14 +01:00
..
file_format_testdata Validate migration files (#18203) 2022-01-26 10:45:51 +01:00
schemas Validate migration files (#18203) 2022-01-26 10:45:51 +01:00
comment.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
downloader.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
error.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
file_format.go chore: replace gopkg.in/yaml.v3 with go.yaml.in/yaml/v3 (#8956) 2025-08-20 15:31:12 +02:00
file_format_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
issue.go Fix restore repo bug, clarify the problem of ForeignIndex (#22776) 2023-02-07 09:18:52 +08:00
label.go Scoped labels (#22585) 2023-02-18 21:17:39 +02:00
messenger.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
milestone.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
null_downloader.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
options.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
pullrequest.go fix(migrations): transfer PR flow information (#7421) 2025-04-03 06:47:37 +00:00
reaction.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
release.go fix: prevent panic on gitlab import (releases/issues) (#11282) 2026-03-03 21:36:14 +01:00
repo.go feat: implement migration of website field from gogs/gitea/github (#6474) 2025-01-20 12:18:19 +00:00
retry_downloader.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
review.go Fix restore repo bug, clarify the problem of ForeignIndex (#22776) 2023-02-07 09:18:52 +08:00
schemas_bindata.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
schemas_dynamic.go [CHORE] Update jsonschema library to v6 2024-07-15 17:20:50 +02:00
schemas_static.go [CHORE] Update jsonschema library to v6 2024-07-15 17:20:50 +02:00
uploader.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00