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
schemas
comment.go Store the foreign ID of issues during migration ()
downloader.go Store the foreign ID of issues during migration ()
error.go
file_format.go
file_format_test.go
issue.go Add more linters to improve code readability ()
label.go
messenger.go
milestone.go
null_downloader.go Fix `dump-repo` git init, fix wrong error type for NullDownloader ()
options.go
pullrequest.go Add more checks in migration code ()
reaction.go
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