Skip to content

How to limit the size of repository? #30356

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
Gitttttttt opened this issue Apr 9, 2024 · 4 comments
Closed

How to limit the size of repository? #30356

Gitttttttt opened this issue Apr 9, 2024 · 4 comments
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@Gitttttttt
Copy link

Gitttttttt commented Apr 9, 2024

Feature Description

如何设置仓库的最大容量?我尝试在app.ini中添加以下配置,但似乎不起作用:

[repository]
ROOT = /data/git/repositories
MAX_REPOS_SIZE = 500

有全局的或者单个仓库的设置途径吗?感谢告知

Screenshots

No response

@Gitttttttt Gitttttttt added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Apr 9, 2024
@lunny
Copy link
Member

lunny commented Apr 9, 2024

Please speak in English.

@Gitttttttt
Copy link
Author

Gitttttttt commented Apr 9, 2024

Okay, I want to limit the size of repository, like 2GiB, does gitea support it ? If support, how can I do? @lunny

@Gitttttttt Gitttttttt changed the title 如何设置仓库的最大容量? How to limit the size of repository? Apr 9, 2024
@lunny
Copy link
Member

lunny commented Apr 9, 2024

It's not supported yet. There is a PR to fix this. #21820

@Gitttttttt
Copy link
Author

ok, thks

@go-gitea go-gitea locked as resolved and limited conversation to collaborators Jul 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

2 participants