stable

Clone or download

Read-only

Centralize gitolite hooks deployment inside site-deploy:gitolite3-hooks cmd

Move the creation of a symlink for the git post-receive hook to SiteDeployGitolite3Hooks.php If the symlink is created we run gitolite setup --hooks-only How to test: - make bash-web - tuleap-cfg site-deploy:gitolite3-hooks - You should see the following message if the symlink does not exist: [info] Creating post-receive hook symlink at /var/lib/gitolite/.gitolite/hooks/common/post-receive [info] Executing gitolite setup --hooks-only Part of story #31077 deploy a WebAssembly module to validate incoming references as a pre-receive hook Change-Id: If162dee6ca7bb716019332db7b8edde9e9b7f853

Modified Files

Name
A src/tuleap-cfg/Command/SiteDeploy/Gitolite3/SiteDeployGitolite3Hooks.php +85 −0 Go to diff View file
A src/tuleap-cfg/Command/SiteDeploy/Gitolite3/SiteDeployGitolite3HooksCommand.php +55 −0 Go to diff View file
M src/tuleap-cfg/tuleap-cfg.php +1 −0 Go to diff View file
M tools/setup/el7/include/plugins.sh +1 −5 Go to diff View file