You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
BLT allowed for configuration overrides; for example, we had init disabled:
disable-targets:
blt:
shell-alias:
init: true
To Reproduce
Install with composer install
See settings added into /default/settings.php
requireDRUPAL_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/ */
Expected behavior
By using /drs/config.yml we should be able to disable running of /bin/drush drs:init:settings on composer install as it is in BLT
Additional context onPostCmdEvent does not take into account any properties from config at all:
/** * Includes Acquia recommended settings post composer update/install command. */publicfunctiononPostCmdEvent(): void {
// Only install the template files, if the drupal-recommended-settings// plugin is installed, with drupal project.if ($this->settingsPackage && $this->getDrupalRoot() && !$this->bltUpdated) {
$vendor_dir = $this->composer->getConfig()->get('vendor-dir');
$this->executeCommand(
$vendor_dir . "/bin/drush drs:init:settings", [],
TRUE
);
}
}
The text was updated successfully, but these errors were encountered:
Describe the bug
BLT allowed for configuration overrides; for example, we had
init
disabled:To Reproduce
composer install
/default/settings.php
Expected behavior
By using
/drs/config.yml
we should be able to disable running of/bin/drush drs:init:settings
oncomposer install
as it is in BLTAdditional context
onPostCmdEvent
does not take into account any properties from config at all:The text was updated successfully, but these errors were encountered: