- 🇵🇹Portugal zarabatana
All requested changes have been completed:
- Drush command now uses PHP 8 attributes, with the description separated using #[CLI\Help].
- The default branch is 1.0.x and a dev release (1.0.x-dev) is available on the project page.
- README.md has been updated to follow best practices for installation and configuration.
- composer.json has been improved with license, updated PHP requirement, and a suggest section for exiftool.
Please let me know if anything else is required, or if this is ready for the next review step.
- 🇷🇴Romania bbu23
Hi! Thanks for applying.
Here's my feedback:
1. Convert Drush commands from PHP Annotations into PHP Attributes: https://www.drush.org/12.x/commands/.
2. There is no dev release.
3. The recommended way of installing contrib modules is using composer. I would modify the README.md file to recommend to "Install as you would normally install a contributed Drupal module." and for more information to link here → . I wouldn't recommend unzipping as a first choice.
4. The
composer.json
could use some corrections/improvements:
- Add license:"license": "GPL-2.0-or-later"
- The PHP requirement currently set to">=7.4"
is redundant. Drupal 10 requires PHP8+, therefore PHP 7 is impossible.
- You could add a"suggest"
section for theexiftool
external tool.5. The functional test doesn't really bring any value, it could be improved.
- 🇵🇹Portugal zarabatana
The requested changes have been committed to the 1.0.x branch.
Please let me know if further updates are needed or if this is ready for the next step in the review process. - 🇮🇳India vishal.kadam Mumbai
1. FILE: src/Commands/MetadataSanitizerCommands.php
/** * Removes metadata from files using exiftool. * * @throws \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException */ 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.
2. FILE: README.md
The README file is missing the required section → - Configuration.
3. FILE: metadata_sanitizer.module
/** * @file * Custom module to strip metadata from uploaded files using exiftool. */
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.
- 🇮🇹Italy apaderno Brescia, 🇮🇹
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, enable GitLab CI for the project, and fix what reported from the phpcs job. This help to fix most of what reviewers would report.
- For the time this application is open, only your commits are allowed. No other people, including other maintainers/co-maintainers can make commits.
- 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.
- Nobody else will get the permission to opt projects into security advisory policy. If there are other maintainers/co-maintainers who will to get that permission, they need to apply with a different module.
- 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. The configuration used for these tools needs to be the same configuration used by GitLab CI, stored in the GitLab Templates repository.
- 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 → .
- Issue created by @zarabatana