0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-13 18:39:56 +01:00
gitea/routers/api/actions
FuXiaoHei fe5a616392
Fix merging artifact chunks error when minio storage basepath is set (#28555)
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.
2023-12-21 07:04:50 +00:00
..
ping
runner Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
actions.go Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
artifacts_chunks.go Fix merging artifact chunks error when minio storage basepath is set (#28555) 2023-12-21 07:04:50 +00:00
artifacts_utils.go Fix/upload artifact error windows (#27802) 2023-10-30 10:40:05 +00:00
artifacts.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00