1
0
Fork 0
forgejo/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 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
error.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
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
label.go Validate migration files (#18203) 2022-01-26 10:45:51 +01:00
messenger.go
milestone.go
null_downloader.go
options.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
pullrequest.go
reaction.go
release.go
repo.go
retry_downloader.go
review.go
schemas_bindata.go
schemas_dynamic.go
schemas_static.go
uploader.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00