gitea/modules
zeripath 33a8eec33e
Retry rename on lock induced failures (#16435)
* Retry rename on lock induced failures

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>

* resolve CI fail

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-07-15 11:46:07 -04:00
..
analyze
auth
avatar
base
cache Add LRU mem cache implementation (#16226) 2021-07-10 23:54:15 +02:00
charset
context Redirect on bad CSRF instead of presenting bad page (#14937) 2021-07-08 15:57:24 +02:00
convert Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
cron Fix archive error when rename repo or user (#16399) 2021-07-13 14:16:31 +02:00
csv
doctor
emoji
eventsource
generate
git Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
gitgraph
graceful Support HTTP/2 in Let's Encrypt (#16371) 2021-07-13 18:17:46 +01:00
hcaptcha
highlight Replace ARCCache with TwoQueueCache to avoid patent issue (#16240) 2021-06-24 14:37:07 -04:00
httpcache
httplib Second attempt at preventing zombies (#16326) 2021-07-14 10:43:13 -04:00
indexer Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
lfs Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
log Retry rename on lock induced failures (#16435) 2021-07-15 11:46:07 -04:00
markup Fix external renderer (#16401) 2021-07-12 17:13:59 -04:00
matchlist
metrics
migrations Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
nosql
notification Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
options
password
pprof
private Second attempt at preventing zombies (#16326) 2021-07-14 10:43:13 -04:00
process
public
queue
recaptcha
references Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
repofiles Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
repository Fix archive error when rename repo or user (#16399) 2021-07-13 14:16:31 +02:00
secret Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
session
setting Add LRU mem cache implementation (#16226) 2021-07-10 23:54:15 +02:00
ssh Second attempt at preventing zombies (#16326) 2021-07-14 10:43:13 -04:00
storage Retry rename on lock induced failures (#16435) 2021-07-15 11:46:07 -04:00
structs Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
svg
sync
task Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
templates Add custom emoji support (#16004) 2021-06-29 16:28:38 +02:00
test
timeutil
translation
typesniffer Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
upload
uri
user
util Retry rename on lock induced failures (#16435) 2021-07-15 11:46:07 -04:00
validation Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
web Add tag protection (#15629) 2021-06-25 16:28:55 +02:00