Skip to content

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

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 · 5 comments
Closed

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

M5oul opened this issue Feb 21, 2017 · 5 comments
Labels
status: needs feedback Tell me more about it

Comments

@M5oul
Copy link
Contributor

M5oul commented Feb 21, 2017

  • Gogs version: v0.9.141

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.

@unknwon
Copy link
Member

unknwon commented Feb 21, 2017

Hi,

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

I don't understand why the word bypass is used here..?

@unknwon
Copy link
Member

unknwon commented Feb 21, 2017

I think Git only has ability to mirror without tags completely, --no-tags.

@Fastidious
Copy link
Contributor

Que quieres decir, @M5oul? You mean, "this could also solve the problem" reported on gitea?

@M5oul
Copy link
Contributor Author

M5oul commented Feb 23, 2017

I don't know if the release page still have issues.
But, It used to takes many times to load that page and sometimes didn't load.
Adding the possibility to reduced the number of saved releases could enhance that part.

@unknwon
Copy link
Member

unknwon commented Feb 23, 2017

Thanks for the response, but I don't think you have direct response to my previous comment:

I think Git only has ability to mirror without tags completely, --no-tags.

@unknwon unknwon closed this as completed Feb 25, 2017
Martchus pushed a commit to Martchus/gogs that referenced this issue Aug 27, 2018
Edit example of `./gitea dump` to include -c option to pass app.ini

Signed-off-by: Jesse Lucas <[email protected]>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: needs feedback Tell me more about it
Projects
None yet
Development

No branches or pull requests

3 participants