stable

Clone or download

Read-only

Group update of the SVN access files of a project when possible

When there is multiple changes affecting ugroups in the same project Tuleap should try to group the refresh of the SVN access files. This operation can be a bit long in large projects so in situation where there is lot of ugroup changes (e.g. automation, nightly synchro…) it can slow (a lot!) the processing of default system event queue. To avoid that, a new system event that deal only with the update of the SVN access file is created. This event is queued only when there is not already an event pending for a project. Close request #14411: Refresh SVN access files only once when multiple system events need it Change-Id: I0b4d99c1674e04c104bef4102aec1f049b200fe5

Modified Files

Name
M plugins/svn/include/svnPlugin.php +10 βˆ’25 Go to diff View file
M src/common/Event/Event.class.php +3 βˆ’19 Go to diff View file
A src/common/svn/Event/UpdateProjectAccessFileSystemEvent.php +83 βˆ’0 Go to diff View file
A src/common/svn/Event/UpdateProjectAccessFilesEvent.php +49 βˆ’0 Go to diff View file
A src/common/svn/Event/UpdateProjectAccessFilesScheduler.php +56 βˆ’0 Go to diff View file
M src/common/system_event/SystemEvent.class.php +1 βˆ’0 Go to diff View file
M src/common/system_event/SystemEventManager.class.php +15 βˆ’4 Go to diff View file
M src/common/system_event/include/SystemEvent_MEMBERSHIP_CREATE.class.php +7 βˆ’17 Go to diff View file
M src/common/system_event/include/SystemEvent_MEMBERSHIP_DELETE.class.php +7 βˆ’17 Go to diff View file
M src/common/system_event/include/SystemEvent_UGROUP_MODIFY.class.php +41 βˆ’42 Go to diff View file
M tests/phpunit/common/SystemEvent/include/SystemEvent_UGROUP_MODIFYRenameTest.php +2 βˆ’2 Go to diff View file
M tests/phpunit/common/SystemEvent/include/SystemEvent_UGROUP_MODIFY_Test.php +6 βˆ’57 Go to diff View file
A tests/phpunit/common/svn/Event/UpdateProjectAccessFileSystemEventTest.php +95 βˆ’0 Go to diff View file
A tests/phpunit/common/svn/Event/UpdateProjectAccessFilesSchedulerTest.php +72 βˆ’0 Go to diff View file