1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/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 Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
breaking.go
checkOldArchives.go
dbconsistency.go Add orphaned topic consistency check (#28507) 2023-12-18 15:32:08 +00:00
dbversion.go Support disabling database auto migration (#22053) 2022-12-07 09:58:31 -06:00
doctor.go Improve doctor cli behavior (#28422) 2023-12-11 15:55:10 +00:00
fix8312.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
fix16961_test.go
fix16961.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
heads.go
lfs.go Simplify the LFS GC logger usage (#25717) 2023-07-06 16:52:41 +00:00
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 Refactor path & config system (#25330) 2023-06-21 13:50:26 +08:00
repository.go Initalize stroage for orphaned repository doctor (#28487) 2023-12-16 12:17:39 +00:00
storage.go Check LFS/Packages settings in dump and doctor command (#23631) 2023-03-23 20:30:28 +08:00
usertype.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00