stable

Clone or download

Read-only

story #7740: git HTTP anonymous access

First step, use a dedicated script (g.php) to deal with access: * Deal with huge repo (Moar than 3Gb) * Manage centos 5 & 6 * Wrap access to gitolite (either gitolite2 or 3) * Ask for authentication when needed * Allow anonymous access Change-Id: I128f6d60fc8bbd6a8f86ae4723978f6e36b7d094

Modified Files

Name
M plugins/git/bin/gitolite3-suexec-wrapper.sh +1 −1 Go to diff View file
M plugins/git/etc/sudoers.d/gitolite3-http +1 −1 Go to diff View file
A plugins/git/include/Git/HTTP/Command.class.php +49 −0 Go to diff View file
A plugins/git/include/Git/HTTP/CommandCentos5GitHttpBackend.class.php +25 −0 Go to diff View file
A plugins/git/include/Git/HTTP/CommandCentos6GitHttpBackend.class.php +25 −0 Go to diff View file
A plugins/git/include/Git/HTTP/CommandFactory.class.php +108 −0 Go to diff View file
A plugins/git/include/Git/HTTP/CommandGitolite.class.php +50 −0 Go to diff View file
A plugins/git/include/Git/HTTP/CommandGitolite3.class.php +32 −0 Go to diff View file
A plugins/git/include/Git/HTTP/Wrapper.class.php +62 −0 Go to diff View file
M plugins/git/include/GitRepositoryFactory.class.php +23 −0 Go to diff View file
M plugins/git/include/autoload.php +9 −2 Go to diff View file
M plugins/git/include/gitPlugin.class.php +1 −1 Go to diff View file
M plugins/git/tests/GitRepositoryFactoryTest.php +50 −1 Go to diff View file
A plugins/git/www/g.php +52 −0 Go to diff View file
M src/www/.htaccess +0 −1 Go to diff View file