bastelflp
bastelflp

Reputation: 10096

GitLab project (repository) quota

I am running a GitLab Community Edition and would like to add a quota to the GitLab projects (repositories) to prevent users from creating large projects.

The quota should be in terms of max project size, e.g. 420 MB per project. Is this possible? If yes, how can I configure GitLab accordingly?

Upvotes: 5

Views: 2518

Answers (3)

AlmuHS
AlmuHS

Reputation: 347

If you can't pay for GitLab EE, you can use this strategy:

Upvotes: 1

VonC
VonC

Reputation: 1326994

That was suggested in the old feedback forum in 2014 ("limit size of the repositories of one user").
And again in the official GitLab issue for different context: "Ability to restrict file size / disk space for LFS" (Large File Storage)

This is not yet implemented (February 2016, GitLab 8.4.x)
It is now implemented with GitLab 8.12 (September 2016), but only for GitLab EE, as noted by Matthias Weiler in his answer.

Upvotes: 4

Matthias Weiler
Matthias Weiler

Reputation: 23568

This is implemented in GitLab Enterprise Edition. According to this issue it is not planned to be added to the Community Edition.

Upvotes: 4

Related Questions