From 0647f48316ff16d934dc81b32d727ee9172c55c6 Mon Sep 17 00:00:00 2001 From: Bec White Date: Fri, 12 Nov 2021 13:15:34 -0600 Subject: [PATCH 01/14] If this is a ddev project, and we're outside of ddev, run ddev's drush command. --- targets/the-build.xml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/targets/the-build.xml b/targets/the-build.xml index da0a7e57..f84705ee 100644 --- a/targets/the-build.xml +++ b/targets/the-build.xml @@ -87,11 +87,18 @@ - + - - - + + + + + + + + + + From 0118ae045d3d1c55857cb38b8d692a71006e3a69 Mon Sep 17 00:00:00 2001 From: Bec White Date: Fri, 12 Nov 2021 19:33:09 -0600 Subject: [PATCH 02/14] Do a different database connection check that will work with 'ddev drush ...' --- targets/drupal.xml | 39 ++++++++++++++------------------------- 1 file changed, 14 insertions(+), 25 deletions(-) diff --git a/targets/drupal.xml b/targets/drupal.xml index 91ddcaa0..98ee5d47 100644 --- a/targets/drupal.xml +++ b/targets/drupal.xml @@ -179,34 +179,23 @@ Or, you can specify the export file directly: From f781b238573657c2ad078293dfcdb200bb48306f Mon Sep 17 00:00:00 2001 From: Bec White Date: Fri, 12 Nov 2021 19:46:37 -0600 Subject: [PATCH 03/14] When installing the-build, update the ddev config to use the right project name. --- targets/install.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/targets/install.xml b/targets/install.xml index c2639781..83fb62ca 100644 --- a/targets/install.xml +++ b/targets/install.xml @@ -165,6 +165,9 @@ + + + + + From 5f03ba31d7c4b1b01e85535c27c815f55cfd02b4 Mon Sep 17 00:00:00 2001 From: Bec White Date: Tue, 16 Nov 2021 15:11:06 -0600 Subject: [PATCH 05/14] Fix validating clean config on CircleCI --- targets/drupal.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/targets/drupal.xml b/targets/drupal.xml index 98ee5d47..b49d27da 100644 --- a/targets/drupal.xml +++ b/targets/drupal.xml @@ -31,8 +31,11 @@ - - + + From 04ff99e04c22a5b11eb2df9262ec38e86e7bd5ac Mon Sep 17 00:00:00 2001 From: Bec White Date: Tue, 16 Nov 2021 15:22:09 -0600 Subject: [PATCH 06/14] Revert "Fix validating clean config on CircleCI" (this wasn't necessary) This reverts commit 5f03ba31d7c4b1b01e85535c27c815f55cfd02b4. --- targets/drupal.xml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/targets/drupal.xml b/targets/drupal.xml index b49d27da..98ee5d47 100644 --- a/targets/drupal.xml +++ b/targets/drupal.xml @@ -31,11 +31,8 @@ - - + + From e8dd7612a01bf14b43cdb19d695686806c3b529c Mon Sep 17 00:00:00 2001 From: Bec White Date: Tue, 16 Nov 2021 15:39:46 -0600 Subject: [PATCH 07/14] Revert "Do a different database connection check that will work with 'ddev drush ...'" -- this actually only works after Drupal is installed. This reverts commit 0118ae045d3d1c55857cb38b8d692a71006e3a69. --- targets/drupal.xml | 39 +++++++++++++++++++++++++-------------- 1 file changed, 25 insertions(+), 14 deletions(-) diff --git a/targets/drupal.xml b/targets/drupal.xml index 98ee5d47..91ddcaa0 100644 --- a/targets/drupal.xml +++ b/targets/drupal.xml @@ -179,23 +179,34 @@ Or, you can specify the export file directly: From b9a1634a5d95650f62f1f9681510f5ba9d007358 Mon Sep 17 00:00:00 2001 From: Bec White Date: Tue, 16 Nov 2021 15:46:35 -0600 Subject: [PATCH 08/14] Try adding escaped quotes to the db query when testing for a database connection. --- targets/drupal.xml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/targets/drupal.xml b/targets/drupal.xml index 91ddcaa0..e48ebd8c 100644 --- a/targets/drupal.xml +++ b/targets/drupal.xml @@ -183,10 +183,25 @@ Or, you can specify the export file directly: the permissions, the database will be created. -->