Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 May 2014 at 22:58 UTC
Updated:
20 Oct 2015 at 16:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxmalcolmdaigle2249275git
We 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 #2
brice_gato commentedHello malcolm.daigle,
You sould put custom_stackdriver_metrics_install function into a custom_stackdriver_metrics.install file, and delete custom_stackdriver_metrics_help if you leave it commented.
Replace "admin" with a specific permission for admin/settings/custom_stackdriver_metrics (line 17) => use hook_permission
Comment #3
malcolm.daigle commentedThanks Brice. I made the changes you suggested.
Comment #4
dragonmantank commentedRunning drupalcs on it still returns a lot of errors that need taken care of.
One, which you've tried to fix, is the st() calls in the install file. While you're using $t = get_t(), you are still using st() directly. You should replace st() with $t() to clear that up.
In custom_stackdriver_metrics_send(), I would replace
"\n"withPHP_EOLto make sure it works correctly across all platforms and renders correctly in the terminal.In the same function, does the API return good error messages, or different error messages based on return code? You may want to check the actual return result instead of just dumping it out the client, in case the call fails.
Comment #5
malcolm.daigle commentedThank you for your suggestions dragonmantank.
Comment #6
malcolm.daigle commentedComment #7
matthias_mo commentedHi Malcolm!
Nice module! Here's my review/my suggestions:
echo custom_stackdriver_metrics_process_result($curl_result) . PHP_EOL;;' after each closing function curly bracket7.x-1.x-devis probably not necessary; development snapshot can be provided by project settings once it is a full project. See also branch naming conventions hereComment #8
matthias_mo commentedComment #9
malcolm.daigle commentedComment #10
malcolm.daigle commentedComment #11
malcolm.daigle commentedComment #12
malcolm.daigle commentedHey Matthias!
Thanks for taking the time to review my module.
I have made all the changes you suggested.
Comment #13
malcolm.daigle commentedComment #14
malcolm.daigle commentedComment #15
sanat.panda commentedHi,
PareView.sh (Automated testing) is showing some errors that needs to be taken care of.
Find the attached file for more information and do the need.
Sanat
Comment #16
klausiminor coding standard issues are not application blockers, please do a real manual review.
Comment #17
naveenvalechaRemoving tag.
Comment #18
andread commented* When module is enabled the message you are sending to enduser is not formated correctly, and says the following:
"
Custom Stackdriver Metrics' settings are available under <a href="/admin/settings/custom_stackdriver_metrics">Administer > Admin Index > Custom Stackdriver Metrics</a>"* Your settings page should be moved under the Configuration menu. And should be available from the modules page.
* You can enter anything for API key settings, and Drupal will say that configuration set. You should make a validation, and give an error message if the validation-code dosen't look right.
*You have to use hook_uninstall at variable_del() on the variables you have set.
Comment #19
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.