gitea/cmd
h7x4 7a474d1c95
Don't store repo archives on `gitea dump` (#35467)
When running `gitea dump`, don't store the contents of
`data/repo-archive` in the output.

These archives can easily be regenerated from the repository data, and
does not need to be backed up.

Fixes #35450

---

<s>Added a `--skip-repo-archive` flag to the `gitea dump` command.

Enabling this flag will exclude the contents of `data/repo-archive` from
the dump. The implementation is similar to the other `--skip-*` flags
that excludes directories from `data`.</s>

Signed-off-by: h7x4 <h7x4@nani.wtf>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2025-09-12 16:11:24 +02:00
..
actions.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin.go Fix context usages (#35348) 2025-08-27 11:00:01 +00:00
admin_auth.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin_auth_ldap.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin_auth_ldap_test.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin_auth_oauth.go Refactor OpenIDConnect to support SSH/FullName sync (#34978) 2025-07-10 18:35:59 +00:00
admin_auth_oauth_test.go Refactor OpenIDConnect to support SSH/FullName sync (#34978) 2025-07-10 18:35:59 +00:00
admin_auth_smtp.go Fix incorrect cli default values and default command (#34765) 2025-06-18 23:25:11 +08:00
admin_auth_smtp_test.go Fix incorrect cli default values and default command (#34765) 2025-06-18 23:25:11 +08:00
admin_regenerate.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin_user.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin_user_change_password.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin_user_change_password_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
admin_user_create.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin_user_create_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
admin_user_delete.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin_user_delete_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
admin_user_generate_access_token.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin_user_list.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin_user_must_change_password.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin_user_must_change_password_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
cert.go Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +00:00
cert_test.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
cmd.go Fix incorrect cli default values and default command (#34765) 2025-06-18 23:25:11 +08:00
cmd_test.go Fix incorrect cli default values and default command (#34765) 2025-06-18 23:25:11 +08:00
docs.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
doctor.go Fix context usages (#35348) 2025-08-27 11:00:01 +00:00
doctor_convert.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
doctor_test.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
dump.go Don't store repo archives on `gitea dump` (#35467) 2025-09-12 16:11:24 +02:00
dump_repo.go Fix context usages (#35348) 2025-08-27 11:00:01 +00:00
embedded.go enforce explanation for necessary nolints and fix bugs (#34883) 2025-06-27 21:48:03 +08:00
generate.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
hook.go Improve CLI commands (#34973) 2025-07-10 19:36:55 +08:00
hook_test.go Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
keys.go Improve CLI commands (#34973) 2025-07-10 19:36:55 +08:00
mailer.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
main.go Improve CLI commands (#34973) 2025-07-10 19:36:55 +08:00
main_test.go Improve CLI commands (#34973) 2025-07-10 19:36:55 +08:00
manager.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
manager_logging.go Fix incorrect cli default values and default command (#34765) 2025-06-18 23:25:11 +08:00
migrate.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
migrate_storage.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
migrate_storage_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
restore_repo.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
serv.go check user and repo for redirects when using git via SSH transport (#35416) 2025-09-09 20:13:41 +00:00
web.go Fix context usages (#35348) 2025-08-27 11:00:01 +00:00
web_acme.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
web_graceful.go Refactor some tests (#34580) 2025-06-03 01:26:19 +00:00
web_https.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00