Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
16 Jan 2013 at 03:14 UTC
Updated:
19 Mar 2013 at 03:00 UTC
This module implements hooks from the Geckoboard Push module and provides a range of statistical widget datasets for use on Geckoboard, we are developing this as part of an Open Source academy and it would be great to have this as a full project to get the students something real and tangible.
Project page: http://drupal.org/sandbox/Zombienaute/1889626
Git repo: Zombienaute@git.drupal.org:sandbox/Zombienaute/1889626.git geckoboard_push_statistics
Drupal 7 module.
Reviews of other projects:
Comments
Comment #1
vineet.osscube commentedHi,
first of all there are quite a few issues to sort out such as indentation, whitespace.
You can find them all here:
http://ventral.org/pareview/httpgitdrupalorgsandboxzombienaute1889626git
Here you can check source code whether it meets drupal coding standards or not, and advise you what to change in your code. You can repeat review after your commits, and can fix those errors.
Manual Review:
Please add README.TXT file which tell about module's description, configuration, help, etc.
Comment #2
monymirzaComment #3
acbramley commentedFixed all errors, added README.txt, pareview isn't complaining anymore so back to needs review :)
Comment #4
nikro commentedHi acbramley,
I'm pretty new to Geckoboard, this seems to be a simple and useful module.
If Geckoboard Push module was meant to leverage just the API, this module does the right thing. Otherwise I guess you should consider to integrate your two Geckoboard widgets into the Geckoboard Push module.
I think you should also update the project page and list the widgets your module offers (as a list) and also specify a ToDo list (what widgets are you planning to release in near-by feature).
README.txt
You're saying people should reffer to README.txt of another project, paste a link there towards the module.
geckoboard_push_statistics.module
General question: Maybe you want to make a configuration page where you can limit fetched rows to a specific number and also filter those by type?
Also consider using db_select (as recommendation because of these reasons) here:
$results = db_query("SELECT severity, count(severity) FROM {watchdog} GROUP BY severity");Use something like this:
There's not much code/functionality so far, so as it is it looks pretty good. I think it's up to others to decide whether this can be a stand-alone module or not.
Thanks.
Comment #5
nikro commentedComment #6
klausiNote: Do not use db_select() for simple static queries, use db_query() instead. See http://drupal.org/node/310075
Comment #7
nikro commented@klausi
For now it's simple and static, I was thinking that this module could also limit queries and select stuff from watchdog table according to specific selected type.
But to be honest I always thought that higher level db_select is always in favor of db_query, but I guess I was wrong, thanks :)
Comment #8
acbramley commentedThanks for the feedback, I'll get onto these changes asap. As I said in my first description, this module was developed by a group of students as part of an Open Source Academy so there's not much of a roadmap of sorts, although I'm happy to maintain and bring in any features/datasets that people suggest.
Comment #9
acbramley commented@Nikro thanks, have updated the readme and project page to your suggestions.
It doesn't make sense to allow limiting rows, or type on the watchdog messages as that would break the widget functionality (Geckoboard's API is incredibly specific on what you need to provide). So no need to convert db_query into db_select :)
Comment #10
acbramley commentedForgot to set back status
Comment #11
klausiWe are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and I'll take a look at your project right away :-)
Comment #11.0
acbramley commentedAdding other reviews
Comment #12
acbramley commentedAdding tag
Comment #13
klausiReview 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:
Looks RTBC to me. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Assigning to cweagans as he might have time to take a final look at this.
Comment #14
acbramley commentedCool, fixed README error. Would really appreciate getting this promoted.
Cheers.
Comment #15
cweagansHi acbramley,
This looks great! Thanks for your contribution!
Normally, this project would be too short to get you approved as a vetted git user, but as klausi mentioned, you have a significant number of other contributions as well. Given that, 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 #16.0
(not verified) commentedReviewed projects