0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 06:44:35 +01:00
gitea/modules/doctor
Giteabot 8ee1ed877b
Initalize stroage for orphaned repository doctor (#28487) (#28490)
Backport #28487 by @earl-warren

- When a repository is orphaned and has objects stored in any of the
storages such as repository avatar or attachments the delete function
would error, because the storage module wasn't initalized.
- Add code to initialize the storage module.

Refs: https://codeberg.org/forgejo/forgejo/pulls/1954

Co-authored-by: Earl Warren <109468362+earl-warren@users.noreply.github.com>
Co-authored-by: Gusted <postmaster@gusted.xyz>
2023-12-16 22:06:37 +08:00
..
authorizedkeys.go
breaking.go
checkOldArchives.go
dbconsistency.go
dbversion.go
doctor.go
fix8312.go
fix16961.go
fix16961_test.go
heads.go
lfs.go
mergebase.go
misc.go
paths.go
repository.go
storage.go
usertype.go