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.
The Trove module provides a simple API around the National Library of Australia Trove API service.
https://www.drupal.org/sandbox/bren001/2139829
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/bren001/2139829.git trove
Manual reviews of other projects
Comment | File | Size | Author |
---|---|---|---|
#34 | coder-results.txt | 4.69 KB | klausi |
#12 | pareview.sh_results.jpg | 117.22 KB | SwapS |
Comments
Comment #1
PA robot CreditAttribution: PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxbren0012139829git
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
bren001 CreditAttribution: bren001 commentedI've addressed missing comments and comment formatting as reported by pareview.sh, however, a large number of reported errors remain. As this a a views query plugin and subclassed the views handlers and plugin classes, I'm using the views names and naming conventions. These remaining errors all relate to this subclassing.
Comment #3
bren001 CreditAttribution: bren001 commentedComment #4
ricovandevin CreditAttribution: ricovandevin commentedHi! Thanks for your contribution!
I've performed a code review for your project. It looks clean to me and the README.txt is well written.
I did not test whether or not the module is working as expected since I would have to register to get an API key. This might be a problem for more reviewers. Can't we create one account with an API key that can be used by all reviewers?
As it comes to documentation you might want to consider the following:
Comment #5
bren001 CreditAttribution: bren001 commentedThanks you for your review and feedback ricovandevin.
Your suggestions regarding the use of one or both modules is great and something I did overlook. I've added some developer documentation and description of how to use one or both modules.
Thanks again.
Comment #6
bren001 CreditAttribution: bren001 commentedComment #7
xtfer CreditAttribution: xtfer commentedI have a few suggestions for you:
I'm happy to help with any of those refactoring tasks, if you wish.
Comment #8
bren001 CreditAttribution: bren001 commentedThanks xtfx, your suggestions are much appreciated.
On your suggestion to move the API component to a public repo and load via composer, is this a reasonably expectation of D7 sites? I understand it's the D8 way and I do want to get a D8 version of this module in place eventually.
I'll implement you're suggestions and would love to take you up on your offer of help with review/advice.
Thanks again.
Comment #9
PA robot CreditAttribution: 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.
Comment #10
bren001 CreditAttribution: bren001 commentedComment #11
bren001 CreditAttribution: bren001 commentedI've split the Trovequery module out, leaving just this TroveAPI module. There has also been work refactoring the Trove module, adding registry_autoload for PSR-4 autoloading. I've incorporated most of @xtfr's suggestions, including complying with the coding and documentation standards.
I'm providing a temporary API key for anyone wishing to review this module:
Thank you.
Comment #12
SwapS CreditAttribution: SwapS commentedAutomated Review
http://pareview.sh/ -- has coder finding . Please work on those.
Manual Review
Individual user account
Yes: Follows the guidelines for individual user accounts.
No duplication
Yes: Stands valid here.
Master Branch
Yes: Follows the guidelines for master branch.
Licensing
Yes: Follows the licensing requirements.
README.txt/README.md
Yes: Follows the guidelines for in-project documentation and/or the README Template.
Coding style & Drupal API usage
looks Good.
Comment #13
SwapS CreditAttribution: SwapS commentedComment #14
klausiThose pareview issues alone are surely not application blockers, anything else that you found or should this be RTBC instead?
Comment #15
SwapS CreditAttribution: SwapS commented@klausi : Haven't yet tested the module by downloading ...Had a walk through code check . Look good . Would surely want to do a Dev test before RTBC.
Thanks,
SwapS
Comment #16
bren001 CreditAttribution: bren001 commentedThanks for reviewing @SwapS, those preview issues are all line length issues. Each reported issue relates to a line in a comment that contains a long URL for related help, e.g:
57 | WARNING | Line exceeds 80 characters; contains 121 characters
ingers crossed we can get this to RTBC
Comment #17
chandrasekhar539 CreditAttribution: chandrasekhar539 commentedAutomated Review
http://pareview.sh/ -- has coder finding . Please work on those.
Please make sure that characters not exceeds the above 80 characters
Manual Review
In Trove.module
it is good to use dynamic queries instead of static quiries
db_query("SELECT nuc, name
FROM {trove_contributors}")
trove.install
Please make sure that characters not exceeds the above 80 characters
README.txt
Please make sure that characters not exceeds the above 80 characters
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
Comment #18
bren001 CreditAttribution: bren001 commentedThanks @chandrasekhar539. I've addressed the offending query, it was redundant and has been removed. As stated in earlier comments, the automated review issues relate to a lines in comments that contains a long URL for related help.
Comment #19
zakir.gori CreditAttribution: zakir.gori as a volunteer and commentedPlease do the following changes
FILE: /trove.module
----------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
----------------------------------------------------------------------
57 | WARNING | Line exceeds 80 characters; contains 121 characters
83 | WARNING | Line exceeds 80 characters; contains 130 characters
147 | WARNING | Line exceeds 80 characters; contains 130 characters
166 | WARNING | Line exceeds 80 characters; contains 130 characters
----------------------------------------------------------------------
FILE: .../trove/TroveApiNewspaperTitle.php
---------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------
4 | WARNING | Line exceeds 80 characters; contains 85 characters
---------------------------------------------------------------------------
FILE: /README.txt
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
----------------------------------------------------------------------
56 | WARNING | Line exceeds 80 characters; contains 85 characters
68 | WARNING | Line exceeds 80 characters; contains 120 characters
----------------------------------------------------------------------
Comment #20
kattekrab CreditAttribution: kattekrab as a volunteer commentedAs the poster has said many times, the line length reports can be ignored due to a long URL provided for additional help. Please read proceeding comments when giving your reviews.
This would be a very useful module if we can get it through the review process. It seems to have languished in the queue a little. What else is needed for RTBC at this point?
Comment #21
kattekrab CreditAttribution: kattekrab as a volunteer commented@bren001 - are we likely to need a new API key for testing? Or will the temp key you posted almost a year ago still work?
Comment #22
kattekrab CreditAttribution: kattekrab as a volunteer commentedand in the meantime, this module is available on github
https://github.com/bren2000/trove
Comment #23
kattekrab CreditAttribution: kattekrab as a volunteer commentedand in the meantime, this module is available on github
https://github.com/bren2000/trove
Comment #24
cafuego CreditAttribution: cafuego at Creative Contingencies commentedI've tested the module with the provided API key and it looks to work as advertised :-)
Tested:
So I see no reason why this shouldn't be a full project.
Comment #25
bren001 CreditAttribution: bren001 commentedThank you @cafuego and @kattekrab. Great to see movement here.
@kattekrab now I can push the trovequery views module forward too. Would love to see it used in the wild and we can see if the National Library and Trove would like to promote it's use.
Comment #26
naveenvalechaAssigining to myself for next review that may be tonight
Comment #27
naveenvalechaReview of the 7.x-1.x branch (commit 6247d3d):
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.
http://pareview.sh/pareview/httpgitdrupalorgsandboxbren0012139829git-7x-1x
Manual Review :
it would be really helpful to add a example submodule which provides the examples/usecases of the api usage.yeah there are couple of good examples in Readme file.
Rest looks good to me.
Please take a review bonus before next review.Assiging to klausi to give it a look when he gets time
Edit : You should fix above issues first and get another review bonus by manual reviews of 3 modules that would help speed up the process.
Comment #28
bren001 CreditAttribution: bren001 commentedThank you @naveenvalecha.
Changes made in response to your review:
I've also added a very simple example submodule.
One question: What do you mean by 'Please take a review bonus before next review'. I understand the review bonus system but not that statement.
Thanks again.
Comment #29
naveenvalechaEdited the comment.
Comment #30
bren001 CreditAttribution: bren001 commentedComment #31
bren001 CreditAttribution: bren001 commentedComment #32
bren001 CreditAttribution: bren001 commentedComment #33
bren001 CreditAttribution: bren001 commentedComment #34
klausiReview of the 7.x-1.x branch (commit 49ff23b):
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:
Otherwise looks good to me.
Thanks for your contribution, Brendon!
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.
Comment #35
bren001 CreditAttribution: bren001 commentedThank you @klausi, and to all who reviewed. Great to get this over the line. Looking forward to contributing more back to Drupal.
Comment #36
kattekrab CreditAttribution: kattekrab as a volunteer commented\o/
Yay!!
Welcome aboard @bren001