0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-13 12:09:33 +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
schemas
comment.go
downloader.go
error.go
file_format_test.go
file_format.go
issue.go
label.go
messenger.go
milestone.go
null_downloader.go
options.go
pullrequest.go Add more checks in migration code (#21011) 2022-09-04 13:47:56 +03:00
reaction.go
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
review.go
schemas_bindata.go
schemas_dynamic.go
schemas_static.go
uploader.go