summaryrefslogtreecommitdiffstats
path: root/modules/migration/reaction.go
Commit message (Collapse)AuthorAgeFilesLines
* add test coverage for original author conversion during migrations (#18506)singuliere2022-02-011-0/+6
| | | | | | | | | | | | | | | | | | * add test coverage for original author conversion during migrations And create a function to factorize a code snippet that is repeated five times and would otherwise be more difficult to test and maintain consistently. Signed-off-by: Loïc Dachary <loic@dachary.org> * fix variable scope and int64 formatting * add missing calls to remapExternalUser and fix misplaced %d Co-authored-by: Loïc Dachary <loic@dachary.org> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Validate migration files (#18203)Aravinth Manivannan2022-01-261-3/+3
| | | | | | | JSON Schema validation for data used by Gitea during migrations Discussion at https://forum.forgefriends.org/t/common-json-schema-for-repository-information/563 Co-authored-by: Loïc Dachary <loic@dachary.org>
* Move migrations into services and base into modules/migration (#17663)Lunny Xiao2021-11-161-0/+12
* Move migrtions into services and base into modules/migration * Fix imports * Fix lint