stable

Clone or download

Read-only

Fix deployment of the gitolite post-receive hook

Issue introduced in c44db8d8b06377089bcc9328c5e9b0d53b71f963. Instances that have been installed since this patch was merged will be fixed once they upgrade and run `tuleap-cfg site-deploy`. Instances that were installed before it are not affected. Code has been adapted a bit in order to: * make possible to add a unit test covering the creation of the symlink (this is left as an exercice :) ) * make sure that link is created or generate an error is that is not the case * use an absolute path as the target of the link to avoid possible issues when doing the resolution of path when it is used Part of story #31077: deploy a WebAssembly module to validate incoming references as a pre-receive hook Change-Id: I4b08580952ca99d91c3cdc5d61ab09f25394d059

Modified Files

Name
M src/tuleap-cfg/Command/SiteDeploy/Gitolite3/SiteDeployGitolite3Hooks.php +19 −8 Go to diff View file