- Issue created by @dawid_nawrot
- ๐ฎ๐ณIndia vishal.kadam Mumbai
Thank 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.
- If you have not done it yet, you should run
phpcs --standard=Drupal,DrupalPractice
on the project, which alone fixes most of what reviewers would report. - For the time this application is open, only your commits are allowed.
- The purpose of this application is giving you a new drupal.org role that allows you to opt projects into security advisory coverage, either projects you already created, or projects you will create. The project status won't be changed by this application and no other user will be able to opt projects into security advisory policy.
- We only accept an application per user. If you change your mind about the project to use for this application, or it is necessary to use a different project for the application, please update the issue summary with the link to the correct project and the issue title with the project name and the branch to review.
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.
- It is preferable to wait for a Code Review Administrator before commenting on newly created applications. Code Review Administrators will do some preliminary checks that are necessary before any change on the project files is suggested.
- Reviewers should show the output of a CLI tool โ only once per application.
- It may be best to have the applicant fix things before further review.
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 โ .
- If you have not done it yet, you should run
- ๐ฌ๐งUnited Kingdom scott_euser
I did an initial review of the module:
- It is leveraging core for all filesystem related reading, but the filesystem reads are by default actually anyways just reading folders within the module as they are asset sub-directories.
- Unlike other SVG modules, this one is not about uploading SVG's as a user so does not have the security issues related to SVG's in that way.
- It does not duplicate other modules. svg_image is focused on user uploaded SVG images. This module is complimentary as it is more about browsing categorised libraries of icons and could one day even provide an integration between it and svg_image
- Phpstan/Phpcs/cspell/etc all passing with gitlab ci standard template in place.
- ๐ฎ๐ณIndia vishal.kadam Mumbai
1.
8.x-1.x-issue-3236682
,8.x-1.x-issue-3236672
,8.x-1.0-alpha1
and8.x-1.0-alpha2
are wrong names for a branch. Release branch names always end with the literal .x as described in Release branches โ .2. FILE: svg_icon_field.libraries.yml
version: VERSION
VERSION is only used by Drupal core modules. Contributed modules should use a literal string that does not change with the Drupal core version a site is using.
3. FILE: svg_icon_field.module
/** * @file * Contains svg_icon_field.module. */
The usual description for a .module file is Hook implementations for the [module name] module. where [module name] is the module name given in the .info.yml file.
4. FILE: README.txt
Replace README.txt with README.md and it should follow the content and formatting described in README.md template โ .
5. FILE: src/Plugin/Field/FieldWidget/IconWidgetType.php
/** * {@inheritdoc} */ public function __construct(
The documentation comment for constructors is not mandatory anymore, If it is given, the description must be Constructs a new [class name] object. where [class name] includes the class namespace.
- ๐ต๐ฑPoland dawid_nawrot
I've updated the branch according to your requests.
As for release branches. Branches were never used to create releases for this project. I always used tags. Here is the list of releases:
https://www.drupal.org/project/svg_icon_field/releases โ
As for branches, I can remove it sure and leave 8.x-1.x, but is it required?
- ๐ฎ๐ณIndia vishal.kadam Mumbai
Yes, see the application checklist here โ . It should follow the naming standards reported in Release naming conventions โ for branch names
- ๐ต๐ฑPoland dawid_nawrot
Ok, I removed all of the dangling branches, so now it's only 8.x-1.x
- ๐ฎ๐ณIndia vishal.kadam Mumbai
Remember to change status, when the project is ready to be reviewed. In this queue, projects are only reviewed when the status is Needs review.
- ๐ฌ๐งUnited Kingdom scott_euser
Just checked the MR that Dawid merged in and it looks like that - combined with the branch clean-up - has addressed the issues you raised. Gitlab CI continues to flag no issues.
Having had you @vishal.kadam and me review from utilisation of Drupal core functionality/no unsafe usage of SVG, should we switch to RTBC?
- ๐ฎ๐ณIndia vishal.kadam Mumbai
Rest looks fine to me.
Letโs wait for a Code Review Administrator to take a look and if everything goes fine, you will get the role.
- ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
Thank 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:
- Dries โ ' post on Responsible maintainers
- Maintainership โ
- Git version control system โ
- Issue procedures and etiquette โ
- Maintaining and responding to issues for a project โ
- Release naming conventions โ .
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.
Automatically closed - issue fixed for 2 weeks with no activity.