Skip to content

Releases: palantirnet/the-build

4.2.0

14 Oct 20:48
7f7be9e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.1.1...4.2.0

Updating to this release

If your project uses a custom version of acquia-get-backup or acquia-load-backup, it will continue to work as it did. However, if you want to use the version directly from the-build, make the following changes:

  • Update build.yml to include the correct settings for acquia-get-backup:
# Configuration for targets/acquia.xml
acquia:
  # Local path to store downloaded database backups.
  backups: 'artifacts/backups'
  # Site name as it appears in the Acquia Cloud list of applications.
  site: 'My Site'
  # Database name as it appears in the list of databases for the application.
  database: 'mysite'
  # Environment to pull database backup from (prod, test, or dev).
  env: prod
  • Ensure the following settings are correct in the project build.yml:
drupal:
  sites:
    default:
      # OPTIONAL: The Drupal database name defaults to the site's "dir" value.
      database:
        # DDEV's default first database name is "db".
        database: "db"

    # Defaults for all sites; these can be overridden for individual sites.
    _defaults:
      database:
        username: "db"
        password: "db"
        host: "db"

4.1.1

28 Aug 20:44
ba04c00
Compare
Choose a tag to compare

What's Changed

  • DEV-70: Update install node dependencies task in the build by @byrond in #238
  • DEV-74: Remove standard profile after installing the-build by @byrond in #239

Note: phing drupal-first-install (used in the the-build-installer script) now requires Drupal core 10.3 or greater, but palantirnet/the-build as a whole is still backwards compatible with other versions of Drupal 10.

Full Changelog: 4.1.0...4.1.1

Updating to this release

4.1.0

19 Aug 18:33
2901a56
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.0.4...4.1.0

Updating to this release

4.0.4

13 Mar 20:26
bb846cb
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.0.3...4.0.4

Updating to this release

4.0.3

29 Nov 21:40
1960a28
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.0.2...4.0.3

Updating to this release

4.0.2

16 Aug 22:21
d0c33df
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.0.1...4.0.2

Updating from 4.0.1

4.0.1

05 May 13:15
ffd9162
Compare
Choose a tag to compare

What's Changed

Updating from 4.0.0

Make the changes in #221 to your project's build.xml file.

Full Changelog: 4.0.0...4.0.1

4.0.0

22 Mar 13:52
b046dec
Compare
Choose a tag to compare

The goal of this release is to remove some of the templating functionality that makes palantirnet/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.

Deprecated phpcs config in the-build

Configuration for phpcs in The Build config has been deprecated and will be removed in version 4.2. The phpcs configuration items can be replaced by adding phpcs.xml to your project root. the-build-installer will take care of this for you, but you can manually copy it from https://github.com/palantirnet/the-build/blob/develop/defaults/install/phpcs.xml. You will also need to modify build.xml to remove the usage of the deprecated arguments from the code-review target as shown here:

https://github.com/palantirnet/the-build/pull/185/files#diff-95311ab2502812eaa859fffe6bf48d80be06038e2543b5f68f68078baf72baee

Updating from 3.x

This requires a change to the code-fix target in build.xml. You can either run vendor/bin/the-build-installer from your project root, or make the change manually. See the following diff for an example:
https://github.com/palantirnet/the-build/pull/168/files

Since settings.php templating has been removed, the latest version of these files should be copied into your project from the skeleton:
https://github.com/palantirnet/drupal-skeleton/tree/develop/docroot/sites/default

Any modifications of the previous settings files should be copied to the appropriate new file (customizations for host environments, local overrides, etc.). See the documentation in each new file for examples.

In order for Phing 2 to be patched properly to support relative symlinks, add cweagans/composer-patches as a project dependency (if it isn't already in use), and add the following line to composer.json:

"extra": {
    "enable-patching": true
}

Changes since 4.0-beta6:

  • TECH-33 Copy phpcs.xml to different path depending on host by @iajon in #211

All changes since 3.0.3

  • use --extensions instead of --ignore in "code-fix" target by @byrond in #168
  • Pull out settings.php templating by @becw in #170
  • Fix tests for the 4.x / "lite" changes by @becw in #172
  • Try updating to Phing 3. by @becw in #171
  • Update devel module to 4.1.x for D9 support. by @eric-schmidt in #176
  • Remove profiles/custom/ directory from code checks by @becw in #178
  • Patch Phing to fix relative symlinks by @byrond in #179
  • Automatically run drush inside of ddev by @becw in #174
  • Change the behat command to use depending on whether ddev is available. by @becw in #180
  • Use new CircleCI convenience image for PHP by @byrond in #177
  • Add drupal check dependency by @becw in #181
  • Fix shell script installer by @becw in #184
  • Fix php docker image name in installed circleci config by @byrond in #188
  • Support drush 11 by @agentrickard in #192
  • Fix the installer when using "other" by @byrond in #190
  • Move phpcs configuration from the-build into a phpcs.xml file by @becw in #185
  • Remove check for Composer files in styleguide by @byrond in #187
  • Fail build when there are errors by @byrond in #182
  • Update to PHP 8 by @becw in #194
  • explicitly disable Pantheon build step by @byrond in #199
  • Update coding standards in the-build. by @becw in #197
  • Update code standards and run checks on Circle by @agentrickard in #205
  • Make the_build_utility module compatible with Drupal 10 by @byrond in #201
  • Add config ignore module. by @emmacorn in #208
  • Tech 35 pantheon install by @agentrickard in #210
  • Update the-build to use headless chrome by @byrond in #212
  • TECH-33 Copy phpcs.xml to different path depending on host by @iajon in #211

New Contributors

Full Changelog: 3.0.3...4.0.0

4.0-beta6

02 Feb 19:50
Compare
Choose a tag to compare

Reverts a change that was inadvertently made to this repository.

Full Changelog: 4.0-beta5...4.0-beta6

4.0-beta5

01 Feb 15:40
60c2045
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.0-beta4...4.0-beta5