GitLab 项目(存储库)配额

GitLab project (repository) quota

我是 运行 GitLab Community Edition 并且想为 GitLab 项目(存储库)添加配额以防止用户创建大型项目。

配额应根据最大项目大小,例如每个项目 420 MB。这可能吗?如果是,我该如何相应地配置 GitLab?

那是 2014 年 suggested in the old feedback forum ("limit size of the repositories of one user")。
再次在 official GitLab issue 中针对不同的上下文:"Ability to restrict file size / disk space for LFS"(大文件存储)

尚未实施(2016 年 2 月,GitLab 8。4.x)
现在是 implemented with GitLab 8.12 (September 2016), but only for GitLab EE, as noted by Matthias Weiler in .

这是在 GitLab Enterprise Edition. According to this issue 中实现的,不打算添加到社区版中。

如果你不能为 GitLab EE 付费,你可以使用这个策略: