Problem/Motivation
Support upgrade of prototype 3.x to Drupal 10. If a site's theme is built using a 3.x version of prototype give an easier upgrade and maintenance path than having to completely rebuild the theme using the 4.x or 5.x branch
Steps to reproduce
Upgrade a site with a prototype based theme from Drupal 9 to 10
Proposed resolution
* Fix dependencies for Drupal 10: components 3.x
* Backport Drupal 10 compatibility fixes from 4.x/5.x to 3.x
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3416902-3.0-alpha1-drupal10.patch | 1.66 KB | miiimooo |
Issue fork prototype-3416902
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
miiimoooComment #3
miiimoooThe work for this was already done in the 3.x and 4.x branches.
This seems to work for now:
Comment #4
miiimoooI spoke to soon. After upgrade to D10 I realised that dev-4.x already includes a lot of the refactoring.
Here is the D10 patch re-rolled for 3.0-alpha1
Applies when doing
Comment #5
miiimoooThis works but referencing the commit instead of a working branch is ugly and really should avoided.
The underlying problem is that in 3.x two more commits were added (109da268 and 15ebbd47).
The first one of them introduces breaking changes since it moves everything from build/ to dist/
I would argue that this change warrants a new branch and that it should be removed from 3.x
The second change makes a path change which I'm not convinced it is required by 9.5
Please remove this also from the 3.x branch. Unless you can find a reference where the reason for this change is documented
Comment #6
miiimoooComment #11
miiimoooComment #12
miiimoooComment #14
pixelwhip commentedThanks for the work on this! Just wanted to let you know this is on our radar and will hopefully be able to review and move it along in the next couple days.
Comment #16
jldust commentedThank you for creating a patch, we have created an updated release that supports D10. Please use:
composer require 'drupal/prototype:^3.1@alpha'Comment #17
jldust commented