0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-10 16:40:22 -05:00
forgejo/cmd
Earl Warren 43cd6e34e0 tests(cmd): add coverage for migrateActionsArtifacts
Also convert a comment into a warning in the logs when the deletion of
an artifact cannot find the file in the destination storage.

The case were an error happens while deleting the file is not covered
as it would require to mock the storage.Copy function.

(cherry picked from commit e759794408)
2024-06-09 14:55:01 +00:00
..
forgejo
actions.go
admin.go
admin_auth.go
admin_auth_ldap.go
admin_auth_ldap_test.go
admin_auth_oauth.go
admin_auth_stmp.go
admin_regenerate.go
admin_user.go
admin_user_change_password.go Improve "must-change-password" logic and document (#30472) 2024-04-21 17:44:11 +02:00
admin_user_create.go fix(cli): admin user create first user never require a password change 2024-04-24 22:26:37 +00: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
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
generate.go
hook.go Merge pull request '[gitea] week 2024-20-v7.0 cherry pick (release/v1.22 -> v7.0/forgejo)' (#3772) from earl-warren/wcp/2024-20-v7.0 into v7.0/forgejo 2024-05-16 15:36:08 +00:00
hook_test.go Add unit tests for update git hook 2024-04-06 17:39:03 +00:00
keys.go
mailer.go
main.go
main_test.go
manager.go
manager_logging.go
migrate.go
migrate_storage.go tests(cmd): add coverage for migrateActionsArtifacts 2024-06-09 14:55:01 +00:00
migrate_storage_test.go tests(cmd): add coverage for migrateActionsArtifacts 2024-06-09 14:55:01 +00:00
restore_repo.go
serv.go [REFACTOR] PKT protocol 2024-03-29 00:53:04 +01:00
web.go Clean up log messages (#30313) 2024-04-15 16:11:14 +02:00
web_acme.go
web_graceful.go
web_https.go