在 Gerrit 中限制文件上传大小

Limit File upload Size in Gerrit

我如何限制 gerrit 中的文件上传大小并确保没有人会上传二进制文件 files.Is 有没有办法在 gerrit 中做到这一点?

我认为应该有一些我们可以在gerrit中配置的设置

看看CheckFile module of the Git-Hooks。它非常强大且可配置。真不错

您可以在Gerrit web UI per Project or globally per Gerrit instance Gerrit 服务器配置文件中进行配置。