stable

Clone or download

Read-only

story #8340: Move all operations done after a Git push in a single PHP script

Integrators, in order to test this patch you need to: - Deploy the new sudoers configurations: # cp /usr/share/tuleap/plugins/git/etc/sudoers.d/tuleap-git-postreceive /etc/sudoers.d/ - Deploy the new gitolite post receive hook: With Gitolite 3: # install -g gitolite -o gitolite -m 00755 /usr/share/tuleap/plugins/git/hooks/post-receive-gitolite /var/lib/gitolite/.gitolite/hooks/common/post-receive With Gitolite 2: # install -g gitolite -o gitolite -m 00755 /usr/share/tuleap/plugins/git/hooks/post-receive-gitolite /usr/share/gitolite/hooks/common/post-receive In the real world, these two files are deployed by the tuleap-plugin-git(-gitolite3) package Change-Id: I0f6c9ddf6134ee19f1de0571589a828c068cf1cb

Modified Files

Name
M plugins/git/README.txt +7 −0 Go to diff View file
D plugins/git/bin/git-post-receive.pl +0 −41 Go to diff View file
D plugins/git/bin/sudo/git-post-receive.pl +0 −6 Go to diff View file
A plugins/git/etc/sudoers.d/tuleap-git-postreceive +3 −0 Go to diff View file
D plugins/git/hooks/post-receive +0 −56 Go to diff View file
M plugins/git/hooks/post-receive-email +4 −14 Go to diff View file
M plugins/git/hooks/post-receive-gitolite +4 −1 Go to diff View file
M plugins/git/hooks/post-receive.php +57 −48 Go to diff View file
M plugins/git/include/Git/Hook/PostReceive.class.php +26 −7 Go to diff View file
M plugins/git/include/GitBackend.class.php +0 −56 Go to diff View file
M plugins/git/include/GitRepositoryCreator.class.php +0 −7 Go to diff View file
M plugins/git/tests/Git/Hook/PostReceiveTest.php +18 −1 Go to diff View file
M plugins/git/tests/GitBackendTest.php +0 −74 Go to diff View file
M tools/rpm/tuleap.rhel6.spec +3 −3 Go to diff View file
M tools/rpm/tuleap.spec +0 −2 Go to diff View file