75858[!!!][TASK] Move LocalConfiguration to system/settings.php
Commit message
Review
-
Code review CR +2 Done
- Georg Ringer +2
- Benjamin Franzke +1
-
Verified V +2 Done
- Georg Ringer +2
- Benjamin Franzke +1
- core-ci +1 CI
Issues 1
Files 36
- Build/composer/config/system/additional.php.distrenamed+0 −0
- Build/composer/.gitignore+5 −5
- Build/php-cs-fixer/header-comment.php+0 −1
- Build/Sources/TypeScript/install/router.ts+2 −2
- typo3/sysext/core/Classes/Configuration/ConfigurationManager.php9+58 −35
- typo3/sysext/core/Classes/Configuration/ExtensionConfiguration.php+3 −3
- typo3/sysext/core/Classes/Core/Bootstrap.php1+17 −3
- typo3/sysext/core/Classes/Core/Environment.php+8 −3
- typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php+1 −1
- typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php+0 −6
- typo3/sysext/core/Configuration/DefaultConfigurationDescription.yaml+5 −5
- typo3/sysext/core/Configuration/FactoryConfiguration.php+2 −2
- typo3/sysext/core/Documentation/Changelog/12.0/Breaking-98319-NewFileLocationForLocalConfigurationphpAndAdditionalConfigurationphp.rstnew+94 −0
- typo3/sysext/core/Documentation/Changelog/Howto.rst+2 −2
- typo3/sysext/core/Tests/Acceptance/Application/InstallTool/AbstractCest.php+1 −1
- typo3/sysext/core/Tests/Unit/Configuration/ConfigurationManagerTest.php+18 −23
- typo3/sysext/install/Classes/Controller/InstallerController.php+2 −2
- typo3/sysext/install/Classes/Controller/MaintenanceController.php+1 −1
- typo3/sysext/install/Classes/FolderStructure/DefaultFactory.php+10 −0
- typo3/sysext/install/Classes/Middleware/Installer.php+2 −2
Show 16 more files
- typo3/sysext/install/Classes/Middleware/Maintenance.php2+16 −2
- typo3/sysext/install/Classes/Service/SilentConfigurationUpgradeService.php+10 −10
- typo3/sysext/install/Classes/Service/UpgradeWizardsService.php+1 −1
- typo3/sysext/install/Resources/Private/Partials/Settings/LocalConfiguration/SubSection.html+1 −1
- typo3/sysext/install/Resources/Private/Partials/Settings/Presets/Cache.html+1 −1
- typo3/sysext/install/Resources/Private/Templates/Login/ShowLogin.html+1 −1
- typo3/sysext/install/Resources/Private/Templates/Settings/Cards.html+1 −1
- typo3/sysext/install/Resources/Private/Templates/Settings/ChangeInstallToolPassword.html+1 −1
- typo3/sysext/install/Resources/Private/Templates/Settings/LocalConfigurationGetContent.html+2 −2
- typo3/sysext/install/Resources/Private/Templates/Settings/PresetsGetContent.html+2 −2
- typo3/sysext/install/Resources/Public/JavaScript/router.js+1 −1
- typo3/sysext/redirects/Documentation/Setup/Index.rst+2 −2
- typo3/sysext/rte_ckeditor/Documentation/Configuration/BestPractices.rst+1 −1
- typo3/sysext/rte_ckeditor/Documentation/Configuration/Concepts.rst+2 −2
- typo3/sysext/rte_ckeditor/Documentation/Configuration/ConfigureTypo3.rst+1 −1
- typo3/sysext/workspaces/ext_localconf.php+1 −1
Review log 3044
Show 1419 earlier messages
-
Benni Mack uploaded patch set 1 09/22/22, 22:33
-
core-ci voted on patch set 1 V -1 09/22/22, 22:40 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/31464
-
Helmut Hummel commented on patch set 1 09/23/22, 15:42
-
Benni Mack commented on patch set 1 09/23/22, 15:44
ConfigurationManager.php:159Replyfine with me. I would personally prefer to have an "override.settings.php" which is loaded AFTER all extensions ext_localconf.php code is loaded. Because your installation should / could override extension configuration - right now this is not possible and I think a bad architecture design (extensions config is loaded after an installation specific "override" configuration). -
Benjamin Franzke commented on patch set 1 09/26/22, 08:30
ConfigurationManager.php:159ReplyMy opinion is: Let's not overload dots which somehow imply a more specific file format, we can use dashes just fine, that is how all unix tools works. My suggestion: LocalConfiguration.php => config/settings/typo3.php AdditionalConfiguration.php => config/settings/typo3.d/override.php While we'd actually allow config/settings/typo3.d/*.php (sorted alphabetically) to be used (just like all modern unix-tools allow to use .d configuration directories). -
Benjamin Franzke commented on patch set 1 09/26/22, 08:31
ConfigurationManager.php:159ReplySorry, forgot to say why I opted for `typo3.php`: I think it's good to be explicit here, when you work with many composer libraries, it's good to make it cristal clear, that this is config that is processed by TYPO3. -
Benni Mack commented on patch set 1 09/27/22, 09:25
ConfigurationManager.php:159Reply@bnf. in your example you move to "config/settings". One of my goals is that we refer to settings as "something that we could also move to yaml, json, ini whatever" whereas "AdditionalConfiguration.php" is something that people can execute stuff in (nothing is returned from the file). How about "config/system/settings.php" and "config/system/boot.php" ? -
Benjamin Franzke commented on patch set 1 09/27/22, 11:10
ConfigurationManager.php:159ReplyAh, sorry, I actually didn't want to touch the prefix `config/system/` which you choosed – it was basically a typo/copy-paste-mistake that I wrote /settings/ there :\ I'm fine with the *.yaml,*.json thingy, I basically wanted to ensure that we provide not just one filename per configuration target, but also .d directories, which makes it easy for tools like ddev to write to a config file like config/system/typo3.d/ddev.php without conflicting with other "additional" configuration. I don't know about settings.php vs boot.php (don't like boot.php a lot) but I understand why that procesed reservations regarding a maybe too-specific typo3.{php,json,yaml,conf} file. So I'm fine with config/system/settings.php and would love to see `config/system/settings.d/override.php` as replacement for AdditionalConfiguration.php Then we could add support for reading all files from settings.d/*.php in 12.x releases. -
Benni Mack uploaded patch set 2 09/30/22, 13:00
-
Benni Mack commented on patch set 2 09/30/22, 13:02
I think theConfigurationManager.php:159ReplyI think we could go with * config/system/settings.php * config/system/additional.php seems like the least common denominator. I am thinking if we want to migrate also "non-composer" installations to this format, basically having everything then in typo3conf/system/settings.php. With this way, we could use the naming for both modes. WDYT? -
core-ci voted on patch set 2 V -1 09/30/22, 13:10 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/31753
-
Chris Müller commented on patch set 2 09/30/22, 16:50
ConfigurationManager.php:159ReplyUsing the new names also for legacy installations would make it better understandable and easier in the documentation as we only have to document one case and not both variants simultaneously. -
Benni Mack updated the commit message in patch set 3 09/30/22, 20:12
-
core-ci voted on patch set 3 V -1 09/30/22, 20:20 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/31769
-
Benni Mack uploaded patch set 4 09/30/22, 20:48
-
core-ci voted on patch set 4 V -1 09/30/22, 20:53 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/31771
-
Benni Mack uploaded patch set 5 09/30/22, 21:01
-
core-ci voted on patch set 5 V -1 09/30/22, 21:13 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/31772
-
Benni Mack uploaded patch set 6 09/30/22, 21:21
-
core-ci voted on patch set 6 V -1 09/30/22, 21:35 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/31775
-
Benni Mack uploaded patch set 7 09/30/22, 22:21
-
core-ci voted on patch set 7 V -1 09/30/22, 22:33 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/31780
-
Benni Mack uploaded patch set 8 09/30/22, 23:05
-
core-ci voted on patch set 8 V -1 09/30/22, 23:17 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/31784
-
Benjamin Franzke uploaded patch set 9 10/01/22, 05:26
-
Benjamin Franzke commented on patch set 9 10/01/22, 05:26
Bootstrap.php:226needs to be octal notation, otherwise this number is taken as decimal value, which evaluates to 05327 (octal), causing permissions for reading to be missing and permissions to be quite funny (d-ws-w-rwt).Maintenance.php:363I think we can remove this here, as this check will always have been performed in Core/Bootstrap, right? -
core-ci voted on patch set 9 V -1 10/01/22, 05:38 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/31797
-
Benjamin Franzke commented on patch set 9 10/01/22, 05:39
Unresolved
hm... should we also move PackageStates.php for classic mode to not leave classic-mode in a limbo state of mixed config locations?well, there is still typo3conf/ENABLE_INSTALL_TOOL in composer-mode :\ -
Benjamin Franzke uploaded patch set 10 10/01/22, 05:54
-
core-ci voted on patch set 10 V -1 10/01/22, 06:05 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/31798
-
Benjamin Franzke uploaded patch set 11 10/01/22, 07:30
-
core-ci voted on patch set 11 V -1 10/01/22, 07:43 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/31800
-
Benni Mack commented on patch set 11 10/01/22, 15:47
ConfigurationManager.php:159ReplyDone -
Benjamin Franzke uploaded patch set 12 10/01/22, 15:49
-
core-ci voted on patch set 12 V -1 10/01/22, 16:01 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/31834
-
Benjamin Franzke uploaded patch set 13 10/01/22, 16:12
-
Benjamin Franzke uploaded patch set 14 10/01/22, 16:14
-
core-ci voted on patch set 14 V +1 10/01/22, 16:27 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/31836
-
Benni Mack uploaded patch set 15 10/01/22, 17:04
-
Benni Mack commented on patch set 15 10/01/22, 17:06
Reply Unresolved
good, I think we can migrate this separately later-on.Maintenance.php:363Reply UnresolvedI do think I tried this locally on a new installation going to typo3/install.php directly... however, yes. might not be needed. -
Benjamin Franzke voted on patch set 15 V +1 CR +1 10/01/22, 17:06
-
core-ci voted on patch set 15 V +1 10/01/22, 17:12 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/31838
-
Georg Ringer voted on patch set 15 V +2 CR +2 10/01/22, 18:25
-
Georg Ringer merged patch set 16 10/01/22, 18:26
ConfigurationManager.php:159