Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The Drupal Module Upgrader seems to have trouble finding modules if they are in sub-menus like modules/contrib/MODULE_NAME. Also it does not seem to detect sub-modules in the case of modules that exist within modules. I would suggest 1. Search all sub-folders to find the module path. In fact why not search the whole site for the modules so you can eliminate the "--path=" option? 2. Have a "-R" or "-r" option which analyzes or converts any submodules in the module's path.
Thank you for your efforts!
Cheers,
DaFreak
Comments
Comment #2
HongPong CreditAttribution: HongPong at kor group commentedThis is a very nice idea and patches welcome. I am moving it to a feature request since it is not a bug with the current version.
Also re path options, it is most reliable to just run the command against a module in /modules/ , not in subdirectories. I added note of this here: https://www.drupal.org/documentation/modules/drupalmoduleupgrader