Skip to content

For mirror, set a parameter to keep last n releases of a project #995

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
M5oul opened this issue Feb 21, 2017 · 2 comments
Closed

For mirror, set a parameter to keep last n releases of a project #995

M5oul opened this issue Feb 21, 2017 · 2 comments
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active.

Comments

@M5oul
Copy link

M5oul commented Feb 21, 2017

  • Gogs version: v0.9.141
  • I am not using Gitea for now, but I consider to use it later, so I opened the ticket on both bugtrackers.

Description

I am mirroring a GitHub repository which contains many releases.
All this releases are heavy, around 1Gb.
As, I am using Gogs package for YunoHost which could backup the app.

I prefer not to backup all releases which make the backup and restore processes complicated.

I suggest to set a parameter to keep only n last releases of the project.

This could also bypass the problem releases pages which do not load.

@lunny
Copy link
Member

lunny commented Feb 21, 2017

You could delete the release yourself?

@lunny lunny added this to the 1.x.x milestone Feb 21, 2017
@lunny lunny added the type/feature Completely new functionality. Can only be merged if feature freeze is not active. label Feb 21, 2017
@lafriks
Copy link
Member

lafriks commented Nov 1, 2017

Git cannot mirror repo only partially. Release files are not mirrored and tag count does not take much space as they are just pointer to commit. Now that the release page loading has been fixed I'm closing this issue. Please reopen if needed.

@lafriks lafriks closed this as completed Nov 1, 2017
@lafriks lafriks removed this from the 1.x.x milestone Nov 1, 2017
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active.
Projects
None yet
Development

No branches or pull requests

3 participants