Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
26 Mar 2025 at 11:47 UTC
Updated:
2 May 2025 at 10:44 UTC
Jump to comment: Most recent
Comments
Comment #2
mugesh.s commentedComment #3
rushikesh raval commentedThank you for applying!
Please read Review process for security advisory coverage: What to expect for more details and Security advisory coverage application checklist to understand what reviewers look for. Tips for ensuring a smooth review gives some hints for a smoother review.
The important notes are the following.
phpcs --standard=Drupal,DrupalPracticeon the project, which alone fixes most of what reviewers would report.To the reviewers
Please read How to review security advisory coverage applications, Application workflow, What to cover in an application review, and Tools to use for reviews.
The important notes are the following.
For new reviewers, I would also suggest to first read In which way the issue queue for coverage applications is different from other project queues.
Comment #4
rushikesh raval commentedComment #5
rushikesh raval commentedPlease go through comment #3 thoroughly.
Do not forgot to change status of the issue to Needs review when project is ready to review. in this queue only project status with 'Needs review' are reviewed.
Comment #6
avpadernoPlease also notice that, for the time this application is open (its status is not Fixed), the only allowed commits are from you.
Comment #7
mugesh.s commentedThank you for your information. You can review the project now
Comment #8
vishal.kadamComment #9
vishal.kadam1. FILE: view_pager_plugin.info.yml
package: CustomThis line is used by custom modules created for specific sites. It is not a package name used for projects hosted on drupal.org.
2. FILE: README.md
The README file is missing the required sections, including Project name, and Requirements.
Comment #10
mugesh.s commented@Vishal Kadam Thank you for reviewing. I have made the changes you mentioned on this branch (1.0.x).
Comment #11
vishal.kadamRest seems fine to me.
Let’s wait for other reviewers and Code Review Administrator to take a look and if everything goes fine, you will get the role.
Comment #12
avpadernosrc/Plugin/views/pager/PageControl.php
Titles and descriptions must not use title case: Only the first word is capitalized; the other ones are capitalized only if they are written capitalized in English (proper nouns, acronyms, registered trademarks that require to be written capitalized).
It is not clear why the plural string should start with
'Paged ,'but the singular string does not start with'Paged ,'.In English, there is just a space after a comma, not before a comma (which is instead used in French), and what follows the comma is not a capitalized word (except in the case that word is a proper noun, for example).
In that string, there are two values which could be singular or plural, so the string should be split in two parts which are both passed to
$this->formatPlural().Methods inherited from the parent class do not repeat the document comment.
Comment #13
mugesh.s commented@avpaderno Thank you for reviewing. I have made the changes you mentioned on this branch (1.0.x).
Comment #14
mugesh.s commentedPlease let me know if I need to do anything else. All is fine; please change the RTBC status. Thank you.
Comment #15
avpaderno$this->options['items_other_page'] . ' item'and$this->options['items_other_page'] . ' items'are not translatable strings.To make it clear: The second and third argument for $this->formatPlural() are literal strings, not a string concatenation, nor the value returned by a function/method.
Comment #16
mugesh.s commented@avpaderno Thank you for reviewing. I have made the changes you mentioned on this branch (1.0.x).
Comment #17
mugesh.s commented@avpaderno Thank you for the clarification! I understand that the second and third arguments for $this->formatPlural() should be literal strings rather than concatenated strings or values returned by a function/method. I will ensure to use explicit strings like '1 item' for the singular form and '@count items' for the plural form in my implementation.
If you have any further suggestions or examples, please let me know!
Comment #18
avpadernoThank you for your contribution and for your patience with the review process!
I am going to update your account so you can opt into security advisory coverage any project you create, including the projects you already created.
These are some recommended readings to help you with maintainership:
You can find more contributors chatting on Slack or IRC in #drupal-contribute. So, come hang out and stay involved!
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.
I thank the dedicated reviewers as well.
Comment #19
avpaderno