Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-27 04:06:10 +01:00
forgejo/routers/api/actions
FuXiaoHei d11597a615
Fix uploaded artifacts should be overwritten (#28726) backport v1.21 (#28832)
Backport https://github.com/go-gitea/gitea/pull/28726 by @fuxiaohei

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.

(cherry picked from commit 7f0ce2dfc7)
2024-01-31 14:18:25 +01:00
..
ping Implement actions (#21937) 2023-01-31 09:45:19 +08:00
runner Redefine the meaning of column is_active to make Actions Registration Token generation easier (#27143) (#27304) 2023-09-28 04:15:53 +00:00
actions.go Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
artifacts.go Fix uploaded artifacts should be overwritten (#28726) backport v1.21 (#28832) 2024-01-31 14:18:25 +01:00
artifacts_chunks.go Fix uploaded artifacts should be overwritten (#28726) backport v1.21 (#28832) 2024-01-31 14:18:25 +01:00
artifacts_utils.go Fix/upload artifact error windows (#27802) (#27840) 2023-10-30 11:57:48 +00:00