forgejo/modules/doctor
Earl Warren e02095c5b6
Add orphaned topic consistency check (#28507)
- If a topic has zero repository count, it means that none of the
repositories are using that topic, that would make them 'useless' to
keep. One caveat is that if that topic is going to be used in the
future, it will be added again to the database, but simply with a new
ID.

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

Co-authored-by: Gusted <postmaster@gusted.xyz>
2023-12-18 15:32:08 +00:00
..
authorizedkeys.go
breaking.go
checkOldArchives.go
dbconsistency.go Add orphaned topic consistency check (#28507) 2023-12-18 15:32:08 +00:00
dbversion.go
doctor.go Improve doctor cli behavior (#28422) 2023-12-11 15:55:10 +00:00
fix8312.go
fix16961.go
fix16961_test.go
heads.go
lfs.go
mergebase.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
misc.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
paths.go
repository.go Initalize stroage for orphaned repository doctor (#28487) 2023-12-16 12:17:39 +00:00
storage.go
usertype.go