Skip to content
Snippets Groups Projects
Commit dcc6dfd3 authored by Adam G-H's avatar Adam G-H
Browse files

Issue #3351925 by phenaproxima, tedbow: Reduce core requirement to ^10 to...

Issue #3351925 by phenaproxima, tedbow: Reduce core requirement to ^10 to allow manual testing of Automatic Updates
parent 1f4af774
No related branches found
No related tags found
3 merge requests!989Issue #3356804 by phenaproxima: Flag a warning during status check if the...,!819Issue #3351925: Reduce core requirement to 10.0.x to allow manual testing of Automatic UPdates,!548Issue #3310729: Incorrect documentation link in UI in case of Process error
name: 'Automatic Updates'
type: module
description: 'Automatically updates Drupal core.'
core_version_requirement: ^9.7 || ^10.1
core_version_requirement: ^9.7 || ^10
dependencies:
- drupal:package_manager
- drupal:update
name: 'Automatic Updates Extensions'
type: module
description: 'Allows updates to themes and modules'
core_version_requirement: ^9.7 || ^10.1
core_version_requirement: ^9.7 || ^10
lifecycle: experimental
dependencies:
- drupal:automatic_updates
......@@ -18,6 +18,9 @@
"php-tuf/composer-stager": "2.0-alpha1",
"composer-runtime-api": "^2.1"
},
"require-dev": {
"colinodell/psr-testlogger": "^1.2"
},
"scripts": {
"phpcbf": "scripts/phpcbf.sh",
"phpcs": "scripts/phpcs.sh",
......
name: 'Package Manager'
type: module
description: 'API module providing functionality to stage package installs and updates with Composer.'
core_version_requirement: ^9.7 || ^10.1
core_version_requirement: ^9.7 || ^10
dependencies:
- drupal:update
......@@ -86,6 +86,35 @@ final class PackageManagerServiceProvider extends ServiceProviderBase {
}
}
// BEGIN: DELETE FROM CORE MERGE REQUEST
// Remove all of this when Drupal 10.1 is the minimum required version of
// Drupal core.
$aliases = [
'config.factory' => 'Drupal\Core\Config\ConfigFactoryInterface',
'module_handler' => 'Drupal\Core\Extension\ModuleHandlerInterface',
'state' => 'Drupal\Core\State\StateInterface',
'extension.list.module' => 'Drupal\Core\Extension\ModuleExtensionList',
'extension.list.theme' => 'Drupal\Core\Extension\ThemeExtensionList',
'stream_wrapper_manager' => 'Drupal\Core\StreamWrapper\StreamWrapperManagerInterface',
'database' => 'Drupal\Core\Database\Connection',
'queue' => 'Drupal\Core\Queue\QueueFactory',
'private_key' => 'Drupal\Core\PrivateKey',
'datetime.time' => 'Drupal\Component\Datetime\TimeInterface',
'event_dispatcher' => 'Symfony\Contracts\EventDispatcher\EventDispatcherInterface',
'plugin.manager.mail' => 'Drupal\Core\Mail\MailManagerInterface',
'language_manager' => 'Drupal\Core\Language\LanguageManagerInterface',
'file_system' => 'Drupal\Core\File\FileSystemInterface',
'tempstore.shared' => 'Drupal\Core\TempStore\SharedTempStoreFactory',
'class_resolver' => 'Drupal\Core\DependencyInjection\ClassResolverInterface',
'request_stack' => 'Symfony\Component\HttpFoundation\RequestStack',
];
foreach ($aliases as $service_id => $alias) {
if (!$container->hasAlias($alias)) {
$container->setAlias($alias, $service_id);
}
}
// END: DELETE FROM CORE MERGE REQUEST
// Decorate certain Composer Stager preconditions.
$container->register(NoSymlinksPointToADirectory::class)
->setPublic(FALSE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment