diff options
author | Giteabot <teabot@gitea.io> | 2023-12-21 15:38:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-21 15:38:39 +0800 |
commit | 8ca32dc8733c0dad147cc7f734097dbe1113e9a9 (patch) | |
tree | d4b6d02fa596baddce9678c72325f76d23070dcf /web_src | |
parent | 47f9b3f48474ba6577642cd15fe07928dd90aaa7 (diff) | |
download | gitea-8ca32dc8733c0dad147cc7f734097dbe1113e9a9.tar.gz gitea-8ca32dc8733c0dad147cc7f734097dbe1113e9a9.zip |
Fix merging artifact chunks error when minio storage basepath is set (#28555) (#28568)
Backport #28555 by @fuxiaohei
Related to https://github.com/go-gitea/gitea/issues/28279
When merging artifact chunks, it lists chunks from storage. When storage
is minio, chunk's path contains `MINIO_BASE_PATH` that makes merging
break.
<del>So trim the `MINIO_BASE_PATH` when handle chunks.</del>
Update the chunk file's basename to retain necessary information. It
ensures that the directory in the chunk's path remains unaffected.
Co-authored-by: FuXiaoHei <fuxiaohei@vip.qq.com>
Diffstat (limited to 'web_src')
0 files changed, 0 insertions, 0 deletions