Hi,
You may not be aware that coding standards http://drupal.org/coding-standards state that lowercase function names and by implication module names should be used. (Class methods are another matter.) In certain situations (which I don't recall offhand!) things can go horribly wrong if uppercase is used.
There is also http://drupal.org/project/coder which will report many coding standards infringements no doubt!. Although adherence to the standards by contrib modules is not enforced you might want to consider it in order to make maintainability by the community easier and to reduce the likelihood of security vulnerabilities.
HTH!
Comment | File | Size | Author |
---|---|---|---|
#6 | seo_checklist-467944-6.patch | 65.62 KB | TravisCarden |
Comments
Comment #1
gpk CreditAttribution: gpk commentedFound it: #200628: Problem with update of mixed case module names.
Comment #2
redpuma CreditAttribution: redpuma commentedI agree with original post, here is why:
The naming of this module has caused me some pain while trying to include it in an install profile.
As the project is "http://drupal.org/project/seo_checklist" and the directory in my sites/all/modules directory also has that name (seo_checklist) it follows (like every other module) that I would add that same text into my install profile. And that's where it all falls down.
So I've now got this one exception where the machine name doesn't follow the convention.
Comment #3
Ben Finklea CreditAttribution: Ben Finklea commentedFixed in 2.0.
Comment #4
TravisCarden CreditAttribution: TravisCarden commentedAny chance of getting the module name to just match the project name (i.e.
seo_checklist
instead ofseochecklist
)? At least for the 7.x-3.x branch, which doesn't have a stable release out yet? I agree with @redpuma: it's a simple matter of predictability. If Idrush dl seo_checklist
I should be able todrush en seo_checklist
. It's just another WTF we can save people. I could help with a patch if it would be accepted.Comment #5
Ben Finklea CreditAttribution: Ben Finklea commentedYes, a patch would be super helpful!!!
Comment #6
TravisCarden CreditAttribution: TravisCarden commentedHere you go! :)
Comment #7
TravisCarden CreditAttribution: TravisCarden commentedThanks, all. This is fixed in the new 4.x release. Please try it out and give your feedback in the queue!