Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2012 at 00:34 UTC
Updated:
29 Jan 2013 at 21:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
sirkitree commentedbnewtonius++
Comment #2
q0rban commentedYou should use token placeholders in your t() usage, instead of concatenating strings. Otherwise, no one can actually translate the line, because it will be different for every delta. See this page for more details: http://drupal.org/node/322729 Otherwise, looks good! +1 :)
Comment #3
q0rban commentedWhoops, meant this page: http://drupal.org/node/322732
Comment #4
muneer1st commentedYou should Remove "version" from the info file, it will be added by drupal.org later on.
It appears you are working in the "master" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
Comment #5
bnewtonius commentedThanks for the advice! I'll get the version branch sorted out by this weekend, and hopefully the t() function.
Comment #6
bnewtonius commentedI've changed the .info file and the version branch to both be: 6.x-1.0-beta1
Comment #7
bnewtonius commentedI believe I've resolved all issues raised in this comment thread. t() function is now parameterized. I also did some cleanup to remove the redundant "token_boxes" in front of the token so that you don't have to type [token boxes token_boxes_foo_bar] and can now just use the shorter [token boxes foo_bar]. Lastly, I've added a bit more documentation on usage.
Comment #8
dev001 commentedManual review, fix these issues:
1. Definition doesn't exist for function boxes_load() in module file.
2. Readme file is not there in the git 6.x-1.x.
3. Hook implementation should be documented as such: http://drupal.org/node/1354#hookimpl
Comment #9
bnewtonius commentedThank you loginradius for reviewing my module. I've removed the 6.x-1.x branch from git, it's not needed yet. I also changed the hook documentation to match the comment formatting convention.
I'm not sure I understand the first one though. boxes_load is defined in the boxes module, which is listed as a dependency in the .info file. Is there something else I need to do to document this?
Thanks!
Comment #10
bnewtonius commentedComment #11
AtomicCharles commentedI like the simplicity of the module. It seems efficient and straightforward
The only things I would add would be to: (1) Add a README file and (2) Remove the version data from the .info file.
Comment #12
sreynen commentedI think you have this mixed up. A 6.x-1.x branch is the first thing you need. That's where you'll commit all updates between releases. When you're ready to do a release, you'll add a tag (not a branch) from the 6.x-1.x branch with a release number, e.g. 6.x-1.0-beta1.
Comment #13
bnewtonius commentedThanks sreynen. You're right and I see where I misread the documentation on branch and tag conventions. I've removed the beta1 branch. I also created a new branch from master called 6.x-1.x, moved my code into it, and committed it. I wanted the branch to be clean from master and not back from the beta1 branch.
Do I need to tag this branch now? I don't think there are any outstanding issues.
Comment #14
bnewtonius commentedI've also removed version from the .info file as well
Comment #15
drupaldrop commentedComment #16
bnewtonius commentedThanks for the feedback drupaldrop.
I read steps 6 and 7 in that guide, and it lists deleting the master branch as optional. I will double check to make sure that the 6.x branch is the default as well (thought I had already set that).
To see token filters under input formats, you'll need to install and enable the token_filters module: http://drupal.org/project/token_filter (as described in the "usage" and "examples of usage" sections on the projects landing page).
EDIT: I found the right option to set the default branch. It should now be correct. Thanks again for pointing that out.
Comment #17
ro-no-lo commentedI never heared of the boxes project, but I looked into your code anyway. 40 lines of code and no visual problems or violation of the drupal coding standard.
I would suggest to write the usage from your project page also into the README.txt, because there is the need of help.
Comment #18
sreynen commentedronan.orb, make sure to change the status to match your comment. Sounds like this should be "needs work" now.
Comment #19
ro-no-lo commentedNah, it's a nice to have. Not a requirement.
Comment #20
bnewtonius commentedNot a bad idea though. I'll try to get this added soon.
EDIT: Documentation added to the README.txt file.
Comment #21
sirkitree commentedI think this is really ready to go guys.
Comment #22
justafishagreed, this is ready for promotion.
Comment #23
sreynen commentedThanks for your contribution, bnewtonius!
I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewers as well.
Comment #24
bnewtonius commentedThanks sreynen!
Comment #26
bnewtonius commentedComment #26.0
bnewtonius commentedupdating the version number