1
1
mirror of https://github.com/go-gitea/gitea synced 2024-09-27 14:54:05 +00:00
gitea/cmd
zeripath ca55e49cc0
Retry rename on lock induced failures (#16435) (#16439)
Backport #16435

Due to external locking on Windows it is possible for an
os.Rename to fail if the files or directories are being
used elsewhere.

This PR simply suggests retrying the rename again similar
to how we handle the os.Remove problems.

Fix #16427

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-07-15 22:57:51 +03:00
..
admin_auth_ldap_test.go Add restricted user filter to LDAP authentication (#10600) 2020-03-05 08:30:33 +02:00
admin_auth_ldap.go Add restricted user filter to LDAP authentication (#10600) 2020-03-05 08:30:33 +02:00
admin.go Fix missing storage init (#15589) (#15598) 2021-04-23 20:56:21 +08:00
cert.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
cmd.go Sendmail command (#13079) 2020-10-24 16:38:14 -04:00
convert.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
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_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
dump.go dump: Add option to skip LFS/attachment files (#15407) (#15492) 2021-04-15 18:41:47 +03:00
embedded_stub.go Implement "embedded" command to extract static resources (#9982) 2020-02-02 10:17:44 +08:00
embedded.go Retry rename on lock induced failures (#16435) (#16439) 2021-07-15 22:57:51 +03: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_storage.go Avatars and Repo avatars support storing in minio (#12516) 2020-10-14 21:07:51 +08:00
migrate.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
restore_repo.go Move restore repo to internal router and invoke from command to avoid open the same db file or queues files (#15790) (#15816) 2021-05-10 21:14:59 +08:00
serv.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
web_graceful.go Move FCGI req.URL.Path fix-up to the FCGI listener (#15292) (#15361) 2021-04-09 17:45:02 +01:00
web_letsencrypt.go Fix bound address/port for caddy's certmagic library (see #15848) (#15859) (#15878) 2021-05-15 18:28:14 +01:00
web.go Fix error message when saving generated LOCAL_ROOT_URL config (#15880) (#15882) 2021-05-15 15:06:39 +01:00