I like to mirror release assets for some repositories. It would be nice if we had the ability to mirror release assets of only some repositories and not all of them. It should be manageable per repo what gets mirrored, not only globally.
Also, since many repos have accumulated hundreds of releases with hundreds of gigabytes of release assets that are many many years old, it doesn't make sense to mirror all of the old release assets in a home environment. It would be nice to be able to mirror only the latest n amount of release assets. If a repo has 100 releases, I'd like to mirror all releases and tags but only the release assets of the latest 5 releases for example. Something like this would be the ideal for me.
Appreciate your work!
I like to mirror release assets for some repositories. It would be nice if we had the ability to mirror release assets of only some repositories and not all of them. It should be manageable per repo what gets mirrored, not only globally.
Also, since many repos have accumulated hundreds of releases with hundreds of gigabytes of release assets that are many many years old, it doesn't make sense to mirror all of the old release assets in a home environment. It would be nice to be able to mirror only the latest n amount of release assets. If a repo has 100 releases, I'd like to mirror all releases and tags but only the release assets of the latest 5 releases for example. Something like this would be the ideal for me.
Appreciate your work!
<!-- github-sync-id:4581201046 -->
@Scaling6857 Not supported yet. Right now release mirroring is a single global toggle and assets always come along with it. The two things you're after are a "latest N releases get assets" limit and per-repo control. The global limit is the easier piece and a sensible first step; the per-repo override is more work. One heads-up: the existing releaseLimit setting won't get you there, since it actually deletes older releases from Gitea rather than just skipping their assets. I've put this on the backlog.
@Scaling6857 Not supported yet. Right now release mirroring is a single global toggle and assets always come along with it. The two things you're after are a "latest N releases get assets" limit and per-repo control. The global limit is the easier piece and a sensible first step; the per-repo override is more work. One heads-up: the existing `releaseLimit` setting won't get you there, since it actually deletes older releases from Gitea rather than just skipping their assets. I've put this on the backlog.
<!-- github-comment-id:4700711703 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I like to mirror release assets for some repositories. It would be nice if we had the ability to mirror release assets of only some repositories and not all of them. It should be manageable per repo what gets mirrored, not only globally.
Also, since many repos have accumulated hundreds of releases with hundreds of gigabytes of release assets that are many many years old, it doesn't make sense to mirror all of the old release assets in a home environment. It would be nice to be able to mirror only the latest n amount of release assets. If a repo has 100 releases, I'd like to mirror all releases and tags but only the release assets of the latest 5 releases for example. Something like this would be the ideal for me.
Appreciate your work!
@Scaling6857 Not supported yet. Right now release mirroring is a single global toggle and assets always come along with it. The two things you're after are a "latest N releases get assets" limit and per-repo control. The global limit is the easier piece and a sensible first step; the per-repo override is more work. One heads-up: the existing
releaseLimitsetting won't get you there, since it actually deletes older releases from Gitea rather than just skipping their assets. I've put this on the backlog.