-
Notifications
You must be signed in to change notification settings - Fork 71
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
Audit code for Drupal 9 compatibility #1241
Comments
Another interesting looking tool: https://www.palantir.net/blog/jumpstart-your-drupal-9-upgrade-drupal-rector |
is there movement towards D9 now? |
Here's what I've come up with so far is needed for D9 migration (the list is not complete, but it's a start): Modules that need new releases (unless we're willing to ship with alpha/dev versions as the defaults): Other requirements:
|
I've heard this project plugged at Drupalcon: https://github.com/palantirnet/drupal-rector, it supposedly automates fixing 42% of deprecations from 8 -> 9. The general process for updating from 8 -> 9 is:
Helpful presentation slides from Drupalcon: https://slides.com/gaborhojtsy/state-of-drupal-9 |
I see JSON-LD has pending patches for 9.x automatically generated https://www.drupal.org/project/jsonld/issues/3140878 |
openseadragon depends on the libraries module which is d8 only |
https://github.com/Islandora/openseadragon/blob/8.x-1.x/composer.json references drupal/libraries:dev-3.x which is https://www.drupal.org/project/libraries and if i'm reading that readme correctly, its for external libraries?
|
although its possible we can find a different way. i'm not super familiar with the osd module |
wait isn't that what we're already doing? https://github.com/Islandora/openseadragon/blob/8.x-1.x/openseadragon.libraries.yml |
I don't know that we need the libraries module anymore since we shifted how it was installed a while ago. I would try removing it and see what happens. |
i tried uninstalling it and it was very unhappy with me...so then i tried a derp-y approach of clearing out the module files and just leaving the info.yml and the empty module and OSD viewer works. so i think i just borked the part about uninstall the module (probably because i'm already in d9 - i think if i had done the uninstall in d8, removed dependency and removed composer.json line, it might be ok) |
I'm very confused and lost... I am trying to install the OpenSeadragon module with composer on a fresh ISLE with D9 (an Isle with core islandora but no defaults, I messed that up I think) but it can't be satisfied. Possibly due to this libraries requirement, possibly something else? I'm sorry I don't understand composer enough to know where I'm allowed to poke to try to fix this, or if this is even something fixable. |
@rosiel can you send what the incompatibilities are? |
I'm sorry, I gave up and now stuff is blown away and will take a while to rebuild to get to that point. I was attempting to assemble the equilvalent of Islandora Defaults, but without Islandora Defaults. I was randomly using In general, I'm sorry, I don't know what I'm doing, and these comments usually come from frustration that I don't know where I am or if things are working or not. |
Are we good with our code being Drupal 9 compatible? If so, can this be closed? |
I'm good with closing it. |
Should we be periodically auditing our code to make sure that it is compatible with Drupal 9? There are a couple of contrib module to help with this, e.g.,
The text was updated successfully, but these errors were encountered: