drupal-contributions icon indicating copy to clipboard operation
drupal-contributions copied to clipboard

Can't test Composer-changing core patches

Open gitressa opened this issue 4 years ago • 2 comments

It seems like patches for composer.json and composer.lock don't apply, probably because Drush is added during lando rebuild ... See for example Export configuration YAML strings as multiline where the patch from #64 doesn't apply.

Is it possible to somehow squeeze in application of patches such as this during install, before Drush is installed, with an extra parameter, like lando rebuild -y patch https://www.drupal.org/files/issues/2021-02-05/2844452-64.patch?

gitressa avatar Feb 06 '21 17:02 gitressa

... or perhaps drupal-contributions can check if a patch file is present, and if yes apply it during lando rebuild -y before, Drush is installed?

gitressa avatar Feb 07 '21 11:02 gitressa

A patch like Add new “Content Editor” role to Standard Profile (latest: #24) is also difficult to test, since the patch needs to be applied prior to installation.

gitressa avatar Mar 04 '21 11:03 gitressa