1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-01 14:56:30 +00:00
gitea/cmd
Giteabot 1ec622db24
Improve doctor cli behavior () ()
Backport  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
..
actions.go Refactor to use urfave/cli/v2 () 2023-07-21 17:28:19 +08:00
admin_auth_ldap_test.go Refactor to use urfave/cli/v2 () 2023-07-21 17:28:19 +08:00
admin_auth_ldap.go Refactor to use urfave/cli/v2 () 2023-07-21 17:28:19 +08:00
admin_user_change_password.go Refactor to use urfave/cli/v2 () 2023-07-21 17:28:19 +08:00
admin_user_create.go More refactoring of db.DefaultContext () 2023-09-15 06:13:19 +00:00
admin_user_delete.go Refactor to use urfave/cli/v2 () 2023-07-21 17:28:19 +08:00
admin_user_generate_access_token.go More refactoring of db.DefaultContext () 2023-09-15 06:13:19 +00:00
admin_user_list.go Reduce usage of db.DefaultContext () 2023-09-14 17:09:32 +00:00
admin_user_must_change_password.go Refactor to use urfave/cli/v2 () 2023-07-21 17:28:19 +08:00
admin_user.go Refactor to use urfave/cli/v2 () 2023-07-21 17:28:19 +08:00
admin.go Another round of db.DefaultContext refactor () () 2023-09-25 19:24:35 +02:00
cert.go Expanded minimum RSA Keylength to 3072 () 2023-08-28 00:53:16 +00:00
cmd.go Refactor to use urfave/cli/v2 () 2023-07-21 17:28:19 +08:00
docs.go Refactor to use urfave/cli/v2 () 2023-07-21 17:28:19 +08:00
doctor_convert.go Improve "gitea doctor" sub-command and fix "help" commands () 2023-07-25 14:38:27 +00:00
doctor_test.go Improve doctor cli behavior () () 2023-12-11 16:28:27 +00:00
doctor.go Improve doctor cli behavior () () 2023-12-11 16:28:27 +00:00
dump_repo.go Refactor to use urfave/cli/v2 () 2023-07-21 17:28:19 +08:00
dump.go fixed duplicate attachments on dump on windows () () 2023-11-14 09:56:21 +08:00
embedded.go Refactor to use urfave/cli/v2 () 2023-07-21 17:28:19 +08:00
generate.go Handle base64 decoding correctly to avoid panic () 2023-08-14 10:30:16 +00:00
hook_test.go Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" () 2023-03-29 14:32:26 +08:00
hook.go Refactor to use urfave/cli/v2 () 2023-07-21 17:28:19 +08:00
keys.go Refactor to use urfave/cli/v2 () 2023-07-21 17:28:19 +08:00
mailer.go Refactor to use urfave/cli/v2 () 2023-07-21 17:28:19 +08:00
main_test.go Fix incorrect CLI exit code and duplicate error message () 2023-08-05 23:36:45 +08:00
main.go Fix incorrect CLI exit code and duplicate error message () 2023-08-05 23:36:45 +08:00
manager_logging.go Add missing default value for some Bool cli flags () 2023-07-24 06:49:18 +00:00
manager.go Refactor to use urfave/cli/v2 () 2023-07-21 17:28:19 +08:00
migrate_storage_test.go Another round of db.DefaultContext refactor () () 2023-09-25 19:24:35 +02:00
migrate_storage.go fix: typo () 2023-09-11 09:30:18 +00:00
migrate.go Refactor to use urfave/cli/v2 () 2023-07-21 17:28:19 +08:00
restore_repo.go Refactor to use urfave/cli/v2 () 2023-07-21 17:28:19 +08:00
serv.go Refactor to use urfave/cli/v2 () 2023-07-21 17:28:19 +08:00
web_acme.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
web_graceful.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
web_https.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
web.go Refactor tests () 2023-08-12 16:30:16 +00:00