Commit Graph

45 Commits

Author SHA1 Message Date
Michael Stenta cec7ed04d0 Update Drupal core to 10.2.3. 2024-02-07 20:30:55 -05:00
Michael Stenta 83b15287ba Update Drupal core to 10.2.2. 2024-01-17 15:41:04 -05:00
wotnak 8ce641adc5 Revert "Use phpunit instead of paratest."
This reverts commit 6a9c872e9b.
2024-01-11 13:00:57 -05:00
Michael Stenta 3c77ef281d Update Drupal core to 10.2.1. 2024-01-05 11:40:02 -05:00
Paul Weidner f3422c54e0 Update Drupal core to 10.2.0 2024-01-05 10:23:23 -05:00
Michael Stenta 60c96013d3 Update Drupal core to 10.1.6. 2023-11-01 15:15:46 -04:00
Michael Stenta 6a9c872e9b Use phpunit instead of paratest.
PostgreSQL tests fail because Drupal core patch is trying to install pg_trgm
extension in parallel multiple times.

Failed to run installer database tasks: Drupal could not check for the pg_trgm extension: SQLSTATE[23505]: Unique violation: 7 ERROR:  duplicate key value violates unique constraint "pg_extension_name_index"
DETAIL:  Key (extname)=(pg_trgm) already exists.: CREATE EXTENSION IF NOT EXISTS pg_trgm;
2023-10-30 12:07:29 -04:00
Michael Stenta 5e6a428eb9 Update Drupal core to 10.1.5. 2023-10-30 12:07:28 -04:00
Michael Stenta 112948ee0a Update to Drupal 10.0.4. 2023-10-30 12:07:28 -04:00
Michael Stenta ea4f3d45ef Remove comment about pinned phpspec/prophecy-phpunit dependency. 2023-10-27 13:27:01 -04:00
Michael Stenta 5d50affc86 Update drupal/core-dev dependencies. 2023-10-27 13:27:01 -04:00
Michael Stenta 637e2bf32a Update to Drupal 10.0.0. 2023-10-27 13:27:01 -04:00
Michael Stenta f46529783a Update Drupal core to 9.5.11 for SA-CORE-2023-006. 2023-09-20 14:03:08 -04:00
Michael Stenta 11c55434c0 Update Drupal core to 9.5.10. 2023-07-18 14:34:18 -04:00
Michael Stenta 4a84278a33 Update Drupal core to 9.5.9. 2023-05-19 09:22:57 -04:00
Michael Stenta 8d551450ab Update Drupal core to 9.5.8 for SA-CORE-2023-005.
See https://www.drupal.org/sa-core-2023-005
2023-04-19 14:10:18 -04:00
Michael Stenta e3d2a621bd Update Drupal core to 9.5.7. 2023-04-01 15:02:52 -04:00
Michael Stenta 65e6e47756 Update Drupal core to 9.5.5. 2023-03-15 14:11:06 -04:00
Michael Stenta 1f7c5687df Update Drupal core to 9.5.4. 2023-03-10 14:31:25 -05:00
Michael Stenta 6ea62c3560 Update Drupal core to 9.5.3. 2023-02-08 17:19:57 -05:00
Michael Stenta bf6dd6a938 Update Drupal core to 9.5.0. 2022-12-16 12:19:39 -05:00
Michael Stenta 8162430fee Update Drupal core to 9.4.9. 2022-12-15 17:29:42 -05:00
Michael Stenta 0c553608c7 Update brianium/paratest dev dependency to ^6 for PHP 8 support. 2022-11-28 08:50:29 -05:00
Michael Stenta 6770a05e33 Explode drupal/core-dev require-dev dependency into the minimum packages we need.
The drupal/core-dev package is simply a shortcut for including
dependencies necessary for running automated tests.
See https://github.com/drupal/core-dev/blob/9.4.x/composer.json

It is designed specifically for running Drupal core automated
tests. We used it as a simple way to get our automated tests
running initially, but it includes some dependencies that we do
not need.

It also pins some package versions, including symfony/finder and
symfony/filesystem. This caused an issue for us when we refactored
our composer.json files to use composer-merge-plugin. We got
around this issue by pinning symfony/finder to ^4.

See https://www.drupal.org/project/farm/issues/3239420
See bd33d0f139

Furthermore, in testing Drush 11, I discovered that a similar
conflict started occurring with symfony/filesystem (presumably
because Drush depends on that as well now). I eventually managed
to get it to work by pinning symfony/filesystem as well, but only
if I moved both pins to the root farmOS composer.json (it didn't
fix it if they were in composer.project.json). That is what
ultimately drove me to dig into this and decide to split up our
dependency on drupal/core-dev.

By removing the dependency on drupal/core-dev, we no longer have
the issue with symfony/finder, so that pinned dependency can
be removed.

I repeatedly ran tests with as few of the drupal/core-dev
dependencies as possible until tests started passing again. So
this final list represents the minimum requirements for our
tests.
2022-11-28 08:29:00 -05:00
Michael Stenta be1ec697f0 Update Drupal core to 9.4.8. 2022-11-25 13:15:24 -05:00
Michael Stenta 80c6516c76 Check PHP 7.4+ compatibility with PHPCompatibility codesniffer extension. 2022-11-12 12:30:30 -05:00
Michael Stenta 189e328cef Update Drupal core to 9.4.7. 2022-09-28 14:52:24 -04:00
Michael Stenta a0accbd38f Add PHPStan dependencies: phpstan/phpstan, phpstan/phpstan-deprecation-rules, phpstan/extension-installer, mglaman/phpstan-drupal. 2022-09-12 19:38:23 -04:00
Michael Stenta 6735d3228a Update Drupal core to 9.4.x #566 2022-09-12 09:09:22 -04:00
Michael Stenta bfbaabe726 Update Drupal core to 9.3.20. 2022-07-30 11:15:40 -04:00
Michael Stenta 83eb5df889 Update Drupal core to 9.3.19. 2022-07-20 14:54:03 -04:00
Michael Stenta e3110c8cec Update Drupal core to 9.3.16 for SA-CORE-2022-011. 2022-06-11 08:34:26 -04:00
Michael Stenta 97210231fa Update Drupal core to 9.3.15. 2022-06-02 12:19:12 -04:00
Michael Stenta 81da2ed9b3 Update Drupal core to 9.3.14 for SA-CORE-2022-010. 2022-05-26 08:15:30 -04:00
Michael Stenta a7c92b70b3 Update Drupal core to 9.3.12. 2022-04-20 21:26:14 -04:00
Michael Stenta 254d7f67be Update Drupal core to 9.3.9. 2022-03-21 18:52:26 -04:00
Michael Stenta 4739706648 Update Drupal core to 9.3.8. 2022-03-17 14:37:47 -04:00
Michael Stenta aea9fb8528 Update Drupal core to 9.3.7. 2022-03-03 11:44:54 -05:00
Michael Stenta eb6f1043da Update Drupal core to 9.3.6 for SA-CORE-2022-003 and SA-CORE-2022-004. 2022-02-16 12:47:50 -05:00
Michael Stenta 7cd8334340 Update Drupal core to 9.3.3. 2022-01-19 13:16:17 -05:00
Michael Stenta 5d39617e49 Update Drupal core to 9.3.2. 2022-01-14 15:01:52 -05:00
Michael Stenta 7309046c81 Update Drupal core to 9.3.0. 2021-12-09 06:20:01 -05:00
Michael Stenta 39a8ce0c33 Update Drupal core to 9.2.8 and remove the core patch that was merged upstream.
See https://www.drupal.org/project/drupal/issues/3192365
2021-11-03 14:32:16 -04:00
Michael Stenta b0a45f357b Include symfony/finder in require-dev to fix version pinning issue when using composer-merge-plugin.
Resolves:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - drupal/core-dev[9.2.0-alpha1, ..., 9.2.x-dev] require symfony/finder ^4.4 -> found symfony/finder[v4.4.0-BETA1, ..., 4.4.x-dev] but the package is fixed to v5.3.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires drupal/core-dev ~9.2.0 -> satisfiable by drupal/core-dev[9.2.0-alpha1, ..., 9.2.x-dev].
2021-09-28 13:54:43 -04:00
Michael Stenta bd33d0f139 Issue #3239420: Use composer-merge-plugin to manage project composer.json dependencies
This enables more of the dependencies and configuration that need to be
present in the root project composer.json to be managed in the farmOS
repository itself, including drupal/core-composer-scaffold and
drupal/core-dev, which should match the drupal/core version defined in
the farmOS composer.json.

Previously these were declared in the project composer.json template
in https://github.com/farmOS/composer-project. This configuraton is
used as a template when a new farmOS project is created via
`composer create-project farmos/project`, but after initial setup it
is maintained by the end user. This means that updates to the project
composer.json generally requires the end-user to make changes
manually. This would be required every time farmOS requires a minor
version update of Drupal core.

So instead, we can manage those update in this new composer.project.json,
and use wikimedia/composer-merge-plugin to merge that into the project
composer.json. This allows the project composer.json to be much simpler,
and therefore will require less frequent manual updates.
2021-09-28 13:54:43 -04:00