forgejo/cmd
Gusted d4a4b4b4e3 Add unit tests for update git hook
- Add unit tests.
- Handle the 'impossible' case of not enough arguments.
- Ref: https://codeberg.org/forgejo/forgejo/pulls/2834

(cherry picked from commit dad799fa46)
2024-04-06 17:39:03 +00:00
..
forgejo [REFACTOR] cli: prepareWorkPathAndCustomConf is not just for actions 2024-02-25 09:54:25 +01:00
actions.go
admin.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
admin_auth.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
admin_auth_ldap.go
admin_auth_ldap_test.go
admin_auth_oauth.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
admin_auth_stmp.go
admin_regenerate.go Revert "[BUG] Initalize Git for hook regeneration" 2024-02-26 22:30:25 +01:00
admin_user.go
admin_user_change_password.go
admin_user_create.go Fix must-change-password help dialog 2024-03-17 12:08:27 +01:00
admin_user_delete.go
admin_user_generate_access_token.go
admin_user_list.go
admin_user_must_change_password.go
cert.go
cmd.go
docs.go
doctor.go
doctor_convert.go
doctor_test.go Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
dump.go [BUG] Allow to exclude files in dump 2024-03-29 13:25:11 +01:00
dump_repo.go
dump_test.go [BUG] Allow to exclude files in dump 2024-03-29 13:25:11 +01:00
embedded.go Refactor to use urfave/cli/v2 (#25959) 2023-07-21 17:28:19 +08:00
generate.go
hook.go Add unit tests for update git hook 2024-04-06 17:39:03 +00:00
hook_test.go Add unit tests for update git hook 2024-04-06 17:39:03 +00:00
keys.go Refactor cmd setup and remove deadcode (#29313) 2024-02-26 22:30:25 +01:00
mailer.go
main.go
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
manager.go
manager_logging.go
migrate.go
migrate_storage.go
migrate_storage_test.go
restore_repo.go Refactor to use urfave/cli/v2 (#25959) 2023-07-21 17:28:19 +08:00
serv.go [REFACTOR] PKT protocol 2024-03-29 00:53:04 +01:00
web.go
web_acme.go
web_graceful.go
web_https.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00