Closed (fixed)
Project:
Label Help
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2025 at 13:26 UTC
Updated:
16 Feb 2026 at 17:19 UTC
Jump to comment: Most recent
When spinning up a local environment for development of the Label Help module, we now see a warning upon ddev start due to changes in how Gitlab Templates does symlinking, and therefore presumably also how ddev symlink-project works.
WARNING: The list of project files and folders has been derived here, because the environment variable PROJECT_FILES is empty.
Array
(
[2] => .ddev
[3] => .editorconfig
[5] => .gitattributes
[6] => .gitignore
[7] => .gitlab-ci.yml
[8] => .prettierignore
[9] => .prettierrc.json
[10] => .vscode
[11] => LICENSE.txt
[12] => README.md
[13] => composer.json
[14] => composer.lock
[15] => config
[16] => css
[17] => label_help.info.yml
[18] => label_help.libraries.yml
[19] => label_help.module
[20] => modules
[21] => node_modules
[22] => phpcs.xml.dist
[23] => phpstan-baseline.neon
[24] => phpstan.neon
[25] => recipes
[26] => templates
[27] => tests
)
This may not be accurate and to avoid this warning, at the start of your customized composer script execute the following command:
export PROJECT_FILES=$(ls -A)
See change record https://www.drupal.org/node/3500320 for more details
************************************************************************************************************************
Creating symlinks in /var/www/html/web/modules/custom/label_help pointing back to files in /var/www/html
.ddev
.editorconfig
.gitattributes
.gitignore
.gitlab-ci.yml
.prettierignore
.prettierrc.json
.vscode
LICENSE.txt
README.md
composer.json
composer.lock
config
css
label_help.info.yml
label_help.libraries.yml
label_help.module
modules
node_modules
phpcs.xml.dist
phpstan-baseline.neon
phpstan.neon
recipes
templates
tests
Update ddev and ddev-drupal-contrib scripts to latest version, in hopes that this remedies the warning.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
jwilson3Comment #3
jwilson3Comment #4
jwilson3The symlink-project command now completely errors out with the following message:
Comment #8
jwilson3