A tiny module which allow users to completely wipe search index rather than keeping the old index and rebuilding new. This module was originated by https://drupal.org/comment/4026188#comment-4026188
The page project
https://www.drupal.org/sandbox/sagarramgade/2188697
The git clone command
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/SagarRamgade/2188697.git searchindex_wipe
The git clone commandBest practice issues identified by pareview.sh
http://pareview.sh/pareview/httpgitdrupalorgsandboxsagarramgade2188697git
The Project Application Review Link
https://www.drupal.org/node/2337931#comment-9149193
https://www.drupal.org/node/2338309#comment-9149281
https://www.drupal.org/node/2275511#comment-9149645
Comments
Comment #1
sagar ramgade commentedComment #2
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 #3
pushpinderchauhan commented@Sagar Ramgade, thankyou for your contribution. As you have did three manual reviews but forget to add pareview bonus tag, so on the basis of that, this module priority come on top so here is my reviews.
Automated Review
Best practice issues identified by pareview.sh / drupalcs / coder. Yes, http://pareview.sh/pareview/httpgitdrupalorgsandboxsagarramgade2188697git reported few issues.
Manual Review
It appears you are working in the "7.x-1.x-dev" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
The following git branches do not match the release branch pattern, you should remove/rename them. See https://www.drupal.org/node/1015226
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in C:\xampp\htdocs\drupal731\sites\all\modules\2188697\searchindex_wipe.module on line 28.It should be
foreach ($schema as $table_name => $table) {instead offoreach ($schema => $table_name as $table) {.admin/settings/searchwhich is incorrect path. it should beadmin/config/search/settingsThe 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.
You should fix above issues first and get another review bonus by manual reviews of another 3 modules that would help speed up the process and make sure it gets on the review admins radar.
Thanks again!
Comment #4
sagar ramgade commentedHi Pushpinder,
Thank you for your valuable inputs, I had resolved the pointed one.
Comment #5
sagar ramgade commentedComment #6
gaurav.pahuja commentedHi Sagar,
Git clone command that you mentioned above doesn't seem to be correct one.
git clone --branch 7.x-1.x-dev http://git.drupal.org/sandbox/SagarRamgade/2188697.git searchindex_wipeCan you please check it.
Comment #7
nitesh pawar commentedComment #8
nitesh pawar commentedHi gaurav,
Thanks to notify us. I have replaced git clone link.
Comment #9
naveenvalechaUpdated issue summary.
Comment #10
benjaminarthurtAutomated Review
Best practice issues identified by pareview.sh
Review of the 7.x-1.x branch (commit 3d104f0):
Manual Review
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.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Note: consider adding more information to the project page as well. There isn't enough information there to help a user decide if this module is appropriate for their use. Ideally much of the information on the project page can be used in the README.txt file as well.
Comment #11
sagar ramgade commentedHi Benjamin,
Thank you for your suggestion, I had made changes as per your suggestions.
Comment #12
naveenvalechaHi @Sagar Ramgade
Thanks for your contribution
Automated Review
Best practice issues identified by pareview.sh / drupalcs / coder. There are still showing some of the warnings identified by the pareview Please see http://pareview.sh/pareview/httpgitdrupalorgsandboxsagarramgade2188697git
Manual Review
hook_form_formid_alterin place ofhook_form_FORM_ID_alter()because it provides the form-specific alteration instead of the global hook_form_alter() IMHOThanks Again!!
This review uses the Project Application Review Template.
Comment #13
sagar ramgade commentedHi Naveen,
I had change hook_form_alter to hook_form_FORM_ID_alter(), Thank you for your suggestions.
Comment #14
nitesh pawar commentedComment #15
pushpinderchauhan commentedGetting review bonus would help speed up the process and make sure it gets on the review admins radar.
Comment #16
davidam commentedToday, I've made a revision
Automated ReviewSome warnings detected by pareview:
Manual Reviewhttp://pareview.sh/pareview/httpgitdrupalorgsandboxsagarramgade2188697git
Individual user account
Yes: Follows the guidelines for individual user accounts.
No duplication
Yes: Does not cause module duplication and fragmentation.
Master Branch
Yes: Follows the guidelines for master branch.
Licensing
No: You must follows the licensing requirements.
3rd party code
Yes: Follows the guidelines for 3rd party code.
README.txt/README.md Yes: Follows the href="https://www.drupal.org/node/161085">guidelines for in-project
documentation. You can improve in this subject taking a look to
href="https://www.drupal.org/node/161085#recommended_practices">Recommended
practices
Code long/complex enough for review No: Follows the href="https://groups.drupal.org/node/195848">guidelines for project
length.
1. (*) The project have less than five function or class method definitions
2. (*) The PHP/Javscript source code is less than 120 lines long (including comments and whitespace).
Secure code No: Follows the href="https://www.drupal.org/writing-secure-code">Writing secure
code.
1. (*) Take a look to href="https://www.drupal.org/node/28984">Handle text in a secure
fashion. You must use check_markup if you are using rich text.
Comment #17
klausi@davidam: could you specify where exactly check_markup() should be used in the code? What licensing requirements are in violation, what should the applicant do?
Comment #18
davidam commented@klausi: In the commit 65e3e4f645bc0d20ebf63388301079e02fb6bd60 @sagar-ramgade has added check_markup(), IMHO now is fine. In the licensing I was wrong about the process in drupal: I thought that the developer must add the license, but it seems that the license is added automatically, when the project becomes full project.
Comment #19
sagar ramgade commentedComment #20
anfor commentedHi,
My two cents to your work.
Don't forget to clean your git repository by adding in .gitignore the .idea folder.
And you should add a newline at the beginning of the README.txt file to avoid pareview warning.
Regards,
Antoine
Comment #21
sagar ramgade commentedHi Anfor,
Thank for the suggestion, I had pushed the recommended changes.
Comment #22
sagar ramgade commentedComment #23
naveenvalechaReview of the 7.x-1.x branch (commit 032023b):
No automated test cases were found, did you consider writing Simpletests or PHPUnit tests? This is not a requirement but encouraged for professional software development.
Manual Review :
1)searchindex_wipe.module file : function searchindex_wipe_confirm_submit : Use
$form_state['redirect'] = 'admin/config/search/settings';instead ofdrupal_goto('admin/config/search/settings');as this avoid a function call.I have not found any release blocker.So setting this RTBC :)
As the git administers are busy in reviewing the applications.They will reach to your project application ASAP.I have added the Review bonus tag to your application so that it wil come in high priority list.
As your project needs to be published by manually by any git administer because it has code less than 120 lines including comments.
Comment #24
sagar ramgade commentedThanks Naveen for the review, I had changed drupal_goto to $form_state['redirect'] :-)
Comment #25
mpdonadioAssigning to myself for next review, which will be either tonight or tomorrow morning.
Comment #26
mpdonadioAutomated Review
Review of the 7.x-1.x branch (commit 98ae065):
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
7 functions / 92 lines. Of the actual lines of code, there isn't much demonstration of the API to warrant an exception to single project promtion.
I see no reason you can't put the menu path under admin/config/search/settings/. Maybe admin/config/search/settings/wipe?
(+) No need for the check_markup in searchindex_wipe_help(); that isn't user input.
(+) In searchindex_wipe_help(), don't split the string across lines just to appease PAReview. Split strings are harder to translate.
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.
Not seeing any blocking issues.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Comment #27
mpdonadioThis is an important criterion so that code integrates well and can be improved over time. I encourage you to continue developing and gaining from the feedback available in the git approval process.
Thank you for you contributions and understanding.
This has been promoted: https://www.drupal.org/project/searchindex_wipe
Comment #28
naveenvalechaMatthew,
I have not seen any release on the project page.Have you given all the rights to the @sagarramgade to create the new releases so that he will create the new releases of the module.
Comment #29
mpdonadio@sagarramgade is going to need to check that himself. That is not an explicit permission that I grant, but he should be able to add releases.
Comment #30
naveenvalechaOk Thanks! for letting me know.
Comment #31
sagar ramgade commentedHi Mathew,
Thank you for promoting my project, I was hoping for git vetted user. I will soon come up with another module consists of more than 120 lines and will go through the process again. Anyways prior to this i had already contributed full code for commerce_ebs unfortunately I chose to be a co-maintainer as project page without a module was already present.
@naveenvalecha, I had created releases for the module. I have the access to release tab.
Thank you all for spending time for the reviews and pushing the module to a full project release.
Comment #32
naveenvalechaCool :) Seems good now.As you have also addressed #26
Comment #33
PA robot commentedProject 1: https://www.drupal.org/node/2382569
Project 2: https://www.drupal.org/node/2338629
As successful completion of the project application process results in the applicant being granted the 'Create Full Projects' permission, there is no need to take multiple applications through the process. Once the first application has been successfully approved, then the applicant can promote other projects without review. Because of this, posting multiple applications is not necessary, and results in additional workload for reviewers ... which in turn results in longer wait times for everyone in the queue. With this in mind, your secondary applications have been marked as 'closed(duplicate)', with only one application left open (chosen at random).
If you prefer that we proceed through this review process with a different application than the one which was left open, then feel free to close the 'open' application as a duplicate, and re-open one of the project applications which had been closed.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #34
avpaderno