i am so annoyed that this is at http://drupal.org/project/XHProf instead of http://drupal.org/project/xhprof that i just might use magical d.o powers and rename it.

...later, when i want to waste some time.

Comments

Letharion’s picture

I kinda have to agree with sdboyer here, I tried drush dl xhprof, and couldn't understand why it wouldn't work for a while. (Though talking to the maintainer first would be a nice thing to do) :)

Dave Reid’s picture

Agreed. This was very frustrating as our make files fail trying to find the correct project.

msonnabaum’s picture

Totally agreed. I didn't start this project, just adopted the namespace :)

Waiting for sam to save us.

scor’s picture

+1, especially since the module name is all lowercase, this project should be renamed for the sake of consistency.

erikwebb’s picture

Title: XHProf < xhprof » Rename XHProf namespace to consistent lowercase

I couldn't agree more here.

@sdboyer - Is there anything that can be done at the d.o level to redirect the old URL? I wouldn't want this to break existing makefiles or other links.

jyee’s picture

rename it!

This issue also has horrible drush ramifications. If you drush dl xhprof, you get an error that the project doesn't exist. If you drush en XHProf, you'll get an infinite loop of downloading XHProf, trying to enable it (which fails because the module is xhprof), then prompting to download again... and so on.

kbrinner’s picture

I just ran drush dl XHProf without any issue. It is annoying but just took a sec to figure out the issue with drush dl xhprof thanks to this thread. I'm not having any infinite loop issues.

eporama’s picture

This has been a bane for a number of people I have recently been helping. Just agreeing here as there isn't a "vote up" button along with the Follow. If we could do it as a link to not break make files or have to retrain those who already have it engrained.

Would love to see this become consistent

jrbeeman’s picture

Issue summary: View changes

This still breaks make files. Not sure how to get around it, unless I'm missing something...?

scor’s picture

+1. Note that drupal.org infra can now easily rename contributed modules to a new namespace. Just file an issue in the infra queue: https://www.drupal.org/project/issues/infrastructure

eporama’s picture

Status: Active » Needs review

As I can now get to the project in a case insensitive manner: https://www.drupal.org/project/xhprof

and drush worked completely fine with:

stable_d7 ((7.31)) $ drush en -y xhprof
xhprof was not found.       [warning]
The following projects provide some or all of the extensions not found:    [ok]
xhprof
Would you like to download them? (y/n): y
Project xhprof (7.x-1.0-beta3) downloaded to sites/all/modules/xhprof.         [success]
Project xhprof contains 2 modules: xhprof_mongodb, xhprof.
The following extensions will be enabled: xhprof
Do you really want to continue? (y/n): y
xhprof was enabled successfully.       [ok]
xhprof defines the following permissions: access xhprof data

is this still a problem?

donaldinou’s picture

Still a problem because in .info the name is in lowercase but in the drupal's project page it's not.
So the automatic localization is place here:
https://ftp.drupal.org/files/translations/7.x/XHProf/

not here:
https://ftp.drupal.org/files/translations/7.x/xhprof/

Still, it is possible to use the key "interface translation project" in .info