Unify symlink approach, allow folder argument

Issue information

From user: fjgarlin

Related to !138 (merged)

Contribution record

Fork management

Problem/Motivation

Some issues like #3422323: Improve CSPELL needed a workaround purely because we are using symlinks. This was done that way from the very beginning to build the project, but maybe there is a better way now.

For Drupal 7 we have copied the files when we actually need the symlinks.

Steps to reproduce

See the struggle in #3422323: Improve CSPELL

Proposed resolution

  1. Fix Drupal 7 by creating the symlinks in the correct folder
  2. Separately, investigate a re-usable code snippet to copy all files, which can be added just to the specifc jobs that need it

Remaining tasks

Investigation, testing + MR

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information