- Issue created by @lostcarpark
- ๐ฎ๐ณ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
- ๐ฎ๐ณIndia vishal.kadam Mumbai
Usually, after reviewing a project, we allow the developer to opt projects into security advisory coverage.
This project is too small for us and it doesn't contain enough PHP code to really assess your skills as a developer.
Have you created any other project on drupal.org (module, theme, distribution) we could instead review? The project needs to have most of the commits (preferable all the commits) done by you.
- ๐ฎ๐ชIreland lostcarpark
Thanks for the quick response!
I understand your difficulty. This project is quite small, but I think it's the size it needs to be (unless additional requirements come to light).
Most of the projects I've been working on are either contributions to other peoples' modules, or modules I've taken over maintainership of.
I developed the Advent Calendar โ module, but that is also very small. And I've been working on a D10 port of Comment Mover โ , which all the commits to the D10 version are by me, but I don't think it's ready for review, and it hasn't really moved forward in the last year.
I don't mind waiting till I have a larger project ready to review, but I feel this project could be quite useful to many people using the new core Navigation, so would like to find a way to opt it in to security policy.
Perhaps an alternative strategy would be to find a co-maintainer who already has permission to opt it in.
- ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
The Comment Mover module would be fine. I take you ported the code to Drupal 8+, so the commits from 2015 (or earlier) should not considered.
It does not matter if it did not get commits in the past year. We just verify if you understand what the reviews say to change. - ๐ฎ๐ชIreland lostcarpark
Yes, all the commits to the 2.0.x branch of Comment Mover, which is the D8+ port, are mine.
However, the project is already opted into the security policy.
I'm not sure of the next steps. Do I switch the application to Comment Mover, or does the application remain for Navigation Extra Tools, but you take Comment Mover into consideration when reviewing?
- ๐ฎ๐ชIreland lostcarpark
Hi,
Setting to needs review as I'm not sure what I need to do next.
Should I reframe the application on the Comment Mover module, or leave it on the Navigation Extra Tools, with Comment Mover as an added example?
- ๐ฎ๐ณIndia vishal.kadam Mumbai
1.
master
is a wrong name for a branch. Release branch names always end with the literal .x as described in Release branches โ .2. FILE: comment_mover.module
/** * @file * Primary module hooks for Comment Mover module. */
Drupal does not have primary and secondary hooks. Instead of that, it is preferable to use the usual description: Hook implementations for the [module name] module. where [module name] is the name of the module given in its .info.yml file.
/** * Implements hook_preprocess_HOOK(). */ function comment_mover_preprocess_node(&$variables) {
The description for this hook should also say for which templates that hook is implemented.
- ๐ฎ๐ชIreland lostcarpark
1. Master Branch
The master branch was created in 2006, and seems to have last been updated with the D6 version of Comment Mover. Unfortunately it has a release, which I believe means it cannot be deleted.
Please see conversation on Slack.
2. comment_mover.module
I have updated the @file comment:
/** * @file * Enables adding cut and paste options to context menu for nodes and comments. */
And the hook_preprocess_HOOK() comment:
/** * Implements hook_preprocess_HOOK() for adding menu items to nodes. */
Hope these are heading in the right direction.
I've also updated the .gitlab-ci.yml to get tests running again, and fixed reported issues.
- ๐ฎ๐ณ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.
- ๐ฎ๐ชIreland lostcarpark
Three reviews completed for review bonus.