stable
Clone or download
Read-only
Since 7734420567a1a5208e9349cf755bb9748aeea672 all write operations done on a repo on a system using Gitolite2 are rejected with an error: can't find helper program for VREF/MAX_NEWBIN_SIZE/52428800 error: hook declined to update refs/heads/master Gitolite2 do not come with the VREF MAX_NEWBIN_SIZE so Gitolite is not able to enforce it and rejects the update. Since Tuleap Git LFS is only available with Gitolite 3 and that is recommended for Gitolite 2 users to upgrade, this contribution only ensure the updates are not blocked no limits are enforced. This is part story #12326: forbid large git objects in favor of git-lfs Change-Id: Ic4689a0a638302e38faa257acaa51481299bbde2
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/bin/gl-rename-project.php | +2 | −1 | Go to diff View file |
M | plugins/git/include/Git/AdminGitoliteConfig.php | +11 | −2 | Go to diff View file |
M | plugins/git/include/Git/AdminGitoliteConfigPresenter.php | +13 | −1 | Go to diff View file |
M | plugins/git/include/Git/AdminRouter.class.php | +11 | −2 | Go to diff View file |
M | plugins/git/include/Git/Gitolite/ProjectSerializer.class.php | +13 | −1 | Go to diff View file |
M | plugins/git/include/Git_GitoliteDriver.class.php | +4 | −2 | Go to diff View file |
M | plugins/git/include/REST/v1/RepositoryResource.class.php | +2 | −1 | Go to diff View file |
M | plugins/git/include/gitPlugin.class.php | +4 | −2 | Go to diff View file |
M | plugins/git/phpunit/Git/Gitolite/ProjectSerializerTest.php | +51 | −5 | Go to diff View file |
A | plugins/git/phpunit/Git/Gitolite/_fixtures/perms/notgitolite3.conf | +7 | −0 | Go to diff View file |
M | plugins/git/templates/admin-plugin-gitolite-config.mustache | +72 | −71 | Go to diff View file |
M | plugins/git/tests/GitXmlImporterTest.php | +2 | −1 | Go to diff View file |
M | plugins/git/tests/Git_GitoliteDriverTest.php | +6 | −3 | Go to diff View file |
M | plugins/git/tests/Git_GitoliteTestCase.class.php | +2 | −1 | Go to diff View file |
M | plugins/git/www/scripts/admin-gitolite.js | +24 | −16 | Go to diff View file |