stable

Clone or download

Read-only

Remove generic usage of paths from ForgeUpgrade

When ForgeUpgrade was a generic tool it made sense to have a way to configure where migration buckets could be found. Today the paths are constraints, either it's in core or in one of the installed plugin. The ability to configure the path to listen is then removed as well as "ignore pre-up" or "pre up only" that have no legitimate usage. Site administrators will be happy has the verification of "system is up to date" is way more fast (no longer look in all sub-directories of plugins). forgeupgrade tools no longer need --config option and `/etc/tuleap/forgeupgrade/config.ini` is obsolete too and can be removed. Part of request #21864: Import forgeupgrade into Tuleap Change-Id: I119dd18010b6760aa8db96839ee9e8ab69b83fc6

Modified Files

Name
M Makefile +1 −1 Go to diff View file
M plugins/git/tests/integration/GitXmlImporterTest.php +3 −1 Go to diff View file
M plugins/pluginsadministration/include/PluginsAdministrationViews.class.php +2 −24 Go to diff View file
M src/common/ForgeUpgrade/BucketFilter.php +2 −48 Go to diff View file
M src/common/ForgeUpgrade/ForgeUpgrade.php +63 −52 Go to diff View file
M src/common/ForgeUpgrade/ForgeUpgradeDb.php +12 −1 Go to diff View file
M src/common/Plugin/PluginFactory.php +3 −0 Go to diff View file
M src/common/Plugin/PluginManager.php +5 −22 Go to diff View file
M src/common/admin/SiteAdminWarnings.php +4 −14 Go to diff View file
M src/common/include/ForgeUpgradeConfig.class.php +8 −141 Go to diff View file
D src/etc/forgeupgrade-config.ini.dist +0 −2 Go to diff View file
M src/etc/local.inc.dist +0 −3 Go to diff View file
M src/forgeupgrade/forgeupgrade.php +9 −22 Go to diff View file
A src/tuleap-cfg/Command/SetupForgeUpgradeCommand.php +58 −0 Go to diff View file
M src/tuleap-cfg/tuleap-cfg.php +1 −0 Go to diff View file
M src/www/admin/index.php +6 −1 Go to diff View file
M tests/integration/_fixtures/local.inc +0 −3 Go to diff View file
M tests/unit/common/ForgeUpgrade/BucketFilterTest.php +0 −48 Go to diff View file
M tests/unit/common/Include/ForgeUpgradeConfigTest.php +17 −102 Go to diff View file
D tests/unit/common/Include/_fixtures/forgeupgrade-config-docman.ini +0 −5 Go to diff View file
M tests/unit/common/Plugin/PluginManagerTest.php +1 −2 Go to diff View file
M tools/rpm/tuleap.rhel7.spec +0 −2 Go to diff View file
M tools/setup.el7.sh +7 −3 Go to diff View file
M tools/setup/el7/include/setup.sh +0 −9 Go to diff View file