Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 May 2012 at 09:15 UTC
Updated:
4 Jan 2014 at 02:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
patrickd commentedwelcome,
As installation and usage instructions are quite important for us to review, please take a moment to make your project page follow the tips for a great project page. Also create a README.txt that follows the guidelines for in-project documentation.
These points have to be fixed for now:
while waiting for an in-depht review of your module you can start out fixing some coding style issues detected by automated tools:
http://ventral.org/pareview/httpgitdrupalorgsandboxolmetadavid1550282git
We do really need more hands in the application queue and highly recommend to get a review bonus so we can come back to your application sooner.
regards
Comment #2
olmeta.david commentedThank you for your recommendation,
I didn't received the notification so that's why I reply late.
Since my last post, I corrected a lot of things about my module.
The problem is about the CMCIC_Tpe.inc.php that is largely based on the payment kit given by the bank.
I wanted, at the beginning, to let user to choose the process file (CMCIC_Tpe.inc.php or other) which will be used by the module, and that's why I didn't want to change all the code conventions used, but now, I wonder if it was a good idea...
So, I will rewrite as soon as possible this file to correspond to the Drupal notations.
Comment #3
olmeta.david commentedHello,
I've just finished to correct all recommendation by ventral (good tool !).
I will review some other modules now.
Thanks again.
Comment #4
cprouvot commentedYour sandbox project is empty! I need this payment method for Drupal Commerce so I can contrib to this module. Can you post a version of your module in your sandbox repository?
Comment #5
olmeta.david commentedHello,
I confirm that the sandbox is not empty.
Are you sure that you try to get files of the correct branch ?
The command line to get them :
git clone --recursive --branch 7.x-1.x http://git.drupal.org/sandbox/olmetadavid/1550282.git commerce_cmcicLet me know,
Comment #6
cprouvot commentedOk, It's better with the right branch! I check the module and I give you my feedback.
Comment #7
olmeta.david commentedAdd the "PAReview: review bonus" tag after making the 3 reviews.
Comment #8
klausiFirst: the "package" key in info files is not required and it is perfectly fine if modules live in the "Other" caegory. And please be more verbose in your reviews, just posting that the package is missing is not enough. When finishing your review comment also set the issue status either to "needs work" (you found some problems with the project) or "reviewed & tested by the community" (you found no flaws).
manual review:
require_once dirname(__FILE__) . '/mymodule.inc';Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #9
olmeta.david commentedOK, thanks for your recommendations.
I apply modifications and will be more attentive next time.
Comment #10
olmeta.david commentedJust for commerce_cmcic_schema(): the table is only used to store the informations that the bank server send (unfortunately, the dates is not a timestamps).
I store the informations as is.
For the "require_once" use, yes it works but you're right about the dirname(__FILE__) use. I will change this.
Thanks again,
Comment #11
olmeta.david commentedOK,
I've made all changes and all has been committed.
Comment #12
olmeta.david commentedFor information, I replace the 'require_once' by 'module_load_include() function, finally.
regards,
Comment #13
jygastaud commentedAccording to post #9, #10, #11, #12, I think status of the issue has been forgot to change to "need review".
So I switch it back.
Comment #14
jygastaud commentedComment #15
klausiSorry for the delay. Make sure to review more project applications and get a new review bonus and this will get finished faster.
There is still a master branch, make sure to set the correct default branch: http://drupal.org/node/1659588 . Then remove the master branch, see also step 6 and 7 in http://drupal.org/node/1127732
Review of the 7.x-1.x branch:
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.
manual review:
Is CmcicTpe.inc.php third party provided code or did you write that yourself? If the former, is it licensed under the GPL or GPL-compatible?
Comment #16
klausiComment #17
olmeta.david commentedThank you !
I know for the review bonus but I didn't have time to review more project. I reviewed 2 new projects for the moment... I try to do the third today ;-)
Okay, I fixed coding standards.
Now, I have to :
For information, yes, CmcicTpe.inc.php is a third party provided code.
This is provided by the bank and that's explains why things are not compatible with Drupal coding standards. I guess there is no problem with the licence (the bank provides mainly some examples of use of the API and not a file wich must be absolutely used by the system) but I check that.
Comment #18
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.
Comment #19
olmeta.david commentedComment #20
olmeta.david commentedReview of other projects :
http://drupal.org/node/1889102#comment-6941578
http://drupal.org/node/1635464#comment-6123294
http://drupal.org/node/1630686#comment-6112222
Comment #21
klausiPlease add all your reviews to the issue summary so that we can track them.
manual review:
require_once 'mymodule.inc';. Also elsewhere.The license file is a blocker, otherwise looks nearly ready to me. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #22
olmeta.david commentedHi,
All corrections have been applied except for the point 2, for which I don't understand where you want I add the t() function because for me, all text use it.
I'm reviewing 3 modules of the issue queue.
Comment #23
garphyI think the best option to integrate the required CM/CIC classes would be to use the Libraries API and require the user to put that code somewhere under sites/all/libraries.
Comment #24
olmeta.david commentedHello,
I think about it at the beggining of the project.
The main idea was to pick up the library supplied by the bank and put it into the sites/all/libraries but the file doesn't respect the Drupal notation.
I rewrite all the file to have clean code, that's why the library is currently located in the module.
++
Comment #25
jygastaud commented@garphy Your request make sense in case of other bank can have a different structure but it's look like the class provided is enough to work well for both banks targeted by the project.
I saw you put your request and patch in issue queue of the project so these is just a suggest and not a blocker to a full project review.
Also all comments (and the license files blocker point) looks to have been corrected.
Then I've seen a good comment in the issue queue #1898832: Order status should not be updated when payment is completed which says "I have been using the module in production for a few months and all works well, thanks a lot for your contribution! I think it is time you turn it into a full project."
I also think it's time for these module after 9 months!
Comment #26
garphyThis is obviously a suggest and by no means a blocker.
I've mostly completed the review in both cases. I just have to review the callback invocation from the bank.
I thought externalizing that piece of code would somehow make the licensing issues easier to manage.
I'll be more than happy to see that module officially promoted as a project !
Comment #27
klausiThanks for your contribution, olmeta.david!
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 reviewer(s) as well.
Comment #28.0
(not verified) commentedAdd the reviews made.