acquia/blt

BLT

维护者

详细信息

github.com/acquia/blt

源代码

问题

文档

安装次数: 4,567,225

依赖关系: 18

建议者: 0

安全: 0

星标: 443

关注者: 48

分支: 395

公开问题: 36

类型:composer-plugin

14.0.0-beta2 2024-04-03 16:27 UTC

This package is auto-updated.

Last update: 2024-08-31 12:33:08 UTC


README

生命周期结束

Acquia 已宣布 BLT 的生命周期将于 2024 年 7 月 1 日结束。更多详情,请参阅 #4736

概述

BLT logo of stylized sandwich

Build Status Packagist

BLT (构建和发布工具) 为测试、构建和发布 Drupal 8 和 9 应用程序提供了一层自动化层。

要了解更多信息并开始使用,请参阅文档:https://docs.acquia.com/blt

要查看 Acquia 和社区为 BLT 提供的插件,请参阅 插件注册表

BLT 版本

* BLT 用户必须升级到至少 BLT 13.5.x,才能升级到 PHP 8.1 和 Drush 11.0.7(或更高版本)。

PHP 8.2、Drush 12 和 Drupal 10 的支持不稳定。

使用 BLT 与 Acquia Drupal 推荐设置步骤。

  • 更新 BLT 插件到最新版本,该版本包含 OOTB 的 acquia/drupal-recommended-settings。
composer update acquia/blt -W

手动过程

  • 从位于 /docroot/sites/<site-name>/settings.php 的 settings.php 文件中删除 BLT 引用。
- require DRUPAL_ROOT . "/../vendor/acquia/blt/settings/blt.settings.php";
- /**
-  * IMPORTANT.
-  *
-  * Do not include additional settings here. Instead, add them to settings
-  * included by `blt.settings.php`. See BLT's documentation for more detail.
-  *
-  * @link https://docs.acquia.com/blt/
-  */
+ require DRUPAL_ROOT . "/../vendor/acquia/drupal-recommended-settings/settings/acquia-recommended.settings.php";
+ /**
+  * IMPORTANT.
+  *
+  * Do not include additional settings here. Instead, add them to settings
+  * included by `acquia-recommended.settings.php`. See Acquia's documentation for more detail.
+  *
+  * @link https://docs.acquia.com/
+  */
  • 更新 default.local.settings.phplocal.settings.php,使用此 DSR 插件提供的环境检测器,而不是 BLT。
- use Acquia\Blt\Robo\Common\EnvironmentDetector;
+ use Acquia\Drupal\RecommendedSettings\Helpers\EnvironmentDetector;

自动化过程

  • 使用 BLT 中提供的迁移命令。
./vendor/bin/blt blt:migrate

许可

版权 (C) 2020 Acquia, Inc.

本程序是自由软件:您可以在自由软件基金会发布的 GNU 通用公共许可证第二版(以下简称“许可证”)条款下重新分发和/或修改它。

本程序按“原样”提供,不提供任何明示或暗示的保证;甚至不包括适销性或特定目的适用性的暗示保证。有关详细信息,请参阅 GNU 通用公共许可证。