localgovdrupal / localgov

Installation profile for the LocalGov Drupal distribution.
GNU General Public License v2.0
81 stars 18 forks source link

[Meta] Drupal 11 support #764

Open stephen-cox opened 2 weeks ago

stephen-cox commented 2 weeks ago

Creating this as a meta issue to track Drupal 11 support.

As discussed at Merge Tuesday, we need to get an idea of how big a job fully supporting Drupal 11 will be. Hopefully, the code should largely support D11 now, so this is likely largely come down to checking contrib support.

Current state of Drupal 11 support:

Dependencies without Drupal 11 support:

Also see https://docs.google.com/spreadsheets/d/1QVDrKtLI1KuAeMfZRQpn0O7nCRX7w7fo0StFHXP58g8/edit?gid=0#gid=0

Issues:

PRs:

stephen-cox commented 2 weeks ago

@millnut I believe you have started this. Can you add an update on how far you've got with this?

I'll find some time to look at this, but I don't want to duplicate work that has been done so far.

millnut commented 2 weeks ago

Yep sure I've got all this compiled and should be able to post something for discussion.

As you mentioned @stephen-cox the biggest problem is where contrib modules have two versions, one for D10 and one for D11

millnut commented 1 week ago

@stephen-cox I've added a 4.x branch for the project which set drupal core to 11 and updates the workflow for just 4.x requirements https://github.com/localgovdrupal/localgov_project/tree/4.x I'm expecting this to fail to start with

millnut commented 1 week ago

@stephen-cox here is the file I've been looking at with notes on contrib module changes https://docs.google.com/spreadsheets/d/1QVDrKtLI1KuAeMfZRQpn0O7nCRX7w7fo0StFHXP58g8/edit?usp=sharing be good if we can upload to Google Docs so we can collab on it

stephen-cox commented 1 week ago

Thanks @millnut for the spreadsheet.

Looking at this it looks like the main D11 upgrade is blocked by the following contrib modules:

There are other contrib dependencies blocking upgrades to some of the other modules, but these are included by default.

We either need to wait for D11 support to be added to these modules or agree a workaround for them.

millnut commented 1 week ago

Thanks for looking through @stephen-cox I might look at contributing some patches on drupal.org for those and see if they get picked up