0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-01 13:12:58 +01:00
gitea/modules/migration
zeripath e6b3be4608
Add more checks in migration code (#21011)
When migrating add several more important sanity checks:

* SHAs must be SHAs
* Refs must be valid Refs
* URLs must be reasonable

Signed-off-by: Andrew Thornton <art27@cantab.net>

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <matti@mdranta.net>
2022-09-04 13:47:56 +03: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 Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
downloader.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
error.go
file_format.go Validate migration files (#18203) 2022-01-26 10:45:51 +01:00
file_format_test.go Validate migration files (#18203) 2022-01-26 10:45:51 +01:00
issue.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
label.go Validate migration files (#18203) 2022-01-26 10:45:51 +01:00
messenger.go
milestone.go Validate migration files (#18203) 2022-01-26 10:45:51 +01:00
null_downloader.go Fix dump-repo git init, fix wrong error type for NullDownloader (#20182) 2022-07-01 07:48:25 +08:00
options.go
pullrequest.go Add more checks in migration code (#21011) 2022-09-04 13:47:56 +03:00
reaction.go add test coverage for original author conversion during migrations (#18506) 2022-02-01 13:20:28 -05:00
release.go Add more checks in migration code (#21011) 2022-09-04 13:47:56 +03:00
repo.go Add more checks in migration code (#21011) 2022-09-04 13:47:56 +03:00
retry_downloader.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
review.go Prevent NPE whilst migrating if there is a team request review (#19855) 2022-06-09 10:50:05 +08:00
schemas_bindata.go Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
schemas_dynamic.go Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
schemas_static.go Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
uploader.go