stable

Clone or download

Read-only

Run MediaWiki instance updates in parallel

This might help saving a bit of time during upgrade on Tuleap instances using MediaWiki a lot. To avoid putting a too heavy load on DB servers the number of upgrades executed simultaneously is arbitrarily capped to a maximum of 2. Part of story #26042: install mediawiki standalone Change-Id: I2da555a9ac6fa5616bd36c556df5be6c71eb2dfd

Modified Files

Name
M plugins/mediawiki_standalone/include/Configuration/MediaWikiInstallAndUpdateHandler.php +3 −0 Go to diff View file
A plugins/mediawiki_standalone/include/Configuration/MediaWikiInstallAndUpdateHandlerException.php +47 −0 Go to diff View file
M plugins/mediawiki_standalone/include/Configuration/MediaWikiInstallAndUpdateScriptCaller.php +39 −41 Go to diff View file
A plugins/mediawiki_standalone/include/Configuration/MediaWikiManagementCommand.php +35 −0 Go to diff View file
A plugins/mediawiki_standalone/include/Configuration/MediaWikiManagementCommandDoNothing.php +36 −0 Go to diff View file
A plugins/mediawiki_standalone/include/Configuration/MediaWikiManagementCommandFactory.php +33 −0 Go to diff View file
A plugins/mediawiki_standalone/include/Configuration/MediaWikiManagementCommandFailure.php +37 −0 Go to diff View file
A plugins/mediawiki_standalone/include/Configuration/MediaWikiManagementCommandProcess.php +60 −0 Go to diff View file
A plugins/mediawiki_standalone/include/Configuration/MediaWikiManagementCommandProcessFactory.php +82 −0 Go to diff View file
M plugins/mediawiki_standalone/include/mediawiki_standalonePlugin.php +2 −1 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/Configuration/MediaWikiInstallAndUpdateHandlerExceptionTest.php +52 −0 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/Configuration/MediaWikiInstallAndUpdateScriptCallerTest.php +165 −0 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/Configuration/MediaWikiManagementCommandAlwaysFail.php +36 −0 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/Configuration/MediaWikiManagementCommandDoNothingTest.php +35 −0 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/Configuration/MediaWikiManagementCommandObserver.php +45 −0 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/Configuration/MediaWikiManagementCommandProcessFactoryTest.php +43 −0 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/Configuration/MediaWikiManagementCommandProcessTest.php +48 −0 Go to diff View file