stable

Clone or download

Read-only

feat: Close request #31106 System check must verify and redeploy missing SVN hooks

If for some reasons one or more pre-commit or post-commit hook files are missing in SVN repositories, then system check must try to redeploy them. and warn administrators. How to test ----------- * Remove one or multiple SVN pre-commit or post-commit hooks files in you filesystem * Wait for the next system check (or trigger one by using tuleap queue-system-check) => For all repositories that are not in a deleted project, the hook files are redeployed and a warning is displayed in the system check logs. Change-Id: Ia5224e8a26b77f6b95bc59064762129a6a539738

Modified Files

Name
A plugins/svn/include/SVN/Hooks/MissingHooksPathsFromFileSystemRetriever.php +98 −0 Go to diff View file
A plugins/svn/include/SVN/Hooks/MissingHooksPathsRetriever.php +36 −0 Go to diff View file
A plugins/svn/include/SVN/Hooks/RestoreMissingHooks.php +73 −0 Go to diff View file
M plugins/svn/include/svnPlugin.php +12 −0 Go to diff View file
M src/common/backend/BackendSVN.class.php +17 −15 Go to diff View file