You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
admin.go Fix missing storage init (#15589) (#15598) 4 years ago
admin_auth_ldap.go Add restricted user filter to LDAP authentication (#10600) 5 years ago
admin_auth_ldap_test.go Add restricted user filter to LDAP authentication (#10600) 5 years ago
cert.go
cmd.go Sendmail command (#13079) 4 years ago
convert.go Move database settings from models to setting (#7806) 6 years ago
docs.go Add docs command (#13429) 4 years ago
doctor.go Refactor doctor (#12264) 4 years ago
dump.go dump: Add option to skip LFS/attachment files (#15407) (#15492) 4 years ago
dump_repo.go Dump github/gitlab/gitea repository data to a local directory and restore to gitea (#12244) 4 years ago
embedded.go Retry rename on lock induced failures (#16435) (#16439) 4 years ago
embedded_stub.go Implement "embedded" command to extract static resources (#9982) 5 years ago
generate.go TrimSpace when reading InternalToken from a file (#11502) 5 years ago
hook.go Move update-server-info to hooks (#12826) 4 years ago
keys.go Add debug option to serv to help debug problems (#9492) 5 years ago
mailer.go Fix send mail (#13312) 4 years ago
manager.go Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 5 years ago
migrate.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
migrate_storage.go Avatars and Repo avatars support storing in minio (#12516) 4 years ago
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) 4 years ago
serv.go Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
web.go Fix error message when saving generated LOCAL_ROOT_URL config (#15880) (#15882) 4 years ago
web_graceful.go Move FCGI req.URL.Path fix-up to the FCGI listener (#15292) (#15361) 4 years ago
web_letsencrypt.go Fix bound address/port for caddy's certmagic library (see #15848) (#15859) (#15878) 4 years ago