#416 Cannot remove asset file from release

Open
opened 4 weeks ago by kollo · 5 comments
kollo commented 4 weeks ago

I am not sure if this is a bug, missing feature or if I simply cannot find the button. I want to remove a file from a release. How can I do that (without deleting the whole release and recreate it)?

I am not sure if this is a bug, missing feature or if I simply cannot find the button. I want to remove a file from a release. How can I do that (without deleting the whole release and recreate it)?
fnetX commented 4 weeks ago
Collaborator

Yeah, looks like you cannot remove files, but add new one. Not sure if it's really a bug, but it would be an improvement if this was possible.

Also noticed that uploading an empty file (0B) shows up as 1KB while files under 1KB are shown with their correct size in bytes ... interesting.
Update: Even better, uploading a 0B file actually creates a 1KB junk file filled with many zeroes ... 🤔 https://try.gitea.io/fnetx/testing-gitea-releases/releases/tag/r2

Update 2: The original is issue already reported upstream: https://github.com/go-gitea/gitea/issues/12963 (and PR is active, but WIP: https://github.com/go-gitea/gitea/pull/14130)

Yeah, looks like you cannot remove files, but add new one. Not sure if it's really a bug, but it would be an improvement if this was possible. Also noticed that uploading an empty file (0B) shows up as 1KB while files under 1KB are shown with their correct size in bytes ... interesting. Update: Even better, uploading a 0B file actually *creates* a 1KB junk file filled with many zeroes ... 🤔 https://try.gitea.io/fnetx/testing-gitea-releases/releases/tag/r2 Update 2: The original is issue already reported upstream: https://github.com/go-gitea/gitea/issues/12963 (and PR is active, but WIP: https://github.com/go-gitea/gitea/pull/14130)
fnetX added the
gitea-related
label 4 weeks ago
fnetX added the
upstream
label 4 weeks ago
kollo commented 4 weeks ago
Poster

Well, one cannot even overwrite existing files. If you upload another file with the same name, this filenname shows up twice in the list.

Well, one cannot even overwrite existing files. If you upload another file with the same name, this filenname shows up twice in the list.
hw added the
enhancement
label 4 weeks ago
hw commented 4 weeks ago
Owner

Marking as enhancement, as it is possible to delete the complete release and re-create it?

Marking as enhancement, as it is possible to delete the complete release and re-create it?
hw commented 4 weeks ago
Owner

(planned for gitea-1.15)

(planned for gitea-1.15)
6543 commented 4 weeks ago
Collaborator

Heh, to delete is posible via API, witch mean only UI has to be made ...

And if I would understand JS better I would have already dine the replace if asset with same name exist

Heh, to delete is posible via API, witch mean only UI has to be made ... And if I would understand JS better I would have already dine the replace if asset with same name exist
Sign in to join this conversation.
Loading…
There is no content yet.