stable

Clone or download

Read-only

chore(svn/el9): Replace reading of .SVNAccessFile by regeneration

First step to get rid of the pattern of reading default permission from filesystem before re-writing it at save time. This is a refactoring, nothing should change. You should be able to update access file from the svn permission interface as well as changing project user groups and get the same results as before on .SVNAccessFile Part of: request #31541 svn 1.10+ no longer supports duplicate sections Change-Id: I25f35f07f9ed2f6dad60a2c0c1e0b81ec2eca69e

Modified Files

Name
M plugins/svn/bin/migrate_to_plugin.php +2 −1 Go to diff View file
M plugins/svn/include/REST/v1/RepositoryResource.php +2 −1 Go to diff View file
M plugins/svn/include/REST/v1/RepositoryResourceUpdater.php +2 −2 Go to diff View file
M plugins/svn/include/SVN/AccessControl/AccessControlController.php +4 −3 Go to diff View file
M plugins/svn/include/SVN/AccessControl/AccessFileHistoryCreator.php +16 −41 Go to diff View file
M plugins/svn/include/SVN/XMLRepositoryImporter.php +3 −3 Go to diff View file
M plugins/svn/include/svnPlugin.php +3 −2 Go to diff View file
M plugins/svn/tests/unit/SVN/AccessFile/AccessFileHistoryCreatorTest.php +17 −7 Go to diff View file
M src/common/SVNCore/AccessFileReader.php +9 −8 Go to diff View file
M src/common/SVNCore/SVNAccessFile.php +11 −31 Go to diff View file
A src/common/SVNCore/SVNAccessFileWriter.php +65 −0 Go to diff View file
D src/common/SVNCore/SVN_AccessFile_Writer.class.php +0 −108 Go to diff View file
A src/common/SVNCore/SvnAccessFileDefaultBlock.php +39 −0 Go to diff View file
M src/common/SVNCore/SvnAccessFileDefaultBlockGenerator.php +8 −3 Go to diff View file
A src/common/SVNCore/SvnAccessFileDefaultBlockGeneratorInterface.php +31 −0 Go to diff View file
M src/common/backend/BackendSVN.class.php +12 −23 Go to diff View file
M tests/integration/tests/Backend/BackendSVNTest.php +0 −10 Go to diff View file
M tests/unit/common/SVNCore/AccessFileReaderTest.php +22 −5 Go to diff View file
R tests/unit/common/SVNCore/SvnAccessFileDefaultBlockGeneratorTest.php Go to diff View file
M tests/unit/common/SVNCore/SVNAccessFileTest.php +30 −37 Go to diff View file
R tests/unit/common/SVNCore/_fixtures/.SVNAccessFile Go to diff View file