Closed (fixed)
Project:
Drupal.org CVS applications
Component:
new project application
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Dec 2009 at 16:48 UTC
Updated:
13 Jan 2019 at 10:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pianomansam commentedInitial module upload
Comment #2
avpadernoComment #3
avpadernoThere is a Drupal function to get the actually directory where a module is installed.
There are Drupal functions thought to alter an existing database table.
Strings used in user interface should be in sentence case.
Those lines are already added by the packaging script, and should be removed.
Comment #4
avpadernoThere have not been replies from the OP in the past 7 days. I am marking this report as .
Comment #5
pianomansam commentedI believe I've corrected these issues. Please consider this module again.
Comment #6
zzolo commented@pianomansam, thanks for the application. The following points are just a start and do not encompass all of the changes that may be necessary for your approval. Also, a specific point may just be an example and may apply in other places.
There should be a space between the slashes and the comment. Also, keep comments no longer than 80 characters wide, taking into account indents.
All SQL keywords should be all caps, specifically "as" here.
if ($form["#id"] == "node-form") {
?>
This is what $form_id is for.
Why would you do this? The teaser is part of the body of the content in Drupal.
Oerall, pretty good, but I think you are going about this a little wrong. You should think about how Drupal would implement this if it was in core and how it can be the most flexible for other people.
--
Note: Please be patient with the CVS application process. It is all done by volunteers. Our goal is not to be arbitrarily slow or meticulous. Our goal is to get you CVS access and ensure that you are and will become a more responsible Drupal contributor. For a quick reference on what I look for in a code review, please see this article on what I look for.
Comment #7
avpadernoThere have not been replies in the past week. I am marking this application as .
Comment #8
pianomansam commentedI am reattempting to apply for a CVS account, this time with a different module. The previous one was abandoned.
My new module comes out of a need I had to control access to nodes based on a numeric CCK field and a user's profile field. There is a contributed module that uses taxonomy and roles, but not CCK and profiles. With taxonomy being used less and less in favor of CCK, it is important for applications that currently use Taxonomy Access for access control to move away from taxonomy and towards CCK. My module is a step in that direction.
What I am submitting today is 100% functional and meets my needs right now. It does not support, but I have plans for, an administrative interface, text CCK fields via a join table, and user roles instead of profile fields. I've considered providing default CCK field values, but that is already handled within CCK. Thank you for your time.
Comment #9
trungonly commented-
define1st parameter should be string.- Your files (.info, .module) must put $Id$ in the header for CVS info.
- You should implement admin interface now, unless the user must put their custom fields by hard code to the
definestatement in your module file.Comment #10
pianomansam commentedFiles now have $Id$. The admin interface will take some time to implement, so I plan on instructing users to hard code the variables in the define statements for now.
Comment #11
mlncn commentedHello pianomansam,
Tremendous apologies for the ridiculous delay here. Your module switch does make the review process more difficult :-)
I don't think it's documented anywhere, but it's an unwritten rule that modules hosted on drupal.org should not require any hacking (just like Drupal itself does not). In other words, if values should be changed, that (admittedly annoying to build) user interface is needed. (Personally, i'd rather we had a way to do that with config files and i hope we do some cool things with an API for settings in Drupal 8!)
As in zzolo's review, i think your first-submitted module is almost there.
Since the process is officially supposed to be evaluating applicants (currently, once you have access, projects don't again get a formal review), i am marking your CVS application as ready to be granted based on understanding of code, following of coding standards, and community awareness in trying to solve problems.
When you finally do get access— it will happen; and when we escape from CVS this won't even be an issue to get started— we know this process is bad and we're working to make it better — when you finally get access, try to only post projects you expect to be able to do a pretty complete job on finishing.
Comment #12
zzolo commentedCongrats, you are in!
Please read the following resources to make sure you know how to use CVS and the specifics to the Drupal CVS infrastructure, as well as how to be a good module maintainer on Drupal.org. The Drupal community is very large and dynamic; we welcome you as a module maintainer and hope that you embrace and challenge the Drupal community and continue to contribute.
Comment #15
avpaderno