1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-01 13:21:30 +02:00
gitea/models
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
..
activities Add more checks in migration code (#21011) 2022-09-04 13:47:56 +03:00
admin
appstate
asymkey
auth
avatars
db
fixtures
foreignreference
git
issues
migrations
organization
packages
perm
project
pull
repo
unit
unittest
user
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate_test.go
migrate.go
org_team_test.go
org_team.go
org_test.go
org.go
repo_collaboration_test.go
repo_collaboration.go
repo_test.go
repo_transfer_test.go
repo_transfer.go
repo.go
user.go