Flex processor overview
Flex Process is a versatile Drupal module designed to empower developers with the ability to attach customizable processor plugins to various data structures. This tool allows developers to define specific processing workflows for their data, enabling dynamic manipulation and transformation.
How it works
This module provides the ability to create data processor plugins in a simple way. Every time a data, form now on data component, is sent to be processed, the corresponding plugin matching that data component type is executed. The processors plugin are defined in a flexible way that any kind of processing task is allowed. How to process to process the data component is up to the developer, and they needs.
Comments
Comment #2
vishal.kadamThank 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 #3
vishal.kadamFix phpcs issues.
Comment #4
perecedero.Hi!
Thanks for your time to make the review.
Is it common to analyze MD files with PHPCS? I had to add some exceptions to make it work properly.
Comment #5
vishal.kadamYes, It is common to analyze MD files with PHPCS.
Rest seems fine to me. Let’s wait for other reviewers to take a look and if everything goes fine, you will get the role.
Comment #6
perecedero.I am changing priority as per Issue priorities.
Comment #7
perecedero.I am changing priority as per Issue priorities.
Comment #8
perecedero.Hi, is there something else I need to do/complete to get a review?
Comment #9
vishal.kadam1. FILE: README.md
The README file is missing the required sections, including Requirements, Installation, and Configuration.
2. FILE: src/Component/DataComponent.php
FILE: src/Event/UnknownDataProcessorEvent.php
FILE: src/Plugin/DataProcessorBase.php
FILE: src/Plugin/DataProcessorManager.php
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.
Comment #10
perecedero.All reported issues were fixed.
Comment #11
avpadernoAlways check what GitLab CI reports, for example in https://git.drupalcode.org/project/flex_processor/-/jobs/5362640.
For what I recall, GitLab CI does not check .md files with PHP_CodeSniffer.
It checks CSS files, but those sniffs are going to be deprecated, as reported by GitLab CI.
Comment #12
perecedero.Hi avpaderno, thanks for your message!. Were you able to take a look at the module? I would love to have your feedback
Comment #13
perecedero.I am changing priority as per Issue priorities.
Comment #14
bbu23Hi! Thanks for your contribution!
Feedback:
1. Since Drupal 10.2 is already EOL and your module is in early stages, you should consider converting your plugins to Attribute-based instead of Annotation. It's up to you if you want to keep backwards compatibility, but I'd just increase the minimum core requirement to 10.2 and permanently remove Annotations. Also, your plugin name should be prefixed with your module name: e.g.
SearchApiProcessorforsearch_apimodule,MigrateSourceformigratemodule etc.2. The module does not have a dev release.
3. It is recommended to prefix your event names with your module name to avoid conflicts with other modules. Example for
usermodule events:'user.flood_blocked_user'or'user.flood_blocked_ip'.4. If you are planning on using semantic versioning for your module, it might be better to start using branches like
1.0.x,1.1.x, but if the current branch1.xis as expected, then ignore this.Comment #15
bbu23Comment #16
avpadernoComment #17
avpadernoI am changing priority as per Issue priorities.
Comment #18
avpadernoThis thread has been idle, in the needs work state with no activity for some months.
May you confirm you are still pursuing this application? If this is the case, and you made commits basing on what previously reported, or you can answer the questions previously asked, please change the status to Needs review.
Comment #19
avpadernoThis thread has been idle, in the Needs work state with no activity for about six months or more; the application has been created about 11 months ago or more. Therefore, I marked it as Closed (won't fix).
If this is incorrect, and you are still pursuing this application, please feel free to re-open it and set the issue status to Needs work or Needs review, depending on the current status of your code.