0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-19 18:30:27 +01:00
forgejo/routers
FuXiaoHei fe5a616392
Fix merging artifact chunks error when minio storage basepath is set ()
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
..
api Fix merging artifact chunks error when minio storage basepath is set () 2023-12-21 07:04:50 +00:00
common
install
private
utils
web
init.go