summaryrefslogtreecommitdiffstats
path: root/tests/integration/api_repo_file_create_test.go
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@vip.qq.com>2024-01-17 11:21:16 +0800
committerGitHub <noreply@github.com>2024-01-17 11:21:16 +0800
commitad98ea63ee62c3b9f994bfa6b1ecc8dde617f71f (patch)
tree421989b3ebfb1a1e1f2e5d18ecfd12331770bd58 /tests/integration/api_repo_file_create_test.go
parent49eb16867728913d1eb2ced96e0b0b0a358f6ebe (diff)
downloadgitea-ad98ea63ee62c3b9f994bfa6b1ecc8dde617f71f.tar.gz
gitea-ad98ea63ee62c3b9f994bfa6b1ecc8dde617f71f.zip
Fix uploaded artifacts should be overwritten (#28726)
Fix `Uploaded artifacts should be overwritten` https://github.com/go-gitea/gitea/issues/28549 When upload different content to uploaded artifact, it checks that content size is not match in db record with previous artifact size, then the new artifact is refused. Now if it finds uploading content size is not matching db record when receiving chunks, it updates db records to follow the latest size value.
Diffstat (limited to 'tests/integration/api_repo_file_create_test.go')
0 files changed, 0 insertions, 0 deletions