stable
Clone or download
Read-only
request #13851 Add a new CLI command to refresh SVN repositories
In order to allows refresh of all SVN access files repositories, this patch add a new CLI command. To test it, go on container : - delete the content of a .SVNAccessFile - run tuleap svn:refresh-projects-access-files - On SVN repository access control, access files should be restored Change-Id: I1f75f23663d73a8e86f11be0b35158220b40ca6c
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/svn/bin/migrate_to_plugin.php | +5 | −3 | Go to diff View file |
M | plugins/svn/include/REST/v1/RepositoryResource.php | +5 | −1 | Go to diff View file |
M | plugins/svn/include/REST/v1/RepositoryResourceUpdater.php | +7 | −1 | Go to diff View file |
M | plugins/svn/include/SVN/AccessControl/AccessControlController.php | +7 | −1 | Go to diff View file |
M | plugins/svn/include/SVN/AccessControl/AccessFileHistoryCreator.php | +52 | −16 | Go to diff View file |
A | plugins/svn/include/SVN/AccessControl/SVNRefreshAllAccessFilesCommand.php | +114 | −0 | Go to diff View file |
M | plugins/svn/include/SVN/Dao.php | +15 | −0 | Go to diff View file |
A | plugins/svn/include/SVN/Repository/RepositoryByProjectCollection.php | +68 | −0 | Go to diff View file |
M | plugins/svn/include/SVN/Repository/RepositoryManager.php | +21 | −1 | Go to diff View file |
M | plugins/svn/include/SVN/XMLRepositoryImporter.php | +2 | −1 | Go to diff View file |
M | plugins/svn/include/svnPlugin.php | +53 | −33 | Go to diff View file |
A | plugins/svn/phpunit/SVN/AccessFile/AccessFileHistoryCreatorTest.php | +217 | −0 | Go to diff View file |
A | plugins/svn/phpunit/SVN/AccessFile/SVNRefreshAllAccessFilesCommandTest.php | +178 | −0 | Go to diff View file |
A | plugins/svn/phpunit/SVN/Repository/RepositoryManagerTest.php | +248 | −0 | Go to diff View file |
D | plugins/svn/tests/SVN/AccessControl/AccessFileHistoryCreatorTest.php | +0 | −106 | Go to diff View file |
D | plugins/svn/tests/SVN/Repository/RepositoryManagerTest.php | +0 | −136 | Go to diff View file |
M | plugins/svn/tests/SVN/XMLImporterTest.php | +3 | −1 | Go to diff View file |
M | src/common/backend/BackendSVN.class.php | +13 | −4 | Go to diff View file |