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

Issue #3293656 by phenaproxima, narendra.rajwar27, Ishani Patel: Remove the experimental warnings

parent b972b2d1
No related branches found
No related tags found
No related merge requests found
Automatic Updates
---------------
🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
Warning the 8.x-2.x version of this module is still in development and should only be used development and testing.
🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
### Automatic Updates Initiative
- Follow and read up on
......
......@@ -2,7 +2,6 @@ name: 'Automatic Updates'
type: module
description: 'Automatically updates Drupal core.'
core_version_requirement: ^9.3
lifecycle: experimental
dependencies:
- drupal:package_manager
- drupal:update
......@@ -45,7 +45,7 @@ function automatic_updates_mail(string $key, array &$message, array $params): vo
'@previous_version' => $params['previous_version'],
'@updated_version' => $params['updated_version'],
]);
$message['body'][] = t('This e-mail was sent by the Automatic Updates module, which is an experimental module. Furthermore, unattended updates are not yet fully supported.');
$message['body'][] = t('This e-mail was sent by the Automatic Updates module. Unattended updates are not yet fully supported.');
$message['body'][] = t('If you are using this feature in production, it is strongly recommended for you to visit your site and ensure that everything still looks good.');
}
}
......
......@@ -2,4 +2,3 @@ name: 'Package Manager'
type: module
description: 'API module providing functionality for staging package installs and updates with Composer.'
core_version_requirement: ^9.3
lifecycle: experimental
......@@ -119,8 +119,6 @@ final class UpdaterForm extends FormBase {
* {@inheritdoc}
*/
public function buildForm(array $form, FormStateInterface $form_state) {
$this->messenger()->addWarning($this->t('This is an experimental Automatic Updater using Composer. Use at your own risk.'));
if ($this->updater->isAvailable()) {
$stage_exists = FALSE;
}
......
<?php
namespace Drupal\Tests\automatic_updates\Unit;
use Drupal\Tests\UnitTestCase;
use Symfony\Component\Yaml\Yaml;
/**
* Tests to ensure the modules are experimental.
*
* @group automatic_updates
*/
class EnsureExperimentalTest extends UnitTestCase {
/**
* Tests that the modules are experimental.
*/
public function testModulesExperimental() {
$info_files = [
__DIR__ . '/../../../automatic_updates_extensions/automatic_updates_extensions.info.yml',
__DIR__ . '/../../../automatic_updates.info.yml',
__DIR__ . '/../../../package_manager/package_manager.info.yml',
];
foreach ($info_files as $info_file) {
$info = Yaml::parseFile($info_file);
$this->assertSame('experimental', $info['lifecycle']);
}
}
}
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