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/routers
KN4CK3R a1ae83f36e
Workaround for container registry push/pull errors (#21862)
This PR addresses #19586

I added a mutex to the upload version creation which will prevent the
push errors when two requests try to create these database entries. I'm
not sure if this should be the final solution for this problem.

I added a workaround to allow a reupload of missing blobs. Normally a
reupload is skipped because the database knows the blob is already
present. The workaround checks if the blob exists on the file system.
This should not be needed anymore with the above fix so I marked this
code to be removed with Gitea v1.20.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2 years ago
..
api Workaround for container registry push/pull errors (#21862) 2 years ago
common Add support for HEAD requests in Maven registry (#21834) 2 years ago
install Fix token generation when using INTERNAL_TOKEN_URI (#21669) 2 years ago
private Add `context.Context` to more methods (#21546) 2 years ago
utils refactor webhook *NewPost (#20729) 3 years ago
web Add support for HEAD requests in Maven registry (#21834) 2 years ago
init.go Add some documentation to packages (#21648) 2 years ago