forgejo/cmd
zeripath 3477e616ab
Exclude the current dump file from the dump (#14606)
* Exclude the current dump file from the dump

Always prevent the current file from being added to the dump.

Fix #13618

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add skip custom directory option

Signed-off-by: Andrew Thornton <art27@cantab.net>

* placate lint

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: 6543 <6543@obermui.de>
2021-02-08 09:00:12 +08:00
..
admin.go [Refactor] Passwort Hash/Set (#14282) 2021-01-10 20:05:18 +02:00
admin_auth_ldap.go Add restricted user filter to LDAP authentication (#10600) 2020-03-05 08:30:33 +02:00
admin_auth_ldap_test.go Add restricted user filter to LDAP authentication (#10600) 2020-03-05 08:30:33 +02:00
cert.go
cmd.go Sendmail command (#13079) 2020-10-24 16:38:14 -04:00
convert.go
docs.go Add docs command (#13429) 2020-11-07 08:32:57 +08:00
doctor.go Refactor doctor (#12264) 2020-12-02 06:56:04 +02:00
dump.go Exclude the current dump file from the dump (#14606) 2021-02-08 09:00:12 +08:00
dump_repo.go Dump github/gitlab/gitea repository data to a local directory and restore to gitea (#12244) 2020-12-27 11:34:19 +08:00
embedded.go Implement "embedded" command to extract static resources (#9982) 2020-02-02 10:17:44 +08:00
embedded_stub.go Implement "embedded" command to extract static resources (#9982) 2020-02-02 10:17:44 +08:00
generate.go TrimSpace when reading InternalToken from a file (#11502) 2020-05-20 19:16:06 +03:00
hook.go Move update-server-info to hooks (#12826) 2020-10-14 00:24:06 +08:00
keys.go Add debug option to serv to help debug problems (#9492) 2019-12-25 23:44:57 +08:00
mailer.go Fix send mail (#13312) 2020-10-26 12:42:27 -04:00
manager.go Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 2020-07-05 20:07:07 -04:00
migrate.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
migrate_storage.go Avatars and Repo avatars support storing in minio (#12516) 2020-10-14 21:07:51 +08:00
restore_repo.go Dump github/gitlab/gitea repository data to a local directory and restore to gitea (#12244) 2020-12-27 11:34:19 +08:00
serv.go Use IsProd instead of testing if it's equal. (#14336) 2021-01-14 23:17:03 +02:00
web.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
web_graceful.go Move install pages out of main macaron routes (#13195) 2020-10-19 17:03:08 -04:00
web_letsencrypt.go Use caddy's certmagic library for extensible/robust ACME handling (#14177) 2021-01-25 01:37:35 +02:00