gitea/modules/doctor
Giteabot 8ee1ed877b
Initalize stroage for orphaned repository doctor () ()
Backport  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>
..
authorizedkeys.go Another round of `db.DefaultContext` refactor () ()
breaking.go Implement FSFE REUSE for golang files ()
checkOldArchives.go Implement FSFE REUSE for golang files ()
dbconsistency.go Remove action runners on user deletion () ()
dbversion.go Support disabling database auto migration ()
doctor.go Improve doctor cli behavior () ()
fix8312.go Reduce usage of `db.DefaultContext` ()
fix16961.go Less naked returns ()
fix16961_test.go Implement FSFE REUSE for golang files ()
heads.go Implement FSFE REUSE for golang files ()
lfs.go Simplify the LFS GC logger usage ()
mergebase.go Implement FSFE REUSE for golang files ()
misc.go Upgrade go dependencies ()
paths.go Refactor path & config system ()
repository.go Initalize stroage for orphaned repository doctor () ()
storage.go Check LFS/Packages settings in dump and doctor command ()
usertype.go Reduce usage of `db.DefaultContext` ()