Hello
I want to test Drupal 9 and upgrade my sites.

I have a lot of modules in a multisite, and I have to check if them have Drupal 9 compatibility.

It is going to take a looong time.
Is there a way to check the Drupal 9 compability of each of the installed modules programatically (either enabled or disabled)?

Or maybe with a command line adding an option in

drush pml --option-to-show-drupal(x)-compatibility

(x) = v9 v10 ... vN

If there is not an option like this would be great for future versions

Thank you

Regards

Comments

jvr968’s picture

I will try the module

Thank you

jvr968’s picture

Hi,

I installed the module as you recommended via composer.

The only problem is that there are 156 not scanned Scan to find errors.

Unfortunatelly, I still have to do it manually for 156 modules

Thank you

Regards.

slewazimuth’s picture

Its not a drush module. I have it running on a bunch of 8.9.2 development sites. After installing it with composer, I enable the module. That is when 'Upgrade Status' shows up in the menu. If that is not happening for you then what comes to mind is that it wasn't installed on a Drupal 8 site. You might try contacting the module's author and/or looking at its issue cue.

jvr968’s picture

Hi,

I installed the module as you recommended via composer.

The only problem is that there are 156 not scanned Scan to find errors.

Unfortunatelly, I still have to do it manually for 156 contribute projects

I already installed composer_deploy

Is there a way to improve that?

Thank you

Regards.

slewazimuth’s picture

I initially used the module on custom D8 modules I wrote years ago and got them all updated and running on Drupal 9.02.  As a rule I generally allow the team(s) or individuals which authored the contrib modules to update them when they are ready. However, if you have your own DWIT AI system and modules...

ccjjmartin’s picture

Last I checked upgrade status was using drupal-check under the hood reference, and drupal-check is using PHP-Stan under the hood (a static code analyzer).  So there are some additional tools that can be used.  Just make sure you update to the latest version of Drupal 8 before running those checks so you get all of the deprecations appearing.