Project machine name on d.org: template-picker (with a dash)
Module machine name: template_picker
These should if all possible match because it can cause issues with Drush, make, and other utilities that cannot resolve the mismatch. Typically what people have done is had to delete the existing repository and project, and re-create it with the proper namespace with an underscore.
Comments
Comment #1
bryanbraun commentedThanks for letting me know, Dave. I didn't even think about that when creating the project name. I'll look into your recommendation.
Comment #2
bryanbraun commentedJust a quick question. Wouldn't it be easier to rename the Module machine name across the module than to create a new Drupal.org project? What are the downsides to that approach?
Comment #3
rroyal commentedThis is still killing drush which just gets stuck in a loop:
$ drush en template-picker
template-picker was not found. [warning]
The following projects provide some or all of the extensions not found: [ok]
template-picker
Would you like to download them? (y/n): y
Install location sites/all/modules/contrib/template-picker already exists. Do you want to overwrite it? (y/n): y
Project template-picker (7.x-1.0-alpha1) downloaded to sites/all/modules/contrib/template-picker. [success]
Project template-picker contains a module named template_picker.
template-picker was not found. [warning]
The following projects provide some or all of the extensions not found: [ok]
template-picker
Would you like to download them? (y/n): y
Install location sites/all/modules/contrib/template-picker already exists. Do you want to overwrite it? (y/n): y
Project template-picker (7.x-1.0-alpha1) downloaded to sites/all/modules/contrib/template-picker. [success]
Project template-picker contains a module named template_picker.
template-picker was not found. [warning]
The following projects provide some or all of the extensions not found: [ok]
template-picker
Would you like to download them? (y/n): y
Install location sites/all/modules/contrib/template-picker already exists. Do you want to overwrite it? (y/n): y
Project template-picker (7.x-1.0-alpha1) downloaded to sites/all/modules/contrib/template-picker. [success]
Project template-picker contains a module named template_picker.
template-picker was not found. [warning]
The following projects provide some or all of the extensions not found: [ok]
template-picker
Would you like to download them? (y/n): y
Install location sites/all/modules/contrib/template-picker already exists. Do you want to overwrite it? (y/n): y
Project template-picker (7.x-1.0-alpha1) downloaded to sites/all/modules/contrib/template-picker. [success]
Project template-picker contains a module named template_picker.
template-picker was not found. [warning]
The following projects provide some or all of the extensions not found: [ok]
template-picker
Would you like to download them? (y/n):
Switch to underscore.
Comment #4
bryanbraun commentedAs part of the most recent update of this module, I've pushed it to a new project namespace. You can now find it at https://drupal.org/project/template_picker
This code at this namespace (/project/template-picker), will no longer be updated, so site maintainers may want to reinstall this module from the new path in order to receive future update information. For steps on how to do this, please update to the 7.x-1.0 version at this namespace, then follow the instructions in migrate.txt (a file included in the 7.x-1.0 update).
FYI, the 7.x-1.0 version at this namespace and the 7.x-1.0 version at the new namespace are functionally equivalent, with the only differences being database update hooks, and migration instructions.