CVS edit link for toddgee

I want to add a theme I created for this site: http://lawyerjimfreeman.com/

See the blog page -- it's the module that generates the 'content archive' block. The module is called 'content_archive'. :^) It's a rip off of the 'blog archive' functionality on blogger.com blogs (e.g. see this one: http://chicagobikelaw.blogspot.com/ -- see 'Blog Archive' in right sidebar.)

CommentFileSizeAuthor
#1 content_archive.tar_.gz3.35 KBtoddgee

Comments

toddgee’s picture

StatusFileSize
new3.35 KB

Attached to this comment is the .tar.gz for the content_archive module I wrote.

toddgee’s picture

Status: Postponed (maintainer needs more info) » Active

making active

avpaderno’s picture

Status: Active » Needs review

I am changing status.

avpaderno’s picture

Status: Needs review » Needs work
Issue tags: +Module review

Hello, and thanks for applying for a CVS account. I am adding the review tags, and some volunteers will review your code, pointing out what needs to be changed.

As per http://drupal.org/cvs-application/requirements, the motivation message should be expanded to contain more details about the features of the proposed module, and it should include also a comparison with the existing solutions.

toddgee’s picture

well... The attached module generates the content archive as described in the description. It allows allows any content type to be listed thus -- the content type and the date field on which the content is displayed are configured in the administration screen. It supports the node date fields now and as soon as I need it it will support CCK date fields as well.

I hope you find the code well formatted and commented.

tod

toddgee’s picture

Status: Needs work » Needs review

transitioning back to 'Needs Review' -- forgot to w/ last comment....

toddgee’s picture

I was just re-reading the body of this issue and I noticed an typo -- I should read
"I want to add a MODULE I created for this site: http://lawyerjimfreeman.com/"
not 'theme'...

toddgee’s picture

how long should this process take? I realize it's done by volunteers and I absolutely commend the volunteers doing the work. I'm not complaining about any delay, just a query.

thanks,
tod

toddgee’s picture

hello?

toddgee’s picture

Status: Needs review » Active

trying to set to active to see it's a status thing.

avpaderno’s picture

Status: Active » Needs review

The status active is not used on this queue; the correct status is needs review, as the module needs to be reviewed by somebody.

toddgee’s picture

Ok... so when could I expect a review? Again, not buggin' but would like some idea of how long a wait I could expect. It's not all that big of a module; but useful, I think.

toddgee’s picture

hello?

yesct’s picture

Status: Needs review » Needs work

I'm not on the review team, but this feedback might be helpful:

just from a cursory glance just reading the motivation message, it seems that views could do what that module does. It might help the reviews to provide a comparison with what views can do, and how your module is different.

this module is it uses camelCase on variable names, for example line 63 in .module (see http://drupal.org/coding-standards
Functions and variables
Functions and variables should be named using lowercase, and words should be separated with an underscore. Functions should in addition have the grouping/module name as a prefix, to avoid name collisions between modules.)

in this module queries are not using the db_query() variable substitution method, for example line 77 in .module (see http://drupal.org/writing-secure-code
Instead, use proper argument substitution with db_query:

db_query("SELECT foo FROM {table} t WHERE t.name = '%s' ", $_GET['user']);

and the license wording in the .info file and README seems a bit odd.
http://drupal.org/cvs-application/requirements says "Your work must be licensed under the same license as Drupal, which is GPL version 2 or later (read why). Also, we do not allow committing third-party libraries to CVS, even if they are GPL (read why)." and i've seen some comments on other cvs applications like:
http://drupal.org/node/757644#comment-2848800 but I'm really not sure about this point.

I dont know if the same people who are on the cvs application review team are the same ones working like mad on d7 critical issues, but there seems to be a few people in a similar boat as you. :(

yesct’s picture

Also,
coding standards page links to: http://drupal.org/node/1354 which says
"All documentation and comments always form proper sentences and use proper grammar and punctuation."
several comments in this module are missing punctuation, some are missing capitals at the beginning of sentences, and some use appreviations (like config instead of configuration). I'm not sure how picky people are about this.

I've seen some references to wanting lines to wrap at 80 characters (like in comments). README has lines longer than 80 chars.

http://drupal.org/node/1354
also mentions using the @todo convention

Also, the .css file can probably have (it's one line) reformatted to match http://drupal.org/node/302199
CSS coding standards.

http://drupal.org/node/302199 also says .css files should have @file ... but on irc most people were surprised and many core .css files dont have @file, and someone said that api.d.o (or something) doesn't read the .css @files.

js coding standards: http://drupal.org/node/172169
I noticed for example the .js file in the module needs indents of 2 spaces. and a space before most {
might be some other things.
doesn't have any inline comments in the js code.

Not trying to be a pain, just figured maybe the review team would eventually says some of this stuff, and this might give you an advantage for when someone *does* look at your application.

avpaderno’s picture

@YesCT: Reviews are open to everybody; you are welcome to make review, and help with them.

toddgee’s picture

Thanks for the useful feedback! I'm a java developer by trade, and this is my first submitted module. (Which is a way to explain the camelCase and my other newbie mistakes.)

I'll roll a new version and re-submit.

avpaderno’s picture

Are there any updates on this?

avpaderno’s picture

Status: Needs work » Closed (won't fix)

There have not been replies in the past week. I am marking this application as won't fix.

avpaderno’s picture

Component: Miscellaneous » new project application
Issue summary: View changes

Please read the following links as this is very important information about CVS applications.

Drupal.org has moved from CVS to Git! This is a very significant change for the Drupal community and for these applications. Please read Migrating from CVS Applications to (Git) Full Project Applications and Applying for permission to opt into security advisory coverage on how this affects and benefits you and the application process. In short, every user has now the permissions necessary to create new projects, but they need to apply for opt into security advisory coverage. Without applying, the projects will have a warning on projects that says:

This project is not covered by Drupal’s security advisory policy.