Problem/Motivation

The symlink resolves or tries to resolve when running console command like generate-theme, which may cause an error or create directories unexpectedly.

This may not be solvable with symlinks.

Steps to reproduce

  1. Visit https://gitpod.io/new/#https://git.drupalcode.org/project/drupalpod
  2. Press Continue and wait until DrupalPod finishes
  3. Run ddev exec php ./web/core/scripts/drupal generate-theme beesknees
    • A file or directory not found error is thrown
    • Run php ./web/core/scripts/drupal generate-theme beesknees outside of the container shows that the repos/drupal/themes/beesknees directory is created rather than expect web/themes/beesknees.

Proposed resolution

Remaining tasks

Comments

mradcliffe created an issue.

shaal’s picture

@mradcliffe do you know if this problem exist also in https://github.com/joachim-n/drupal-core-development-project ?

mradcliffe’s picture

I don't know for sure, but that is where my initial thought about it was. I noticed the symlinks in the shell scripts for DrupalPod, which I think came from joachim's approach, right?