Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
13 Nov 2016 at 07:14 UTC
Updated:
24 Apr 2017 at 18:15 UTC
Jump to comment: Most recent
Comments
Comment #2
nishantsinghal commentedComment #3
nishantsinghal commentedComment #4
jitujain commentedComment #5
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 #6
saveva commentedHello Jitendra (@jitujain).
I did a code review without installing the plugin and you have to fix a few things:
1. README.txt does not adhere to the guidelines for internal documentation
2. Your module is missing a hook_help implementation.
3. Your module includes some functions that violate the naming conventions for functions:
- function max_custom_sitemap_get_content_types_links($node_type = NULL)
- function max_custom_sitemap_get_internal_sitemap_links()
- function max_custom_sitemap_get_all_menu_links()
- etc.
All function names should start with your module name multiple_sitemap_your_function, see https://www.drupal.org/node/318#naming
Regards.
uh
Comment #7
jitujain commentedThanks @avevas
I have fixed.
Comment #8
saveva commentedHi Jitujain.
Thanks. I did an installation to see what happens and there's a problem with your sitemap generation. You should not include internal Drupal tokens as references that are meant to be substituted. <nolink> should not appear. While <front> obviously gets its path alias other tokens won't. Submitting invalid value with sitemaps is not a good idea. You have to work on functions like this one: multiple_sitemap_get_menu_links.
Regards.
uh
P.S. A small update: You should include a link to the configuration in the .info file
And to help others I place here the findings according to the manual review template:
The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
Comment #9
jitujain commentedHi Saveva
Thanks for reviewing module.
I have fixed whatever comments you did for menu links.
xmlsitemap_nodetype This module only provides the sitemap for only content types not for menu and vocabs.It has dependency on xmlsitemapmodule.It also not provide the functionality of multiple sitemap which my main moto.
Thanks!
Comment #10
jitujain commentedComment #11
saveva commentedHi @jitujain.
I've checked your code and your solution does not work at all, probably you implemented by mistake this line:
$query->condition('menu_name', $type, '<>');But there's more to it, now you won't get paths like <front> included at all and that's a valid one. An improvement could look like this:
Regards.
uh
Comment #12
jabastin arul commentedPlease review your code on "https://pareview.sh" site. We found some issue in your code. Here I have attached the link for your error code.
https://pareview.sh/node/18
Comment #13
jitujain commentedHi saveva
Thanks for reviewing and suggestion.
I think my code is working and i am not getting any error or mistake.By this implementation we will get all pattern type links.
For example 'node/%', '', but we not need this type of urls.So excluding for all these type url i have changed the implementation.If you will get any error please paste the error , i will look into this.
Thanks!
Comment #14
jitujain commentedThanks Jabastin Arul
Comment #15
jitujain commentedComment #16
klausiRemoving review bonus tag, you have not listed any reviews in the issue summary? Make sure to read https://www.drupal.org/node/1975228 again.
Comment #17
klausiOops, project applications are tasks.
Comment #18
visabhishek commentedComment #19
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpsgitdrupalorgsandboxJitujain2805199git
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #20
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 #21
jitujain commentedComment #22
fadonascimento commentedHi @Jitujain
Automatic Review
There are some issues about Drupal coding standards
Please fix it and run again the automatic review:
https://pareview.sh/node/18/repeat
Manual Review
I didn't found any issues , below are my manual review
Individual user account
[Yes: Follows / No: Does not follow] the guidelines for individual user accounts.
No duplication
[Yes: Does not cause / No: Causes] module duplication and/or fragmentation.
Master Branch
[Yes: Follows / No: Does not follow] the guidelines for master branch.
Licensing
[Yes: Follows / No: Does not follow] the licensing requirements.
3rd party assets/code
[Yes: Follows / No: Does not follow] the guidelines for 3rd party assets/code.
README.txt/README.md
[Yes: Follows / No: Does not follow] the guidelines for in-project documentation and/or the README Template.
Code long/complex enough for review
[Yes: Follows / No: Does not follow] the guidelines for project length and complexity.
Just a recommendation
I think, you should avoid concatenating strings in db queries, You can assign to variable instead of using directly.
For example in file includes/multiple_sitemap.db.inc
Other line:
It's not a blocker, just a tip.
Comment #23
jitujain commentedThanks @fadonascimento
Comment #24
fadonascimento commentedHi @Jitujain,
Your module is very useful, congratulations. I hope to see it as project soon.
Comment #25
fadonascimento commentedI will update the status for this issue, but I think you should consider the recommendations about Drupal coding standards.
Comment #26
fadonascimento commentedComment #27
jitujain commentedHI @fadonascimento
Thank you very much
I have fixed Drupal coding standards after your reviewing the code. Again thanks a lot.
Comment #28
jitujain commentedHi @klausi
All the bugs have been fixed and it is in RTBC.Please have a look.
Thanks!
Comment #29
avpadernoThank you for your contribution!
I updated your account so you can opt into security advisory coverage now.
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!
Thank you, 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 go the dedicated reviewer(s) as well.
Comment #30
avpaderno