giza: Giza White Mage (Default)
[personal profile] giza
So, I wrote my first Drupal module over the weekend:

http://drupal.org/node/49053

The module is called "Sanity". When run, it checks your Drupal installation for any issues that might cause it to hog lots of CPU time. Hopefully others will find it useful.

(no subject)

Date: 2006-02-13 06:56 pm (UTC)
pyesetz: (Default)
From: [personal profile] pyesetz
Congratulations on your new free software contribution!  Yours is now one of 572 contributed modules at drupal.org.

I like this code report: "The else-clause at line 136 puts '}' and 'else' on the same line. To conform Drupal's coding conventions they should be on separate lines."  Drupal's convention is wrong—it looks better to say } else { as you have it.

Your program source says only "GNU Public License" without specifying a version number.  Your LICENSE file is GPL v2.  Are you copying Linus in his refusal to allow use of GPL v3 (when released) with your module?

(no subject)

Date: 2006-02-13 06:58 pm (UTC)
From: [identity profile] giza.livejournal.com
> I like this code report: "The else-clause at line 136 puts '}' and 'else' on
> the same line. To conform Drupal's coding conventions they should be on
> separate lines." Drupal's convention is wrong—it looks better to say } else
> { as you have it.

Where do you see that?

(no subject)

Date: 2006-02-13 10:47 pm (UTC)
pyesetz: (Default)
From: [personal profile] pyesetz
From the Drupal page you linked, click on "View code report" (left-hand column, near bottom).

(no subject)

Date: 2006-02-13 10:49 pm (UTC)
From: [identity profile] giza.livejournal.com

Heeeey, that's pretty hot! I'll be making some changes to that tonight!

Profile

giza: Giza White Mage (Default)
Douglas Muth

April 2012

S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930     

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags