stable

Clone or download

Read-only

Rework of svnroot.conf generation

In order to allow plugin to have control on the way svnroot.conf is generated (to override what is done by core) there is a need to move at a higher level than SQL the repository fetch. No functional changes expected. Part of request #17893 Phase-out core "Subversion" service Change-Id: I7caf922948498fb4ff8a2b27ed7f09c256daf8b8

Modified Files

Name
M plugins/ldap/include/LDAP_SVN_Apache_ModPerl.class.php +4 −7 Go to diff View file
M plugins/ldap/include/ldapPlugin.php +2 −3 Go to diff View file
M plugins/ldap/tests/unit/LDAPBackendSVNTest.php +24 −38 Go to diff View file
M plugins/svn/include/SVN/Dao.php +11 −14 Go to diff View file
A plugins/svn/include/SVN/Repository/ApacheConfRepository.php +53 −0 Go to diff View file
A plugins/svn/include/SVN/Repository/ApacheRepositoriesCollector.php +47 −0 Go to diff View file
M plugins/svn/include/SVN/Repository/CoreRepository.php +1 −1 Go to diff View file
M plugins/svn/include/SVN/Repository/RepositoryManager.php +14 −0 Go to diff View file
M plugins/svn/include/svnPlugin.php +5 −4 Go to diff View file
M src/common/Event/Event.class.php +0 −15 Go to diff View file
M src/common/Project/ProjectManager.class.php +3 −7 Go to diff View file
M src/common/backend/Backend.class.php +10 −0 Go to diff View file
M src/common/backend/BackendSVN.class.php +10 −3 Go to diff View file
M src/common/svn/ApacheConfGenerator.php +1 −1 Go to diff View file
A src/common/svn/ApacheConfRepository.php +33 −0 Go to diff View file
A src/common/svn/CoreApacheConfRepository.php +73 −0 Go to diff View file
A src/common/svn/GetAllRepositories.php +67 −0 Go to diff View file
M src/common/svn/SVN_Apache.class.php +18 −42 Go to diff View file
M src/common/svn/SVN_Apache_Auth_Factory.class.php +6 −13 Go to diff View file
M src/common/svn/SVN_Apache_ModPerl.class.php +5 −6 Go to diff View file
M src/common/svn/SVN_Apache_SvnrootConf.class.php +15 −12 Go to diff View file
M src/common/svn/SVN_DAO.class.php +6 −29 Go to diff View file
M src/common/svn/SvnrootUpdater.php +2 −2 Go to diff View file
M tests/integration/tests/Backend/BackendSVNTest.php +3 −9 Go to diff View file
A tests/lib/Builders/ProjectTestBuilder.php +70 −0 Go to diff View file
M tests/unit/common/svn/SVN_Apache_Auth_FactoryTest.php +26 −46 Go to diff View file
M tests/unit/common/svn/SVN_Apache_ModPerlTest.php +38 −27 Go to diff View file
M tests/unit/common/svn/SVN_Apache_SvnrootConfTest.php +10 −19 Go to diff View file