diff --git a/.idea/orca.iml b/.idea/orca.iml index 5d5b9a767..9a199a060 100644 --- a/.idea/orca.iml +++ b/.idea/orca.iml @@ -132,6 +132,11 @@ + + + + + diff --git a/.travis.yml b/.travis.yml index 8667d69d3..754a4e346 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,7 +63,7 @@ jobs: # - { env: ORCA_JOB=INTEGRATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_DEV, name: "Integrated test on next major, latest minor dev Drupal core version" } - { env: ORCA_JOB=ISOLATED_UPGRADE_TEST_TO_NEXT_MAJOR_BETA_OR_LATER, name: "Isolated upgrade test to next major beta-or-later Drupal core version" } - { env: ORCA_JOB=ISOLATED_UPGRADE_TEST_TO_NEXT_MAJOR_DEV, name: "Isolated upgrade test to next major dev Drupal core version" } - - { env: ORCA_LIVE_TEST=TRUE, name: "Integrated live test" } + - { env: ORCA_LIVE_TEST=TRUE ORCA_PACKAGES_CONFIG= ORCA_PACKAGES_CONFIG_ALTER=, name: "Integrated live test" } allow_failures: - env: ORCA_JOB=DEPRECATED_CODE_SCAN_W_CONTRIB - env: ORCA_JOB=ISOLATED_TEST_ON_NEXT_MINOR_DEV @@ -73,7 +73,7 @@ jobs: - env: ORCA_JOB=ISOLATED_TEST_ON_CURRENT_DEV ORCA_ENABLE_NIGHTWATCH=TRUE before_install: - - nvm install 12.13.1; nvm use 12.13.1 + - nvm install 12.20.0; nvm use 12.20.0 - ../orca/bin/travis/self-test/before_install.sh - ../orca/bin/travis/before_install.sh diff --git a/bin/changelog.sh b/bin/changelog.sh deleted file mode 100755 index 2bfe65c4b..000000000 --- a/bin/changelog.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env bash - -# NAME -# changelog.sh - Generate a changelog. -# -# SYNOPSIS -# changelog.sh -# -# DESCRIPTION -# Generates a changelog using the GitHub Changelog Generator: -# https://github.com/github-changelog-generator/github-changelog-generator -# Only tested on macOS. - -cd "$(dirname "$0")/.." || exit - -GITHUB_CHANGELOG_GENERATOR=$(which github_changelog_generator | tail -1) -FUTURE_RELEASE=$(cat config/VERSION) - -set -v - -eval "$GITHUB_CHANGELOG_GENERATOR" \ - --base=docs/HISTORY.md \ - --user=acquia \ - --project=orca \ - --output=docs/CHANGELOG.md \ - --no-issues-wo-labels \ - --exclude-labels=duplicate,question,invalid,wontfix \ - --exclude-tags-regex='v[1-2].*' \ - --since-tag='v3.9.0' \ - --future-release="$FUTURE_RELEASE" \ - --release-branch=develop diff --git a/composer.json b/composer.json index be81894f8..fbeef958d 100644 --- a/composer.json +++ b/composer.json @@ -43,6 +43,7 @@ "symfony/config": "^4.1", "symfony/console": "^4.1", "symfony/dependency-injection": "^4.1", + "symfony/expression-language": "^5.4", "symfony/filesystem": "^4.1", "symfony/finder": "^4.1", "symfony/http-client": "^5.1", @@ -119,7 +120,6 @@ "@phpunit" ], "cghooks": "cghooks --ansi", - "changelog": "./bin/changelog.sh", "coverage": "phpunit --coverage-html var/coverage-report; open var/coverage-report/index.html", "open-coverage": "open var/coverage-report/index.html", "phan": "vendor/bin/phan -k phan.php --allow-polyfill-parser", diff --git a/composer.lock b/composer.lock index efe5fe0a1..4a473ae21 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "28da0c0a375a616294e4aaa3e36778c9", + "content-hash": "3ead7e84843f942d871746abf501605a", "packages": [ { "name": "acquia/coding-standards", @@ -1338,12 +1338,12 @@ } }, "autoload": { - "psr-4": { - "GuzzleHttp\\": "src/" - }, "files": [ "src/functions_include.php" - ] + ], + "psr-4": { + "GuzzleHttp\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1400,12 +1400,12 @@ } }, "autoload": { - "psr-4": { - "GuzzleHttp\\Promise\\": "src/" - }, "files": [ "src/functions_include.php" - ] + ], + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1493,12 +1493,12 @@ } }, "autoload": { - "psr-4": { - "GuzzleHttp\\Psr7\\": "src/" - }, "files": [ "src/functions_include.php" - ] + ], + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2018,12 +2018,12 @@ }, "type": "library", "autoload": { - "psr-4": { - "DeepCopy\\": "src/DeepCopy/" - }, "files": [ "src/DeepCopy/deep_copy.php" - ] + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3816,11 +3816,11 @@ } }, "autoload": { - "classmap": [ - "src/" - ], "files": [ "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -3857,6 +3857,55 @@ ], "time": "2021-09-25T07:38:51+00:00" }, + { + "name": "psr/cache", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/cache.git", + "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", + "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Cache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for caching libraries", + "keywords": [ + "cache", + "psr", + "psr-6" + ], + "support": { + "source": "https://github.com/php-fig/cache/tree/master" + }, + "time": "2016-08-06T20:24:11+00:00" + }, { "name": "psr/container", "version": "1.1.2", @@ -4074,12 +4123,12 @@ }, "type": "library", "autoload": { - "psr-4": { - "React\\Promise\\": "src/" - }, "files": [ "src/functions_include.php" - ] + ], + "psr-4": { + "React\\Promise\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5468,6 +5517,182 @@ ], "time": "2021-07-21T12:19:41+00:00" }, + { + "name": "symfony/cache", + "version": "v5.4.5", + "source": { + "type": "git", + "url": "https://github.com/symfony/cache.git", + "reference": "b954c9397b226df319c6dfd002636ddaa4d848ef" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/cache/zipball/b954c9397b226df319c6dfd002636ddaa4d848ef", + "reference": "b954c9397b226df319c6dfd002636ddaa4d848ef", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "psr/cache": "^1.0|^2.0", + "psr/log": "^1.1|^2|^3", + "symfony/cache-contracts": "^1.1.7|^2", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php73": "^1.9", + "symfony/polyfill-php80": "^1.16", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/var-exporter": "^4.4|^5.0|^6.0" + }, + "conflict": { + "doctrine/dbal": "<2.13.1", + "symfony/dependency-injection": "<4.4", + "symfony/http-kernel": "<4.4", + "symfony/var-dumper": "<4.4" + }, + "provide": { + "psr/cache-implementation": "1.0|2.0", + "psr/simple-cache-implementation": "1.0|2.0", + "symfony/cache-implementation": "1.0|2.0" + }, + "require-dev": { + "cache/integration-tests": "dev-master", + "doctrine/cache": "^1.6|^2.0", + "doctrine/dbal": "^2.13.1|^3.0", + "predis/predis": "^1.1", + "psr/simple-cache": "^1.0|^2.0", + "symfony/config": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/filesystem": "^4.4|^5.0|^6.0", + "symfony/http-kernel": "^4.4|^5.0|^6.0", + "symfony/messenger": "^4.4|^5.0|^6.0", + "symfony/var-dumper": "^4.4|^5.0|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Cache\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an extended PSR-6, PSR-16 (and tags) implementation", + "homepage": "https://symfony.com", + "keywords": [ + "caching", + "psr6" + ], + "support": { + "source": "https://github.com/symfony/cache/tree/v5.4.5" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-02-21T15:00:19+00:00" + }, + { + "name": "symfony/cache-contracts", + "version": "v2.5.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/cache-contracts.git", + "reference": "ac2e168102a2e06a2624f0379bde94cd5854ced2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/ac2e168102a2e06a2624f0379bde94cd5854ced2", + "reference": "ac2e168102a2e06a2624f0379bde94cd5854ced2", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "psr/cache": "^1.0|^2.0|^3.0" + }, + "suggest": { + "symfony/cache-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Cache\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to caching", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/cache-contracts/tree/v2.5.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-08-17T14:20:01+00:00" + }, { "name": "symfony/config", "version": "v4.4.30", @@ -6228,6 +6453,69 @@ ], "time": "2021-03-23T15:25:38+00:00" }, + { + "name": "symfony/expression-language", + "version": "v5.4.3", + "source": { + "type": "git", + "url": "https://github.com/symfony/expression-language.git", + "reference": "c68c6d1a308f6e2a1382bdb3a317959e1ee9aa08" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/expression-language/zipball/c68c6d1a308f6e2a1382bdb3a317959e1ee9aa08", + "reference": "c68c6d1a308f6e2a1382bdb3a317959e1ee9aa08", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/cache": "^4.4|^5.0|^6.0", + "symfony/service-contracts": "^1.1|^2|^3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\ExpressionLanguage\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an engine that can compile and evaluate expressions", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/expression-language/tree/v5.4.3" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-01-02T09:53:40+00:00" + }, { "name": "symfony/filesystem", "version": "v4.4.27", @@ -6878,12 +7166,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - }, "files": [ "bootstrap.php" - ] + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -6959,12 +7247,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Intl\\Idn\\": "" - }, "files": [ "bootstrap.php" - ] + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Idn\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -7044,12 +7332,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, "files": [ "bootstrap.php" ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, "classmap": [ "Resources/stubs" ] @@ -7131,12 +7419,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - }, "files": [ "bootstrap.php" - ] + ], + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -7208,12 +7496,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php72\\": "" - }, "files": [ "bootstrap.php" - ] + ], + "psr-4": { + "Symfony\\Polyfill\\Php72\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -7284,12 +7572,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, "files": [ "bootstrap.php" ], + "psr-4": { + "Symfony\\Polyfill\\Php73\\": "" + }, "classmap": [ "Resources/stubs" ] @@ -7363,12 +7651,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, "files": [ "bootstrap.php" ], + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, "classmap": [ "Resources/stubs" ] @@ -7446,12 +7734,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php81\\": "" - }, "files": [ "bootstrap.php" ], + "psr-4": { + "Symfony\\Polyfill\\Php81\\": "" + }, "classmap": [ "Resources/stubs" ] @@ -7792,6 +8080,79 @@ ], "time": "2021-09-24T15:59:58+00:00" }, + { + "name": "symfony/var-exporter", + "version": "v5.4.3", + "source": { + "type": "git", + "url": "https://github.com/symfony/var-exporter.git", + "reference": "b199936b7365be36663532e547812d3abb10234a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/b199936b7365be36663532e547812d3abb10234a", + "reference": "b199936b7365be36663532e547812d3abb10234a", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-php80": "^1.16" + }, + "require-dev": { + "symfony/var-dumper": "^4.4.9|^5.0.9|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\VarExporter\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Allows exporting any serializable PHP data structure to plain PHP code", + "homepage": "https://symfony.com", + "keywords": [ + "clone", + "construct", + "export", + "hydrate", + "instantiate", + "serialize" + ], + "support": { + "source": "https://github.com/symfony/var-exporter/tree/v5.4.3" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-01-02T09:53:40+00:00" + }, { "name": "symfony/yaml", "version": "v4.4.29", @@ -8301,12 +8662,12 @@ } }, "autoload": { - "psr-4": { - "BrainMaestro\\GitHooks\\": "src/" - }, "files": [ "src/helpers.php" - ] + ], + "psr-4": { + "BrainMaestro\\GitHooks\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -8626,14 +8987,14 @@ }, "type": "library", "autoload": { - "psr-4": { - "Sabre\\Event\\": "lib/" - }, "files": [ "lib/coroutine.php", "lib/Loop/functions.php", "lib/Promise/functions.php" - ] + ], + "psr-4": { + "Sabre\\Event\\": "lib/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -8695,12 +9056,12 @@ }, "type": "library", "autoload": { - "psr-4": { - "VarRepresentation\\": "src/VarRepresentation" - }, "files": [ "src/var_representation.php" - ] + ], + "psr-4": { + "VarRepresentation\\": "src/VarRepresentation" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ diff --git a/config/VERSION b/config/VERSION index 5ef3202ea..7341304a8 100644 --- a/config/VERSION +++ b/config/VERSION @@ -1 +1 @@ -v3.14.0 +v3.15.0 \ No newline at end of file diff --git a/config/packages.yml b/config/packages.yml index a55e25ccd..9f1abfdb5 100644 --- a/config/packages.yml +++ b/config/packages.yml @@ -36,9 +36,9 @@ # core version constraint is satisfied. Mappings are processed in order, and # the first match wins. # @see \Acquia\Orca\Tests\Fixture\PackageTest::testConditionalVersions -# - "enable": (internal) TRUE if the package is a Drupal module that should be -# automatically enabled or FALSE if not. Defaults to TRUE for modules. Always -# FALSE for anything else. +# - "enable": Whether to enable the extension in Drupal. Defaults to true for +# modules but can be overridden. Anything else is always false and cannot be +# overridden. # # These are converted to \Acquia\Orca\Fixture\Package objects by # \Acquia\Orca\Fixture\PackageManager. A different specification can be @@ -69,6 +69,9 @@ drupal/acquia_purge: drupal/acsf: [] +drupal/acsf_sso: + enable: false + drupal/acquia_search: version: 3.x version_dev: 3.x-dev diff --git a/config/services.yml b/config/services.yml index 3bacf9165..5822010ca 100644 --- a/config/services.yml +++ b/config/services.yml @@ -22,7 +22,7 @@ services: $clover_coverage: "%env(ORCA_COVERAGE_CLOVER)%" $default_phpcs_standard: "%env(ORCA_PHPCS_STANDARD)%" $fixture_dir: "%env(ORCA_FIXTURE_DIR)%" - $packages_config: "%env(ORCA_PACKAGES_CONFIG)%" + $packages_config: "@=container.hasParameter('ORCA_PACKAGES_CONFIG') ? parameter('ORCA_PACKAGES_CONFIG') : 'config/packages.yml'" $packages_config_alter: "%env(ORCA_PACKAGES_CONFIG_ALTER)%" $telemetry_is_enabled: "%env(bool:ORCA_TELEMETRY_ENABLE)%" public: true diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md deleted file mode 100644 index d4dc5496a..000000000 --- a/docs/CHANGELOG.md +++ /dev/null @@ -1,316 +0,0 @@ -# Changelog - -## [v3.14.0](https://github.com/acquia/orca/tree/v3.14.0) (2022-02-01) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.13.0...v3.14.0) - -- **Implemented enhancements:** - -- Update composer/composer to 2.2.x and allow Composer plugins [\#198](https://github.com/acquia/orca/pull/198) ([secretsayan](https://github.com/secretsayan)) -- Improve Drupal core Latest LTS version resolution [\#197](https://github.com/acquia/orca/pull/197) ([secretsayan](https://github.com/secretsayan)) - -**Fixed bugs:** - -- Make Nightwatch.js test detection more robust [\#194](https://github.com/acquia/orca/pull/194) ([secretsayan](https://github.com/secretsayan)) - -**Merged pull requests:** - -- Add acquia/memcache-settings [\#195](https://github.com/acquia/orca/pull/195) ([danepowell](https://github.com/danepowell)) -- Improve Comments on Version Selector for better understanding [\#193](https://github.com/acquia/orca/pull/193) ([secretsayan](https://github.com/secretsayan)) -- Add comment explaining Symfony kernel configuration [\#191](https://github.com/acquia/orca/pull/191) ([secretsayan](https://github.com/secretsayan)) -- Apply Composer library security update [\#192](https://github.com/acquia/orca/pull/192) ([secretsayan](https://github.com/secretsayan)) - -## [v3.13.0](https://github.com/acquia/orca/tree/v3.13.0) (2022-01-06) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.12.2...v3.13.0) - -**Fixed bugs:** - -- Support case where Drupal core does not have an LTS release [\#190](https://github.com/acquia/orca/pull/190) ([danepowell](https://github.com/danepowell)) - -**Merged pull requests:** - -- Allow INTEGRATED\_TEST\_ON\_LATEST\_LTS CI job to fail on GitHub Actions [\#188](https://github.com/acquia/orca/pull/188) ([TravisCarden](https://github.com/TravisCarden)) -- Modifying comments for better understanding [\#187](https://github.com/acquia/orca/pull/187) ([secretsayan](https://github.com/secretsayan)) -- Audit packages.yml and D8 EOL [\#175](https://github.com/acquia/orca/pull/175) ([danepowell](https://github.com/danepowell)) - -## [v3.12.2](https://github.com/acquia/orca/tree/v3.12.2) (2021-12-15) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.12.1...v3.12.2) - -**Fixed bugs:** - -- ORCA jobs not using latest Acquia CMS [\#186](https://github.com/acquia/orca/pull/186) ([danepowell](https://github.com/danepowell)) -- Code coverage support for non-module packages [\#179](https://github.com/acquia/orca/pull/179) ([danepowell](https://github.com/danepowell)) -- Fix phploc scanning of projects with no code [\#176](https://github.com/acquia/orca/pull/176) ([danepowell](https://github.com/danepowell)) - -## [v3.12.1](https://github.com/acquia/orca/tree/v3.12.1) (2021-12-08) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.12.0...v3.12.1) - -**Implemented enhancements:** - -- Improve error message on failure to find available package version [\#184](https://github.com/acquia/orca/pull/184) ([secretsayan](https://github.com/secretsayan)) - -**Fixed bugs:** - -- Jobs incorrectly allowed to fail [\#183](https://github.com/acquia/orca/pull/183) ([danepowell](https://github.com/danepowell)) - -**Merged pull requests:** - -- Protect against missing includes in example code [\#182](https://github.com/acquia/orca/pull/182) ([danepowell](https://github.com/danepowell)) - -## [v3.12.0](https://github.com/acquia/orca/tree/v3.12.0) (2021-11-29) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.11.0...v3.12.0) - -**Implemented enhancements:** - -- Bump PHP versions from 7.3 to 7.4 [\#181](https://github.com/acquia/orca/pull/181) ([TravisCarden](https://github.com/TravisCarden)) -- ORCA-228: Enable Coveralls for GitHub Actions [\#178](https://github.com/acquia/orca/pull/178) ([danepowell](https://github.com/danepowell)) - -**Merged pull requests:** - -- Document migration process from Travis CI to GitHub Actions [\#180](https://github.com/acquia/orca/pull/180) ([danepowell](https://github.com/danepowell)) -- Restrict media\_acquiadam versions [\#177](https://github.com/acquia/orca/pull/177) ([danepowell](https://github.com/danepowell)) - -## [v3.11.0](https://github.com/acquia/orca/tree/v3.11.0) (2021-11-11) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.10.1...v3.11.0) - -**Implemented enhancements:** - -- Migrate "allowed failure" functionality to ORCA core [\#174](https://github.com/acquia/orca/pull/174) ([danepowell](https://github.com/danepowell)) -- Remove cog theme from core packages [\#168](https://github.com/acquia/orca/pull/168) ([TravisCarden](https://github.com/TravisCarden)) -- Fix \#164: Remove composer.lock from fixtures [\#166](https://github.com/acquia/orca/pull/166) ([danepowell](https://github.com/danepowell)) -- ORCA-197: PHP 8 compatibility [\#163](https://github.com/acquia/orca/pull/163) ([danepowell](https://github.com/danepowell)) - -**Fixed bugs:** - -- Boolean environment variables broken in GitHub Actions [\#169](https://github.com/acquia/orca/pull/169) ([danepowell](https://github.com/danepowell)) - -**Merged pull requests:** - -- Boolean environment variables broken in GitHub Actions [\#169](https://github.com/acquia/orca/pull/169) ([danepowell](https://github.com/danepowell)) -- Add GitHub Actions custom script docs [\#167](https://github.com/acquia/orca/pull/167) ([danepowell](https://github.com/danepowell)) -- Make sed command in example .travis.yml more cross-platform portable [\#131](https://github.com/acquia/orca/pull/131) ([danepowell](https://github.com/danepowell)) - -## [v3.10.1](https://github.com/acquia/orca/tree/v3.10.1) (2021-10-01) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.10.0...v3.10.1) - -**Fixed bugs:** - -- Xdebug never disabled on Travis CI [\#159](https://github.com/acquia/orca/pull/159) ([danepowell](https://github.com/danepowell)) - -## [v3.10.0](https://github.com/acquia/orca/tree/v3.10.0) (2021-09-29) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.9.0...v3.10.0) - -**Implemented enhancements:** - -- Add project templates [\#156](https://github.com/acquia/orca/pull/156) ([danepowell](https://github.com/danepowell)) -- Remove dependency on BLT [\#155](https://github.com/acquia/orca/pull/155) ([danepowell](https://github.com/danepowell)) -- Stop on errors in \_includes.sh [\#153](https://github.com/acquia/orca/pull/153) ([danepowell](https://github.com/danepowell)) -- Support Github Actions [\#152](https://github.com/acquia/orca/pull/152) ([danepowell](https://github.com/danepowell)) - -**Fixed bugs:** - -- Don't run tests for project templates [\#158](https://github.com/acquia/orca/pull/158) ([danepowell](https://github.com/danepowell)) -- Use drupal-minimal-project for isolated tests [\#157](https://github.com/acquia/orca/pull/157) ([danepowell](https://github.com/danepowell)) -- Only run after\_failure.sh if $ORCA\_JOB is set [\#154](https://github.com/acquia/orca/pull/154) ([danepowell](https://github.com/danepowell)) - -**Merged pull requests:** - -- Document fix for Composer constraint conflicts with Acquia CMS [\#150](https://github.com/acquia/orca/pull/150) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.9.0](https://github.com/acquia/orca/tree/v3.9.0) (2021-07-13) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.8.0...v3.9.0) - -**Implemented enhancements:** - -- Add a PHP 8 Travis CI job [\#149](https://github.com/acquia/orca/pull/149) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.8.0](https://github.com/acquia/orca/tree/v3.8.0) (2021-06-14) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.7.2...v3.8.0) - -**Implemented enhancements:** - -- Add "qa:automated-tests --all" command option [\#147](https://github.com/acquia/orca/pull/147) ([TravisCarden](https://github.com/TravisCarden)) - -**Merged pull requests:** - -- Update acquia/coding-standards [\#148](https://github.com/acquia/orca/pull/148) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.7.2](https://github.com/acquia/orca/tree/v3.7.2) (2021-05-17) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.7.1...v3.7.2) - -**Fixed bugs:** - -- Fix integrated jobs running SUT-only tests on Travis CI [\#146](https://github.com/acquia/orca/pull/146) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.7.1](https://github.com/acquia/orca/tree/v3.7.1) (2021-05-04) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.7.0...v3.7.1) - -**Fixed bugs:** - -- Fix Drupal core 9.3.x becoming NEXT\_MINOR\_DEV too soon [\#145](https://github.com/acquia/orca/pull/145) ([TravisCarden](https://github.com/TravisCarden)) - -**Merged pull requests:** - -- Bump composer/composer from 2.0.10 to 2.0.13 [\#144](https://github.com/acquia/orca/pull/144) ([dependabot[bot]](https://github.com/apps/dependabot)) - -## [v3.7.0](https://github.com/acquia/orca/tree/v3.7.0) (2021-04-26) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.6.0...v3.7.0) - -**Implemented enhancements:** - -- Use ORCA's Composer bin for shell commands [\#143](https://github.com/acquia/orca/pull/143) ([TravisCarden](https://github.com/TravisCarden)) -- Add documentation and example for integrating private repositories with Coveralls [\#140](https://github.com/acquia/orca/pull/140) ([TravisCarden](https://github.com/TravisCarden)) -- Exclude MissingImport rule from PHPMD [\#133](https://github.com/acquia/orca/pull/133) ([danepowell](https://github.com/danepowell)) - -**Fixed bugs:** - -- Prevent scripts from using the wrong Composer version on Travis CI [\#141](https://github.com/acquia/orca/pull/141) ([TravisCarden](https://github.com/TravisCarden)) - -**Removed:** - -- Remove travis Ruby gem [\#142](https://github.com/acquia/orca/pull/142) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.6.0](https://github.com/acquia/orca/tree/v3.6.0) (2021-02-26) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.5.2...v3.6.0) - -**Implemented enhancements:** - -- Update versions of drupal/acquia\_connector and drupal/acquia\_search in packages.yml [\#139](https://github.com/acquia/orca/pull/139) ([japerry](https://github.com/japerry)) -- Add acquia/drupal-environment-detector to packages [\#132](https://github.com/acquia/orca/pull/132) ([danepowell](https://github.com/danepowell)) - -**Fixed bugs:** - -- Fix command not found error in before\_cache.sh [\#130](https://github.com/acquia/orca/pull/130) ([danepowell](https://github.com/danepowell)) - -**Merged pull requests:** - -- Update Composer libraries [\#138](https://github.com/acquia/orca/pull/138) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.5.2](https://github.com/acquia/orca/tree/v3.5.2) (2021-02-17) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.5.1...v3.5.2) - -**Fixed bugs:** - -- Fix "next minor" jobs installing old version of Drupal core [\#137](https://github.com/acquia/orca/pull/137) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.5.1](https://github.com/acquia/orca/tree/v3.5.1) (2021-02-12) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.5.0...v3.5.1) - -**Fixed bugs:** - -- Fix INTEGRATED\_TEST\_ON\_CURRENT\_DEV failures [\#136](https://github.com/acquia/orca/pull/136) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.5.0](https://github.com/acquia/orca/tree/v3.5.0) (2021-02-11) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.4.0...v3.5.0) - -**Implemented enhancements:** - -- Completely convert to Composer 2 [\#135](https://github.com/acquia/orca/pull/135) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.4.0](https://github.com/acquia/orca/tree/v3.4.0) (2021-01-29) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.3.0...v3.4.0) - -**Implemented enhancements:** - -- Update "health score" \(formerly "magic number"\) logic to account for config files [\#128](https://github.com/acquia/orca/pull/128) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.3.0](https://github.com/acquia/orca/tree/v3.3.0) (2021-01-22) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.2.0...v3.3.0) - -**Implemented enhancements:** - -- Use Composer 2 for fixture creation [\#126](https://github.com/acquia/orca/pull/126) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.2.0](https://github.com/acquia/orca/tree/v3.2.0) (2021-01-14) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.1.2...v3.2.0) - -**Breaking changes:** - -- Update libraries, incl. coding standards [\#124](https://github.com/acquia/orca/pull/124) ([TravisCarden](https://github.com/TravisCarden)) - -**Implemented enhancements:** - -- Update Drupal core version compatibility for drupal/mysql56 [\#125](https://github.com/acquia/orca/pull/125) ([TravisCarden](https://github.com/TravisCarden)) - -**Fixed bugs:** - -- Fix test runner trying to generate code coverage regardless of environment variable [\#122](https://github.com/acquia/orca/pull/122) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.1.2](https://github.com/acquia/orca/tree/v3.1.2) (2020-12-14) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.1.1...v3.1.2) - -**Fixed bugs:** - -- Add workaround for "Call to undefined method ::getAnnotations\(\)" error [\#120](https://github.com/acquia/orca/pull/120) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.1.1](https://github.com/acquia/orca/tree/v3.1.1) (2020-12-04) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.1.0...v3.1.1) - -**Fixed bugs:** - -- Fix NEXT\_MINOR\_DEV jobs fail when there's no NEXT\_MINOR Drupal core version yet [\#119](https://github.com/acquia/orca/pull/119) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.1.0](https://github.com/acquia/orca/tree/v3.1.0) (2020-11-19) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.0.0...v3.1.0) - -**Implemented enhancements:** - -- Replace PHPStan with drupal-check for deprecation testing [\#117](https://github.com/acquia/orca/pull/117) ([TravisCarden](https://github.com/TravisCarden)) -- Add support for PHPUnit 9 in Drupal 9.1 [\#116](https://github.com/acquia/orca/pull/116) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.0.0](https://github.com/acquia/orca/tree/v3.0.0) (2020-11-12) - -[Full Changelog](https://github.com/acquia/orca/compare/v2.11.4...v3.0.0) - -**Breaking changes:** - -- Implement new CI job spread to cover more Drupal core versions and scenarios [\#115](https://github.com/acquia/orca/pull/115) ([TravisCarden](https://github.com/TravisCarden)) -- Make default project template selection automatic based on core version [\#105](https://github.com/acquia/orca/pull/105) ([TravisCarden](https://github.com/TravisCarden)) - -**Implemented enhancements:** - -- Add preflight test for a "version" value in the SUT's composer.json [\#108](https://github.com/acquia/orca/pull/108) ([TravisCarden](https://github.com/TravisCarden)) -- Enable using other test coverage services than Coveralls [\#106](https://github.com/acquia/orca/pull/106) ([TravisCarden](https://github.com/TravisCarden)) -- Create new 'debug:guess-version' command [\#103](https://github.com/acquia/orca/pull/103) ([TravisCarden](https://github.com/TravisCarden)) -- Add support for test coverage tracking with Coveralls [\#101](https://github.com/acquia/orca/pull/101) ([japerry](https://github.com/japerry)) - -**Fixed bugs:** - -- Fix project template tests [\#113](https://github.com/acquia/orca/pull/113) ([danepowell](https://github.com/danepowell)) -- Fix broken 'fixture:init --symlink-all' option [\#102](https://github.com/acquia/orca/pull/102) ([TravisCarden](https://github.com/TravisCarden)) -- Fix/move report:code-coverage command [\#99](https://github.com/acquia/orca/pull/99) ([TravisCarden](https://github.com/TravisCarden)) -- Set Node.js to a version compatible with Drupal 9 + Nightwatch.js. [\#94](https://github.com/acquia/orca/pull/94) ([TravisCarden](https://github.com/TravisCarden)) -- Fix broken support for absolute package paths [\#93](https://github.com/acquia/orca/pull/93) ([TravisCarden](https://github.com/TravisCarden)) - -**Removed:** - -- Remove CUSTOM ORCA\_JOB [\#114](https://github.com/acquia/orca/pull/114) ([TravisCarden](https://github.com/TravisCarden)) - -**Merged pull requests:** - -- Update version of acquia/coding-standards [\#111](https://github.com/acquia/orca/pull/111) ([TravisCarden](https://github.com/TravisCarden)) - - -\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/docs/HISTORY.md b/docs/HISTORY.md deleted file mode 100644 index a429e30e5..000000000 --- a/docs/HISTORY.md +++ /dev/null @@ -1,187 +0,0 @@ -## [v3.9.0](https://github.com/acquia/orca/tree/v3.9.0) (2021-07-13) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.8.0...v3.9.0) - -**Implemented enhancements:** - -- Add a PHP 8 Travis CI job [\#149](https://github.com/acquia/orca/pull/149) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.8.0](https://github.com/acquia/orca/tree/v3.8.0) (2021-06-14) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.7.2...v3.8.0) - -**Implemented enhancements:** - -- Add "qa:automated-tests --all" command option [\#147](https://github.com/acquia/orca/pull/147) ([TravisCarden](https://github.com/TravisCarden)) - -**Merged pull requests:** - -- Update acquia/coding-standards [\#148](https://github.com/acquia/orca/pull/148) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.7.2](https://github.com/acquia/orca/tree/v3.7.2) (2021-05-17) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.7.1...v3.7.2) - -**Fixed bugs:** - -- Fix integrated jobs running SUT-only tests on Travis CI [\#146](https://github.com/acquia/orca/pull/146) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.7.1](https://github.com/acquia/orca/tree/v3.7.1) (2021-05-04) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.7.0...v3.7.1) - -**Fixed bugs:** - -- Fix Drupal core 9.3.x becoming NEXT\_MINOR\_DEV too soon [\#145](https://github.com/acquia/orca/pull/145) ([TravisCarden](https://github.com/TravisCarden)) - -**Merged pull requests:** - -- Bump composer/composer from 2.0.10 to 2.0.13 [\#144](https://github.com/acquia/orca/pull/144) ([dependabot[bot]](https://github.com/apps/dependabot)) - -## [v3.7.0](https://github.com/acquia/orca/tree/v3.7.0) (2021-04-26) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.6.0...v3.7.0) - -**Implemented enhancements:** - -- Use ORCA's Composer bin for shell commands [\#143](https://github.com/acquia/orca/pull/143) ([TravisCarden](https://github.com/TravisCarden)) -- Add documentation and example for integrating private repositories with Coveralls [\#140](https://github.com/acquia/orca/pull/140) ([TravisCarden](https://github.com/TravisCarden)) -- Exclude MissingImport rule from PHPMD [\#133](https://github.com/acquia/orca/pull/133) ([danepowell](https://github.com/danepowell)) - -**Fixed bugs:** - -- Prevent scripts from using the wrong Composer version on Travis CI [\#141](https://github.com/acquia/orca/pull/141) ([TravisCarden](https://github.com/TravisCarden)) - -**Removed:** - -- Remove travis Ruby gem [\#142](https://github.com/acquia/orca/pull/142) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.6.0](https://github.com/acquia/orca/tree/v3.6.0) (2021-02-26) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.5.2...v3.6.0) - -**Implemented enhancements:** - -- Update versions of drupal/acquia\_connector and drupal/acquia\_search in packages.yml [\#139](https://github.com/acquia/orca/pull/139) ([japerry](https://github.com/japerry)) -- Add acquia/drupal-environment-detector to packages [\#132](https://github.com/acquia/orca/pull/132) ([danepowell](https://github.com/danepowell)) - -**Fixed bugs:** - -- Fix command not found error in before\_cache.sh [\#130](https://github.com/acquia/orca/pull/130) ([danepowell](https://github.com/danepowell)) - -**Merged pull requests:** - -- Update Composer libraries [\#138](https://github.com/acquia/orca/pull/138) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.5.2](https://github.com/acquia/orca/tree/v3.5.2) (2021-02-17) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.5.1...v3.5.2) - -**Fixed bugs:** - -- Fix "next minor" jobs installing old version of Drupal core [\#137](https://github.com/acquia/orca/pull/137) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.5.1](https://github.com/acquia/orca/tree/v3.5.1) (2021-02-12) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.5.0...v3.5.1) - -**Fixed bugs:** - -- Fix INTEGRATED\_TEST\_ON\_CURRENT\_DEV failures [\#136](https://github.com/acquia/orca/pull/136) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.5.0](https://github.com/acquia/orca/tree/v3.5.0) (2021-02-11) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.4.0...v3.5.0) - -**Implemented enhancements:** - -- Completely convert to Composer 2 [\#135](https://github.com/acquia/orca/pull/135) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.4.0](https://github.com/acquia/orca/tree/v3.4.0) (2021-01-29) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.3.0...v3.4.0) - -**Implemented enhancements:** - -- Update "health score" \(formerly "magic number"\) logic to account for config files [\#128](https://github.com/acquia/orca/pull/128) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.3.0](https://github.com/acquia/orca/tree/v3.3.0) (2021-01-22) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.2.0...v3.3.0) - -**Implemented enhancements:** - -- Use Composer 2 for fixture creation [\#126](https://github.com/acquia/orca/pull/126) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.2.0](https://github.com/acquia/orca/tree/v3.2.0) (2021-01-14) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.1.2...v3.2.0) - -**Breaking changes:** - -- Update libraries, incl. coding standards [\#124](https://github.com/acquia/orca/pull/124) ([TravisCarden](https://github.com/TravisCarden)) - -**Implemented enhancements:** - -- Update Drupal core version compatibility for drupal/mysql56 [\#125](https://github.com/acquia/orca/pull/125) ([TravisCarden](https://github.com/TravisCarden)) - -**Fixed bugs:** - -- Fix test runner trying to generate code coverage regardless of environment variable [\#122](https://github.com/acquia/orca/pull/122) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.1.2](https://github.com/acquia/orca/tree/v3.1.2) (2020-12-14) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.1.1...v3.1.2) - -**Fixed bugs:** - -- Add workaround for "Call to undefined method ::getAnnotations\(\)" error [\#120](https://github.com/acquia/orca/pull/120) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.1.1](https://github.com/acquia/orca/tree/v3.1.1) (2020-12-04) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.1.0...v3.1.1) - -**Fixed bugs:** - -- Fix NEXT\_MINOR\_DEV jobs fail when there's no NEXT\_MINOR Drupal core version yet [\#119](https://github.com/acquia/orca/pull/119) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.1.0](https://github.com/acquia/orca/tree/v3.1.0) (2020-11-19) - -[Full Changelog](https://github.com/acquia/orca/compare/v3.0.0...v3.1.0) - -**Implemented enhancements:** - -- Replace PHPStan with drupal-check for deprecation testing [\#117](https://github.com/acquia/orca/pull/117) ([TravisCarden](https://github.com/TravisCarden)) -- Add support for PHPUnit 9 in Drupal 9.1 [\#116](https://github.com/acquia/orca/pull/116) ([TravisCarden](https://github.com/TravisCarden)) - -## [v3.0.0](https://github.com/acquia/orca/tree/v3.0.0) (2020-11-12) - -[Full Changelog](https://github.com/acquia/orca/compare/v2.11.4...v3.0.0) - -**Breaking changes:** - -- Implement new CI job spread to cover more Drupal core versions and scenarios [\#115](https://github.com/acquia/orca/pull/115) ([TravisCarden](https://github.com/TravisCarden)) -- Make default project template selection automatic based on core version [\#105](https://github.com/acquia/orca/pull/105) ([TravisCarden](https://github.com/TravisCarden)) - -**Implemented enhancements:** - -- Add preflight test for a "version" value in the SUT's composer.json [\#108](https://github.com/acquia/orca/pull/108) ([TravisCarden](https://github.com/TravisCarden)) -- Enable using other test coverage services than Coveralls [\#106](https://github.com/acquia/orca/pull/106) ([TravisCarden](https://github.com/TravisCarden)) -- Create new 'debug:guess-version' command [\#103](https://github.com/acquia/orca/pull/103) ([TravisCarden](https://github.com/TravisCarden)) -- Add support for test coverage tracking with Coveralls [\#101](https://github.com/acquia/orca/pull/101) ([japerry](https://github.com/japerry)) - -**Fixed bugs:** - -- Fix project template tests [\#113](https://github.com/acquia/orca/pull/113) ([danepowell](https://github.com/danepowell)) -- Fix broken 'fixture:init --symlink-all' option [\#102](https://github.com/acquia/orca/pull/102) ([TravisCarden](https://github.com/TravisCarden)) -- Fix/move report:code-coverage command [\#99](https://github.com/acquia/orca/pull/99) ([TravisCarden](https://github.com/TravisCarden)) -- Set Node.js to a version compatible with Drupal 9 + Nightwatch.js. [\#94](https://github.com/acquia/orca/pull/94) ([TravisCarden](https://github.com/TravisCarden)) -- Fix broken support for absolute package paths [\#93](https://github.com/acquia/orca/pull/93) ([TravisCarden](https://github.com/TravisCarden)) - -**Removed:** - -- Remove CUSTOM ORCA\_JOB [\#114](https://github.com/acquia/orca/pull/114) ([TravisCarden](https://github.com/TravisCarden)) - -**Merged pull requests:** - -- Update version of acquia/coding-standards [\#111](https://github.com/acquia/orca/pull/111) ([TravisCarden](https://github.com/TravisCarden)) diff --git a/docs/RELEASING.md b/docs/RELEASING.md index 627d09b67..450f252e7 100644 --- a/docs/RELEASING.md +++ b/docs/RELEASING.md @@ -2,20 +2,19 @@ For project maintainers. -1. Before committing to a release... +1. Make sure local `develop` and `main` branches are current with upstream. +2. Before committing to a release... 1. [Check the issue queue](https://github.com/acquia/orca/issues) for critical issues. 1. Search the codebase for important `@todo` comments. -1. Run automated tests with `composer coverage`. -1. Create a release tag with [Gitflow](https://github.com/nvie/gitflow): - 1. Make sure local `develop` and `main` branches are current with upstream. +3. Run automated tests with `composer coverage`. +4. Create a release tag with [Gitflow](https://github.com/nvie/gitflow): 1. Choose a [semantic version](https://semver.org/) number (`x.y.z`). 1. Start the release with `git flow release start x.y.z`. 1. Set the version to `x.y.z` in `config/VERSION` and commit. - 1. Update the changelog with `composer changelog` and commit. 1. Update `commands.md` with `composer update-docs` and commit. 1. Finish the release with `git flow release finish x.y.z`. 1. Return the version to dev in `config/VERSION`, i.e., `x.y.z-dev` and commit. 1. Push the release tag to GitHub along with the updated `develop` and `main` branches. -1. [Create a GitHub release.](https://help.github.com/articles/creating-releases/) +5. [Create a GitHub release.](https://help.github.com/articles/creating-releases/) 1. Set the tag version and release title both to the new version number. - 1. Use the changelog for the description. + 1. Consult previous releases for description format. diff --git a/docs/advanced-usage.md b/docs/advanced-usage.md index 458118320..16daba790 100644 --- a/docs/advanced-usage.md +++ b/docs/advanced-usage.md @@ -24,6 +24,8 @@ These affect ORCA in all contexts. * **`ORCA_PHPCS_STANDARD`**: Change the PHP Code Sniffer standard used by the `qa:static-analysis` and `qa:fixer` commands. Acceptable values are `AcquiaPHP`, `AcquiaDrupalStrict`, and `AcquiaDrupalTransitional`. See [Acquia Coding Standards for PHP](https://packagist.org/packages/acquia/coding-standards) for details. +* **`ORCA_SUT_DIR`**: Change the path where ORCA looks for the SUT. Accepted values are any valid directory path, e.g., `/var/www/example`, or `../example`. + * **`ORCA_TELEMETRY_ENABLE`**: Set to `TRUE` to enable telemetry with Amplitude. Requires [`ORCA_AMPLITUDE_API_KEY`](#ORCA_AMPLITUDE_API_KEY) and [`ORCA_AMPLITUDE_USER_ID`](#ORCA_AMPLITUDE_USER_ID) values. On Travis CI, only takes effect for cron events. ### Travis CI scripts diff --git a/src/Domain/Fixture/FixtureCreator.php b/src/Domain/Fixture/FixtureCreator.php index db3af8cb9..cad3c533a 100644 --- a/src/Domain/Fixture/FixtureCreator.php +++ b/src/Domain/Fixture/FixtureCreator.php @@ -229,7 +229,10 @@ private function fixDefaultDependencies(): void { if ($this->options->isDev()) { // Install the dev version of Drush. - $additions[] = 'drush/drush:dev-master || 10.x-dev || 9.x-dev || 9.5.x-dev'; + $additions[] = 'drush/drush:dev-master || 11.x-dev || 10.x-dev'; + } + else { + $additions[] = 'drush/drush'; } // Install a specific version of Drupal core. diff --git a/src/Domain/Fixture/SubextensionManager.php b/src/Domain/Fixture/SubextensionManager.php index e3cbc234f..66d4ac9f3 100644 --- a/src/Domain/Fixture/SubextensionManager.php +++ b/src/Domain/Fixture/SubextensionManager.php @@ -141,6 +141,8 @@ public function getByParent(Package $package): array { $name = $config->get('name'); + // Skip subextension if it has been removed with a NULL value in our + // alter data, for example, "drupal/example_subextension: ~". if (array_key_exists($name, $this->alterData) && $this->alterData[$name] === NULL) { continue; } @@ -157,8 +159,18 @@ public function getByParent(Package $package): array { 'enable' => $config->get('extra.orca.enable', TRUE), ]; + // Check if any subextension is disabled in packages.yml, + // for example, "drupal/example_subextension.enable: false". + if (array_key_exists($name, $this->topLevelExtensions)) { + $package_subextension = $this->topLevelExtensions[$name]; + $package_data['enable'] = $package_subextension->shouldGetEnabled(); + } + + // Checking for any alterations of a subextension mentioned in + // packages_alter.yml. if (isset($this->alterData[$name])) { $alter_data = array_intersect_key($this->alterData[$name], $package_data); + /* @noinspection SlowArrayOperationsInLoopInspection */ $package_data = array_replace($package_data, $alter_data); } diff --git a/src/Domain/Fixture/SutPreconditionsTester.php b/src/Domain/Fixture/SutPreconditionsTester.php index fefb137ed..955c774cf 100644 --- a/src/Domain/Fixture/SutPreconditionsTester.php +++ b/src/Domain/Fixture/SutPreconditionsTester.php @@ -131,7 +131,7 @@ private function validateComposerJsonName(): void { } /** - * Asserts the the SUT's composer.json does not specify a "version". + * Asserts the SUT's composer.json does not specify a "version". * * @throws \Acquia\Orca\Exception\OrcaException */