Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Please could you review my first contrib module for Drupal Commerce?
Its a custom module for the largest product aggregator - heureka.sk and heureka.cz.
It measures conversions and ask customers to review their shopping experience with an eshop they used.
the link to the project
https://drupal.org/sandbox/brnco/2271805
Git:
git clone git://git.drupal.org/sandbox/brnco/2271805.git
Comments
Comment #1
Noe_ CreditAttribution: Noe_ commentedIt doesn't pass pareview: http://pareview.sh/pareview/httpgitdrupalorgsandboxbrnco2271805git
On line 78 of the .module file you don't actually check if the request succeeded, so you don't need the $result variable.
However is would be better if you checked the response.
on Line 154 of the .module file shouldn't is be better to use drupal_add_js?
the .info file misses dependencies?
Also there is no core=7.x to tell Drupal that it is for D7.
Comment #2
Noe_ CreditAttribution: Noe_ commentedForgot to change the status.
Comment #3
brnco CreditAttribution: brnco commentedThanks Noe_ for quick review.
I updated the module.
Can you review again, please?
Comment #4
Noe_ CreditAttribution: Noe_ commentedIt still doesn't pass pareview: http://pareview.sh/pareview/httpgitdrupalorgsandboxbrnco2271805git
You only have a master branch and not a 7.x-1.x branch.
Your project page lacks content. It doesn't say what Heureka is, and how it should be used. Also it doesn't have a link to the heureka.sk or heureka.cz
I am sorry that I didn't mention this the first time, but I am also new to this reviewing ;)
Comment #5
brnco CreditAttribution: brnco commentedThanks,
now It passes pareview.
Description was extended.
Can you please review again?
Comment #6
Noe_ CreditAttribution: Noe_ commentedLooks good to me.
Comment #7
brnco CreditAttribution: brnco commentedOK, thanks for your time.
Are there some reviews by the others needed?
Comment #8
brice_gato CreditAttribution: brice_gato commentedHello brnco,
How commerce_heureka_pane_checkout_form function is called? is this a hook!? hook_pane_checkout_form doesn't exists unless I am mistaken.
Comment #9
brnco CreditAttribution: brnco commentedHello, its a hook_form
Comment #10
brnco CreditAttribution: brnco commentedComment #11
brnco CreditAttribution: brnco commentedComment #12
gisleSorry, brnco, that's not how it works.
Please note that you're not supposed to change the status to to Reviewed & tested by the community" (RTBC) yourself.
After you think you've fixed all the problems pointed out in a review, you change the status from "Needs work" to "Needs review". This indicates that you think the project is ready for a new review. You're not supposed to review your own project.
After the reviewer has had time to review the new version, he or she has two main options: To point out that there are still points that need to fixed, and set the status to "Needs work". Or to set the status to "Reviewed & tested by the community" to indicate that the reviewer now thinks the project is ready to be promoted into a full project. Note that this status in no guarantee of promotion. There may be other reviewers that disagree, and that may push it back down to "Needs work".
Also: The automated review of your project by PAReview has found some issues with your code. As coding standards make sure projects are coded in a consistent style we ask you to please have a look at the report and try to fix them.
There is no git clone command in your issue summary. There is a git link, but that is not the same as a git clone command.
Comment #13
brnco CreditAttribution: brnco commentedComment #14
brnco CreditAttribution: brnco commentedHello,
thanks for the info.
Now there has module passed succesfully pareview.
Comment #15
brnco CreditAttribution: brnco commentedComment #16
PA robot CreditAttribution: PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #17
klausson CreditAttribution: klausson commentedThe code comes back clean from PAreview. I checked the sources and only one thing grabbed my attention: The function "commerce_heureka_pane_checkout_form" implements a Drupal Commerce API hook, but does not declare this fact in the comment. The comment should probably comply with the standard form declaring what it implements and what the parameters are used for.
Other than that, I see nothing that needs attention.
Comment #18
klausson CreditAttribution: klausson commentedAutomated Review
Review of the 7.x-1.x branch (commit 1aa0887):
No issues found.
Manual Review
Comment #19
kscheirerNon-blocking issues:
Checked for security, licensing, duplication, use of Drupal API, and individual account, no issues found.
Thanks for your contribution, brnco!
I updated your account so you can 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 stay 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 reviewer(s) as well.