In my organisation we use a nexus repository to store the binary file produce from source code.
Creating a release's attachment by uploading this binary to gitea is redundant and double the disk usage.
It would be great to allow the use of an url instead of a file.
@scandinave i gues 1.13.6
is your Go version
for now you can insert links in the body
-> https://try.gitea.io/api/swagger#/repository/repoCreateRelease
do you mean [Feature] store/link attachments externaly
?
@6543 oups yeah, the version is 1.12.0
Actually it's what we do in the body.
And yeah you can call it [Feature] store/link attachments externaly
I update my issue.
We should probably only create the release archive on first download. That will speed up our pushing of tags too.
Or make it to a async task? (via go
or add a Queue)?
We should probably only create the release archive on first download. That will speed up our pushing of tags too.
This would be _really nice_ for repositories imported from CVS or similar; my repos have hundreds of tags that were never meant to be used as releases (more like checkpoints), or they were, but in most cases nobody cares about any release but the latest.
We could even delete old archives from time to time. 馃榿
@guillep2k that's exactly the use case I'm thinking of
Is this same as #9107?
kind of ... (from original issue perspective) #9107 is only for release ... gut i like the idear to add attachemnts via URL direcly to comments, issues, releases ... (most usecase is probably later via API)
Most helpful comment
We should probably only create the release archive on first download. That will speed up our pushing of tags too.