gitea/modules/migration
zeripath e6b3be4608
Add more checks in migration code ()
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>
..
file_format_testdata Validate migration files ()
schemas Validate migration files ()
comment.go Store the foreign ID of issues during migration ()
downloader.go Store the foreign ID of issues during migration ()
error.go Move migrations into services and base into modules/migration ()
file_format.go Validate migration files ()
file_format_test.go Validate migration files ()
issue.go Add more linters to improve code readability ()
label.go Validate migration files ()
messenger.go Move migrations into services and base into modules/migration ()
milestone.go Validate migration files ()
null_downloader.go Fix `dump-repo` git init, fix wrong error type for NullDownloader ()
options.go Move migrations into services and base into modules/migration ()
pullrequest.go Add more checks in migration code ()
reaction.go add test coverage for original author conversion during migrations ()
release.go Add more checks in migration code ()
repo.go Add more checks in migration code ()
retry_downloader.go Store the foreign ID of issues during migration ()
review.go Prevent NPE whilst migrating if there is a team request review ()
schemas_bindata.go Remove legacy `+build:` constraint ()
schemas_dynamic.go Remove legacy `+build:` constraint ()
schemas_static.go Remove legacy `+build:` constraint ()
uploader.go Move migrations into services and base into modules/migration ()