Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add test coverage for original author conversion during migrations (#18506) | singuliere | 2022-02-01 | 1 | -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 Manivannan | 2022-01-26 | 1 | -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 Xiao | 2021-11-16 | 1 | -0/+12 |
* Move migrtions into services and base into modules/migration * Fix imports * Fix lint |