Hey Leighton, just a quick ping to say that we've updated the module package naming. All standalone contributed modules should use the Commerce (contrib) package name as indicated here:

http://www.drupalcommerce.org/development/standards#packages

Comments

Anonymous’s picture

I updated the name of the project, let me know if it is correct now. I've also added you as a maintainer.

Sincerely,
Leighton Whiting

rszrama’s picture

Cool, thanks Leighton. Did you commit to CVS yet?

sven.lauer’s picture

Status: Active » Fixed

Fixed in the repository.

klonos’s picture

Title: Change the module package to Commerce (contrib) » Change the module package to Commerce (contrib) - Do Not Capitalize Letters In Module's Name
Status: Fixed » Active

While at it, it should be "Commerce (bulk product creation)" instead of "Commerce (Bulk Product Creation)", in order to comply to drupal coding standards (only the first letter of the first word allowed to be capitalized). More info here: #1103208: Projects' names should be checked in .info files for correct capitalization.

klonos’s picture

+ proper tags too ;)

sven.lauer’s picture

Status: Fixed » Active

Thanks for catching this!

Fixed. Dropped the parens, too, as that seems to make sense.

sven.lauer’s picture

Status: Active » Fixed
klonos’s picture

...sorry to activate again, but you missed the parentheses there: "Commerce bulk product creation" should be "Commerce (bulk product creation)" because according to commerce contrib "satellite" modules naming suggestion - it should be in the form of Commerce (contrib module name).

PS: sorry if I am busting b@@ls here with my perfectionism.

sven.lauer’s picture

Status: Active » Fixed

Changed it back. And no apologies---that is what coding standards are for, after all.

I wonder though ... where do I find this recommendation? It's not at http://www.drupalcommerce.org/development/standards ...

klonos’s picture

...sure it's there: http://www.drupalcommerce.org/development/standards#packages

Actually I went through that article just now and located the specific paragraph. I think that I originally heard about it in a video from a drupalcon though. You'll see that exact naming being used in a bunch of other Commerce related projects out there ;)

sven.lauer’s picture

If I may nitpick myself ;):

What is talked about there is only the _package_ name (emphasis mine):

Commerce (_____) - projects with dependencies between the various modules in the package may consider their own package name using the same format but should otherwise default to Commerce (contrib)

And the following example makes that clear:

As an example exception, Commerce PayPal uses the Commerce (PayPal) package name, because each PayPal payment method is represented by a separate module that depends on a core PayPal module for IPN processing. It is helpful to the user to group these 4+ modules together with their dependency.

Note that the module name in this example is "Commerce PayPal" (no parens), while the suggested package name is "Commerce (PayPal)"---because PayPal may have multiple dependent modules that are usefully grouped together.

(I do believe that what you say is (at least a de facto) standard, but it does not say so in the coding/dev standards. If it is indeed the recommended package name, it should be clarified there.)

klonos’s picture

...that's right. I believe it was Ryan mentioning it in this video (also linked in Commerce project's page too) from DrupalCon Copenhagen.

rszrama’s picture

Yeah, you don't need to put the module name in parentheses. Also I see "Commerce" as a prefix or dependency designation, not so much part of the module name... so to throw even more confusion into this topic, you could call the module "Commerce Bulk product creation", "Commerce BPC", "Commerce Bulk Product Creation", or anything else you want. ; )

The only thing that really matters from a standards perspective is that the package name in the project's .info file is "Commerce (contrib)" so it gets lumped in with all the other contrib modules. : )

klonos’s picture

Ah, thanx for taking the time to clarify all this Ryan! All this time I was reading "package" and my mind was interpreting this to "project" somehow. Silly me ;)

...though the module names you suggest conflict with drupal naming/coding standards - but I understand you only mean to make a point. Actually, I think "Commerce BPC" is ok though (acronyms are an exception to the capitalization rule).

sven.lauer’s picture

Hm, I think I'll leave it as is for now. "Commerce BPC" is not a good choice, as it really is not descriptive.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

michelle’s picture

klonos’s picture

Status: Closed (fixed) » Closed (won't fix)

...yep, the standard has changed and it now allows (more likely suggests) Proper Name Case instead of the Sentence case for module/theme names. The Sentence case policy remains for UI text like widget labels for example.