Closed (duplicate)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2017 at 18:44 UTC
Updated:
14 Jan 2020 at 12:29 UTC
Jump to comment: Most recent
Comments
Comment #2
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpsgitdrupalorgsandboxAntoninSlejska284757...
Fixed the git clone URL in the issue summary for non-maintainer users.
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 #3
antonín slejška commentedThe 'errors' have been solved.
I'm used to use 4 spaces for identing, see: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-codi...
I was surprised, that the automated review tool evaluates 4 spaces as an error.
Comment #4
scott.allison commentedHi Antonín,
Automated Review
Please correct the pareview.sh issues here https://pareview.sh/node/1005
* Implements hook_page_attachments().Manual Review
8.x-1.xComment #5
visabhishek commented@scott.allison : Looks like you forgot to change the status. Is this now RTBC after your review or are there application blockers left and this should be "needs work"?
Comment #6
scott.allison commentedHi @visabhishek sorry about that. Yes, this needs work.
Comment #7
antonín slejška commentedI have problems to push the changes. See: http://drupal.stackexchange.com/questions/227957/access-rights-by-clonin...
Comment #8
antonín slejška commented@scott.allison: Is it possible, that the public IP of the company, where I work (91.208.212.1) is on the server git.drupal.org blacklisted at /etc/hosts.deny ?
Comment #9
antonín slejška commentedI have change the README.md to comply with the README Template.
I increased the complexity of the code adding a configuration. But I would like to keep the module as simple as possible...
I have renamed the branch to 8.x-1.x and synchronised the 'git push' with GitHub. (Both remotes are updated by one 'git push origin 8.x-1.x' command now).
Comment #10
jeetendrakumar commented@Antonín
Automatic application review tool found so many major issues in your application.
https://pareview.sh/node/1005
Comment #11
antonín slejška commentedAll spaces and end of lines are compatible with the review program now.
Comment #12
zyyz commentedThere are still many coding standard violations at https://pareview.sh/node/1005,
Use dependency injection in classes. Use $this->t(), instead of t() in OpenSearchSettingsForm.php
Comment #13
zyyz commentedComment #14
antonín slejška commentedThe warnings have been solved as well. It is intresting, that even books like 'Drupal 8 Development Cookbook' are published with code, which contains quite a lot rows, which are by the review script marked as an error or a warning.
Comment #15
SergDidenko commentedAutomated Review
FILE: /root/repos/pareviewsh/pareview_temp/opensearchtab.routing.yml
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
--------------------------------------------------------------------------
8 | WARNING | Open page callback found, please add a comment before the
| | line why there is no access restriction
17 | WARNING | Open page callback found, please add a comment before the
| | line why there is no access restriction
--------------------------------------------------------------------------
FILE: /root/repos/pareviewsh/pareview_temp/opensearchtab.info.yml
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------
9 | WARNING | All dependencies must be prefixed with the project name,
| | for example "drupal:"
FILE: /root/repos/pareviewsh/pareview_temp/opensearchtab.info.yml
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------
1 | WARNING | Remove "version" from the info file, it will be added by
| | drupal.org packaging automatically
--------------------------------------------------------------------------
FILE: ...t/repos/pareviewsh/pareview_temp/src/Form/OpenSearchSettingsForm.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
34 | ERROR | [x] Short array syntax must be used to define arrays
40 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
Individual user account
Yes: Follows guidelines for individual user accounts.
No duplication
Yes: Does not cause module duplication and/or fragmentation.
Master Branch
Yes: Follows the guidelines for master branch.
Licensing
Yes: Follows the licensing requirements.
README.txt/README.md
Yes: Follows the README Template.
Code long/complex enough for review
Yes: Follows the guidelines for project length and complexity.
Secure code
Yes: Follows the security requirements.
Coding style & Drupal API usage
* Please fix code style according to issues above.
* Just a friendly bit of advice. You should add some description of this module to .module file using hook_help. It may be really useful.
Comment #16
antonín slejška commentedThere are no errors and no warnings now: https://pareview.sh/node/1691 (Two months ago there ware no errors and warnings as well. It looks like, that the pareview.sh has been in the meantime improved.)
I will add the hook_help to .module tomorrow.
Comment #17
zakaria.elhariri commentedHi,
Automated Review
Remove the LICENSE, drupal.org packaging will add a LICENSE.txt file automatically.
Manuel review
I installed your module locally and I test with your demo site (https://drupal.slejska.de), but I can't make it work, I have not the site in the settings of google chrome (chrome://settings/searchEngines).
http://i.imgur.com/Hi71FTa.png
Comment #18
zakaria.elhariri commentedComment #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.
Comment #20
avpaderno