diff --git a/CHANGELOG.md b/CHANGELOG.md index dc5f97d3..c8b11192 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Change Log +## 4.0-alpha1 + +The goal of this release is to remove some of the templating functionality that makes `planaitrnet/the-build` and `palantirnet/drupal-skeleton` harder to use and maintain. + +* Removed gitignore template +* Removed settings.php templating +* Changed how host-specific settings files are managed + +`palantirnet/drupal-skeleton` now contains the `settings.php` scaffolding for Drupal. + +The plan is to remove more templating/wrapping before releasing 4.0. + ## 3.0.3 - November 25, 2020 ### Fixed diff --git a/README.md b/README.md index a2f7dd19..1672e826 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,6 @@ $> vendor/bin/the-build-installer This will trigger an interactive prompt to configure your basic build properties, adding the following templated files and directories: * `.circleci/` -* `.gitignore` * `.the-build/` * `behat.yml` * `build.xml` diff --git a/defaults.yml b/defaults.yml index 4454f580..79c45968 100644 --- a/defaults.yml +++ b/defaults.yml @@ -14,13 +14,14 @@ build: # The destination host, either 'acquia', 'pantheon', 'platformsh', or 'other'. This is # currently only used when setting up the settings.php file for a Drupal site. - host: other + host: acquia # Drupal configuration used by targets/drupal.xml drupal: # Relative path to the Drupal web root. This is co-dependent with the composer installer # configuration in your `composer.json`. Use caution when changing this value. - root: web + # **This is a required value but must be set in a project's own build.yml file** + #root: web # Comma-separated list of directories that should be present for Drupal development. create_dirs: "${drupal.root}/modules/custom,${drupal.root}/themes/custom,${drupal.root}/profiles/custom,config/config_split/development,config/config_split/staging,config/config_split/production" @@ -52,8 +53,9 @@ drupal: dir: default # REQUIRED: Your site's URI; the default should be the URI of your local - # development environment. - uri: "https://${projectname}.local" + # development environment. This must be present in your + # .the-build/build.yml file. +# uri: "https://${projectname}.ddev.site" # Customizing the following values is OPTIONAL. If these values are not # explicitly configured, they will be set in the-build.xml based on the @@ -109,9 +111,9 @@ drupal: database: # This value is required, but a default is set in the-build.xml. # database: drupal - username: root - password: root - host: 127.0.0.1 + username: db + password: db + host: db # Configuration used by the default 'build' target. build: @@ -240,7 +242,7 @@ phpcs: # use the extensions option (below). This option should not be used with Coder >= 8.3.7, which only # checks php, inc, css, and js by default. ignore: "*.md" - + # Comma-separated list of extensions to check in the PHP_CodeSniffer review. extensions: "php,module,inc,install,test,profile,theme,css,info,txt,yml,js" diff --git a/defaults/install/build.xml b/defaults/install/build.xml index 563e8149..d3314fe1 100644 --- a/defaults/install/build.xml +++ b/defaults/install/build.xml @@ -43,21 +43,6 @@ - - - - - - - - - - - - - - - @@ -175,7 +160,7 @@ - - diff --git a/targets/the-build.xml b/targets/the-build.xml index 53e0038f..da0a7e57 100644 --- a/targets/the-build.xml +++ b/targets/the-build.xml @@ -34,9 +34,6 @@ - - - @@ -87,6 +84,8 @@ + +