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
Feature request here. Allow to source the "initial" from a different location than the 'source' key.
In #44, the functionality for "initial" was added. However, it assumes that you have a forked Drupal version and all "initial" files are sourced from the same repo as the "source" key. It might make sense for Pantheon to have all the extra overhead of hosting their own clone of d8, but for my uses, I just want to provide a default settings.local.php that I have sourced inside the local code base. I was hoping I could just use:
The items inside of initial are only really intended for items that should be downloaded from some remote location. Currently, this is only from the repo identified by the source key, but it does seem valuable to have the ability to take things from multiple different sources.
However, for files that exist in your local repository, I would recommend that you follow the pattern used in the ScriptHandler.php handler in drupal-composer/drupal-project. I don't think that drupal-scaffold should take responsibility for the local-file use-case.
Feature request here. Allow to source the "initial" from a different location than the 'source' key.
In #44, the functionality for "initial" was added. However, it assumes that you have a forked Drupal version and all "initial" files are sourced from the same repo as the "source" key. It might make sense for Pantheon to have all the extra overhead of hosting their own clone of d8, but for my uses, I just want to provide a default settings.local.php that I have sourced inside the local code base. I was hoping I could just use:
But that doesn't work because it tries to download those files from
http://cgit.drupalcode.org/drupal/plain/
. Which obviously is going to fail.The text was updated successfully, but these errors were encountered: