-
Notifications
You must be signed in to change notification settings - Fork 394
Connects to #1528: BLT's merged dependencies not installed during deploy #1634
Comments
Some other odd behavior I was seeing is that if I go to install a new module: The only way I was able to resolve this was by adding the following to my own project's "repositories": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8"
}
} |
I think |
@greylabel actually the project's documentation states this is one of the keys it is supposed to be able to merge.
|
Can you post steps to reproduce this? |
@grasmash I'm struggling to come up with steps to reproduce this. If this is a real issue at all, then it doesn't appear consistently insofar as I can tell. I'm going to close this for now. I'll open another issue if I see this again and can come up with some reproducible steps. |
My system information:
10.12.5
8.8.4
This issue is following-up on #1528.
I've seen this occur now with
drupal/config_split
- although it's difficult to reproduce. The basic outlines of the issue are that it seems sometimes if you don't declare one of BLT's required composer dependencies in your owncomposer.json
that dependency doesn't get built into your deployment artifact.These are the
merge-plugin
settings from my project's composer.json:This is occurring despite the dependency appearing in the both
composer.lock
anddeploy/composer.lock
.The only workaround I have found that appears to work consistently is adding all dependencies my project depends on to my project's own
composer.json
- regardless of whether or not they appear in BLT's composer.required.json.In general, I'm seeing inconsistent behavior from the plugin. At what point should merges occur? During every
composer require
? Only duringblt update
? Is there a way to trigger the merge behavior manually?The project's documentation says:
But it's not quite clear on if this means all composer commands or only specific ones.
The text was updated successfully, but these errors were encountered: