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

dafreak created an issue. See original summary.

HongPong’s picture

Category: Bug report » Feature request

This 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