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 Remove action runners on user deletion (#27902) (#27908) 2023-11-05 13:20:00 +00:00
dbversion.go
doctor.go Improve doctor cli behavior (#28422) (#28424) 2023-12-11 16:28:27 +00:00
fix8312.go
fix16961.go
fix16961_test.go
heads.go
lfs.go
mergebase.go
misc.go
paths.go
repository.go Initalize stroage for orphaned repository doctor (#28487) (#28490) 2023-12-16 22:06:37 +08:00
storage.go
usertype.go