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
We inherited a D8 multisite a few months ago (ECDC project).
ATM I have made some workarounds to be able to work on it using the task-runner and the toolkit but it is far from optimal.
Ideally, we should make both the task-runner and the toolkit multisite-compatible.
This is I think a big task so perhaps some of you have ideas or plans already?
Here are some things I have in mind:
I think we should first make the task-runner multisite-compatible so that we can run it with aliases (e.g: ./vendor/bin/run @myalias command:name)
I investigated the possibility to use SiteAlias (used by drush) but that would require a lot of changes.
Another simpler approach is to do something similar to what Drupal Console does.
I noticed a lot of commands in the toolkit are spawning new processes (./vendor/bin/run ...) which makes it loose the current context (e.g: the alias or options passed in the first command).
This could be solved in a similar way to BLT which defines an invokeCommands() method: https://github.com/acquia/blt/blob/12.x/src/Robo/BltTasks.php#L53
The text was updated successfully, but these errors were encountered:
Hi,
We inherited a D8 multisite a few months ago (ECDC project).
ATM I have made some workarounds to be able to work on it using the task-runner and the toolkit but it is far from optimal.
Ideally, we should make both the task-runner and the toolkit multisite-compatible.
This is I think a big task so perhaps some of you have ideas or plans already?
Here are some things I have in mind:
./vendor/bin/run @myalias command:name
)I investigated the possibility to use SiteAlias (used by drush) but that would require a lot of changes.
Another simpler approach is to do something similar to what Drupal Console does.
./vendor/bin/run ...
) which makes it loose the current context (e.g: the alias or options passed in the first command).This could be solved in a similar way to BLT which defines an
invokeCommands()
method: https://github.com/acquia/blt/blob/12.x/src/Robo/BltTasks.php#L53The text was updated successfully, but these errors were encountered: