forgejo/modules/migration
zeripath 3aba72c613
Add more checks in migration code (#21011) (#21050)
Backport #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>
2022-09-04 08:41:21 -05:00
..
file_format_testdata
schemas
comment.go
downloader.go
error.go
file_format.go
file_format_test.go
issue.go
label.go
messenger.go
milestone.go
null_downloader.go Fix dump-repo git init, fix wrong error type for NullDownloader (#20182) (#20186) 2022-07-01 18:01:05 +02:00
options.go
pullrequest.go Add more checks in migration code (#21011) (#21050) 2022-09-04 08:41:21 -05:00
reaction.go
release.go Add more checks in migration code (#21011) (#21050) 2022-09-04 08:41:21 -05:00
repo.go Add more checks in migration code (#21011) (#21050) 2022-09-04 08:41:21 -05:00
retry_downloader.go
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
schemas_dynamic.go
schemas_static.go
uploader.go