- Issue created by @minirobot
- 🇮🇳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
- 🇮🇹Italy apaderno Brescia, 🇮🇹
I am changing status as per Issue priorities → .
To the reviewers: Please set the status back to Normal after a review. - Status changed to Needs work
about 1 year ago 9:41pm 11 December 2023 - 🇫🇷France nikral
Thank you for applying!
I have three suggestions:
- media_power_bi/src/Plugin/Validation/Constraint/MediaPowerBiConstraintValidator.phppublic static function getUrlRegexPattern() { return '/^' . preg_quote(self::POWER_BI_DOMAIN, '/') . '|' . preg_quote(self::POWER_BI_GOV_DOMAIN, '/') . '\/view\?r=(\w+)/'; }
This method is static, but you call it with $this
$pattern = $this->getUrlRegexPattern();
You can also call it withself::
but I don't know what is the best practice- media_power_bi/src/Form/MediaPowerBiMediaForm.php
$media = $this->createMediaFromValue($media_type, $media_storage, $source_field_name, $url);
As you usedeclare(strict_types=1);
Can you declare$media
to/** @var \Drupal\media\MediaInterface $media */
- media_power_bi/media_power_bi.module hook_theme()
function media_power_bi_theme($existing, $type, $theme, $path)
I think you can remove all unused params$existing, $type, $theme, $path
- 🇬🇧United Kingdom minirobot London
Thanks for your review @nikral. I've made the suggested changes in the 1.0.x branch.
This method is static, but you call it with $this
$pattern = $this->getUrlRegexPattern();
You can also call it with self:: but I don't know what is the best practiceI used
self::getUrlRegexPattern()
as you suggested. SincegetUrlRegexPattern
is a static memberself
is correct. - Status changed to Needs review
about 1 year ago 2:25pm 12 December 2023 - Status changed to Active
11 months ago 11:38am 24 January 2024 - 🇺🇸United States trigve hagen Washington DC
Good clean code, a clear README, Coder returns 0 errors, PARreview looks good.
I just need to test your code out. Is there a way that we could team meet and you can walk through the installation and set up? I do not have a school or business email that I can set up a Microsoft Power BI account with. Then I can mark you as RTBC. Thanks. - Status changed to Needs review
11 months ago 12:00pm 24 January 2024 - 🇮🇳India vishal.kadam Mumbai
@Trigve Hagen Comments in this queue are required to review the project files and report what needs to be changed. We do not debug projects.
- Status changed to RTBC
11 months ago 12:43pm 24 January 2024 - 🇺🇸United States trigve hagen Washington DC
Ok. Sounded by RTBC that we tested the code too to make sure it works. So we do not test the code? If that's the case I would set the code to RTBC unless you object. Thanks.
- Assigned to apaderno
- 🇮🇹Italy apaderno Brescia, 🇮🇹
Thank you for your contribution! I am going to update your account.
These are some recommended readings to help with excellent maintainership:
- Dries → ' post on Responsible maintainers
- Best practices for creating and maintaining projects →
- Maintaining a drupal.org project with Git →
- Commit messages - providing history and credit →
- Release naming conventions → .
- Helping maintainers in the issue queues →
You can find more contributors chatting on the Slack → #contribute channel. So, come hang out and stay involved → .
Thank you, also, for your patience with the review process.
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 all the reviewers.
- Status changed to Fixed
11 months ago 5:22pm 24 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.