Unify symlink approach, allow folder argument
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
- Fix Drupal 7 by creating the symlinks in the correct folder
- 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