Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drupal 11 #159

Open
wants to merge 15 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .ddev/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ name: drupal-skeleton

# TODO: If the project uses Acquia hosting, use these settings.
docroot: docroot
mysql_version: "5.7"
mysql_version: "8.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@byrond The only question I have is how this is set. In another project I ran ddev debug migrate-database mysql:8.0 and I got the database setup like

database:
    type: mysql
    version: "8.0"

This as is worked and I build a D11 site so I guess this is fine. Just wanted to note the difference I saw.

webserver_type: apache-fpm

# TODO: If the project uses Pantheon or Platform.sh hosting, remove the Acquia settings
# and use these settings instead.
#docroot: web
#webserver_type: nginx-fpm
#mariadb_version: "10.3"
#mariadb_version: "10.6"

# TODO: Make sure this PHP version matches the project's hosting environment.
php_version: "8.2"
Expand Down Expand Up @@ -46,6 +46,7 @@ hooks:
# This allows ddev to manage its own settings.ddev.php file.
disable_settings_management: false

# TODO: Update to drupal11 when the option is available.
type: drupal10
router_http_port: "80"
router_https_port: "443"
Expand Down
23 changes: 11 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,21 @@
"require": {
"composer/installers": "^2.0",
"drupal/admin_toolbar": "^3",
"drupal/config_ignore": "2.x-dev",
"drupal/config_split": "^1",
"drupal/core-composer-scaffold": "^10",
"drupal/core-recommended": "^10",
"drupal/config_ignore": "^3",
"drupal/config_split": "^2",
"drupal/core-composer-scaffold": "^11",
"drupal/core-recommended": "^11",
"drupal/devel": "^5",
"drupal/workbench": "^1",
"drupal/workbench_tabs": "^1",
"drush/drush": ">=11"
"drupal/workbench": "^1.5",
"drupal/workbench_tabs": "^1.8",
"drush/drush": "^13"
},
"require-dev": {
"behat/behat": "^3.12",
"behat/mink-goutte-driver": "^2.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It sounds like we don't need this anymore. Is this correct?
https://packagist.org/packages/behat/mink-goutte-driver

Drupal already has https://packagist.org/packages/behat/mink-browserkit-driver as a requirement.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. Maybe there's more to do here:

In GoutteFactory.php line 66:

Install MinkGoutteDriver in order to use goutte driver.
https://circleci.com/gh/palantirnet/drupal-skeleton/708

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed by updating palantirnet/the-build@02cd8ee

"dmore/behat-chrome-extension": "^1.4",
"drupal/core-dev": "^10",
"drupal/drupal-extension": "^5@alpha",
"palantirnet/the-build": "^4@beta"
"drupal/core-dev": "^11",
"drupal/drupal-extension": "^5",
"palantirnet/the-build": "^4"
},
"suggest": {
"acquia/memcache-settings": "If your acquia project uses Cloud Platform (and not Cloud Next), add this package and update acquia settings file based on: https://docs.acquia.com/cloud-platform/performance/memcached/enable/#configuration-for-drupal-9-or-later .",
Expand All @@ -47,7 +46,7 @@
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "stable",
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"allow-plugins": {
Expand Down