From 10a174e70b87eb9dd0e1b3dd365db1a5c576021a Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Thu, 29 Sep 2016 11:54:23 -0700 Subject: [PATCH 1/3] Added features bundle argument. --- phing/tasks/setup.xml | 4 +++- template/project.yml | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/phing/tasks/setup.xml b/phing/tasks/setup.xml index d9fa8ceee..41df33c87 100644 --- a/phing/tasks/setup.xml +++ b/phing/tasks/setup.xml @@ -272,7 +272,9 @@ drush - + + + diff --git a/template/project.yml b/template/project.yml index 201e11427..9d5414f75 100644 --- a/template/project.yml +++ b/template/project.yml @@ -58,6 +58,11 @@ target-hooks: dir: ${docroot}/profiles/contrib/lightning command: npm run install-libraries +# Configuration management options, such as core CM or features. +cm: + features: + bundle: blted8 + # Define any custom Phing files that you'd like to import. E.g., ${repo.root}/blt/phing/build.xml import: ~ From 69e8b45415a75f6aca2ae4f1af8c923d04a11d05 Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Thu, 29 Sep 2016 12:06:48 -0700 Subject: [PATCH 2/3] Patch features to support bundles. --- template/composer.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/template/composer.json b/template/composer.json index 52dd89093..4f1a6fd75 100644 --- a/template/composer.json +++ b/template/composer.json @@ -15,6 +15,7 @@ "drupal/cog": "~8", "drupal/console": "1.0.0-beta5", "drupal/core": "~8", + "drupal/features": "~8.3.0-beta9", "drupal/lightning": "~8", "drupal/memcache" : "8.*", "drupal/search_api": "8.1.0-alpha14", @@ -56,6 +57,9 @@ "patches": { "drupal/core": { "Ignore front end vendor folders to improve directory search performance": "https://www.drupal.org/files/issues/ignore_front_end_vendor-2329453-116.patch" + }, + "drupal/features": { + "Bundle support": "https://www.drupal.org/files/issues/features-2808303-2.patch" } } }, From b25ce7376bb9c643abc25b51374ec47ffc4c22ff Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Fri, 30 Sep 2016 11:51:40 -0700 Subject: [PATCH 3/3] Make features reverts optional. --- phing/tasks/setup.xml | 29 +++++++++++++++++------------ template/project.yml | 6 +++--- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/phing/tasks/setup.xml b/phing/tasks/setup.xml index 41df33c87..d305d6af9 100644 --- a/phing/tasks/setup.xml +++ b/phing/tasks/setup.xml @@ -263,18 +263,23 @@ - - - features - - - - drush - - - - - + + + + + + features + + + + drush + + + + + + + diff --git a/template/project.yml b/template/project.yml index 9d5414f75..e038f1b96 100644 --- a/template/project.yml +++ b/template/project.yml @@ -59,9 +59,9 @@ target-hooks: command: npm run install-libraries # Configuration management options, such as core CM or features. -cm: - features: - bundle: blted8 +# cm: +# features: +# bundle: blted8 # Define any custom Phing files that you'd like to import. E.g., ${repo.root}/blt/phing/build.xml import: ~