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
I have this situation where the ddev project/site name is different from the desired module name.
Currently the project name is like "something-drupal" whereas the module name should be like "something_banana".
So the symlinks should go to web/modules/custom/something_banana and not web/modules/custom/something_drupal.
What makes this relevant is that the project contains hard-coded paths which assume a directory name.
(Let's not go into detail about how the problems with my setup are a bit silly. It's an existing project.)
A less silly case could be if we want to have 2 instances in 2 separate dirs for the same project.
So one would be something the other would be something-1.
Currently, symlink-project would create web/modules/custom/something in one project dir, and web/modules/custom/something_1 in the other project dir.
Would it make sense to decouple the module dir name from the DDEV_SITENAME env variable?
The text was updated successfully, but these errors were encountered:
I have this situation where the ddev project/site name is different from the desired module name.
Currently the project name is like "something-drupal" whereas the module name should be like "something_banana".
So the symlinks should go to
web/modules/custom/something_banana
and notweb/modules/custom/something_drupal
.What makes this relevant is that the project contains hard-coded paths which assume a directory name.
(Let's not go into detail about how the problems with my setup are a bit silly. It's an existing project.)
A less silly case could be if we want to have 2 instances in 2 separate dirs for the same project.
So one would be
something
the other would besomething-1
.Currently, symlink-project would create
web/modules/custom/something
in one project dir, andweb/modules/custom/something_1
in the other project dir.Would it make sense to decouple the module dir name from the
DDEV_SITENAME
env variable?The text was updated successfully, but these errors were encountered: