[1.x] Conditional Features

Created on 9 December 2023, 11 months ago
Updated 5 March 2024, 8 months ago

Conditional Features provides the ability to enable or disable modules based on conditions set by the site administrator.

Project link

https://www.drupal.org/project/conditional_features

📌 Task
Status

Fixed

Component

module

Created by

🇬🇧United Kingdom welly

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @welly
  • 🇬🇧United Kingdom welly
  • 🇮🇹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, 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 will not be changed by this application; 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 branch to review and the project name.

    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, even to leave a comment similar to the following one. Code Review Administrators will do some preliminary checks that are necessary before any change on the project files is suggested.
    • It is also preferable to wait before using a CLI tool to report what needs to be changed, especially because the comment left from Code Review Administrators suggests to use PHP_CodeSniffer. Before that, manual reviews should be done.
    • Reviewers should not copy-paste the output of a CLI tool. They should use a CLI tool only once per application. When they do that, they should later verify the code has been correctly changed; this means, for example, that adding a documentation comment that is not correct just to avoid to get a warning/error is not a correct change that should be reported in a further comment.
    • 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 .

  • Status changed to Needs work 11 months ago
  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    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 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.

  • 🇬🇧United Kingdom welly
  • Status changed to Active 11 months ago
  • 🇬🇧United Kingdom welly

    @apaderno Thanks for your comments and quick review! I've updated this issue to another project I've been working on recently which will hopefully be more suitable for review! This one includes a custom config entity, plus use of state management, services etc.

  • Status changed to Needs review 11 months ago
  • 🇮🇹Italy apaderno Brescia, 🇮🇹
  • 🇫🇷France nikral

    Running
    phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml conditional_features

    No errors except on README, I don't know if that makes sense for this type of file.
    Let's wait for other reviewers if this should be changed or not

    FILE: contrib/conditional_features/README.md
    -------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
    -------------------------------------------------------------------------------------------
      3 | WARNING | Line exceeds 80 characters; contains 121 characters
      7 | WARNING | Line exceeds 80 characters; contains 101 characters
      9 | WARNING | Line exceeds 80 characters; contains 186 characters
     19 | WARNING | Line exceeds 80 characters; contains 108 characters
     21 | WARNING | Line exceeds 80 characters; contains 132 characters
    -------------------------------------------------------------------------------------------
    
  • 🇬🇧United Kingdom welly

    I'll fix it for the sake of a clean phpcs report! 🙂

  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    Thank you for your contribution!
    I updated your account so you can now opt into security advisory coverage for any project you created and every project you will create.

    These are some recommended readings to help you with maintainership:

    You can find more contributors chatting on Slack or IRC in #drupal-contribute. So, come hang out and stay involved !

    Thank you 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 also the dedicated reviewers as well.

  • Assigned to apaderno
  • Status changed to Fixed 9 months ago
  • 🇮🇹Italy apaderno Brescia, 🇮🇹
  • 🇬🇧United Kingdom welly

    Thank you very much! Appreciate your approval!

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024