mirror of
1
Fork 0
forgejo/modules/doctor
Giteabot 1ec622db24
Improve doctor cli behavior (#28422) (#28424)
Backport #28422 by wxiaoguang

1. Do not sort the "checks" slice again and again when "Register", it
just wastes CPU when the Gitea instance runs
2. If a check doesn't exist, tell the end user
3. Add some tests

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-12-11 16:28:27 +00:00
..
authorizedkeys.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
breaking.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
checkOldArchives.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
dbconsistency.go Remove action runners on user deletion (#27902) (#27908) 2023-11-05 13:20:00 +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) (#28424) 2023-12-11 16:28:27 +00:00
fix8312.go Reduce usage of `db.DefaultContext` (#27073) 2023-09-14 17:09:32 +00:00
fix16961.go Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
fix16961_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
heads.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
lfs.go Simplify the LFS GC logger usage (#25717) 2023-07-06 16:52:41 +00:00
mergebase.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
misc.go Upgrade go dependencies (#25819) 2023-07-14 11:00:31 +08:00
paths.go Refactor path & config system (#25330) 2023-06-21 13:50:26 +08:00
repository.go Fix delete-orphaned-repos (#28200) (#28202) 2023-11-24 14:54:14 -05: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