Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status of this module #13

Open
donquixote opened this issue Jan 5, 2020 · 17 comments
Open

Status of this module #13

donquixote opened this issue Jan 5, 2020 · 17 comments

Comments

@donquixote
Copy link

Hello @slootjes !

After a long time dealing only with Drupal 7, I finally rediscovered this module, and remember all the good times. (#3, #4).
I see a number of nice changes were done.

However, on the module page I see:

  • Usage count = 1.
  • Not covered by security policy.

The usage count does not mean it is abandoned - I have similar projects on D7 which suffer the same fate. But this makes it hard to propose this for a corporate environment, and risky to base another contrib module on it.

Do you have plans for this module? Or perhaps everybody downloads the module from github instead of drupal.org?

Background

What happened is I had modules lying around that I was planning to publish a D8 version of (cfr / renderkit / entdisp etc), and that was using my own hacked version of controller annotations. Not a good state for publishing.

I then noticed that you implemented some of the ideas, especially the RouteModifierInterface, which was then split into two distinct interfaces for class and method. And you are passing the reflection class + method to the route modifier. Cool stuff!
I also notice that the nasty dependency is gone.

As a first step I rebased all my custom modifications on the latest version of the module, and made it match the new API, to see what would be left. I will have to review the changes and decide which of them still make sense. Perhaps some pull requests will be born from that.

For #3 I now have a dedicated module with some additional route modifiers.

@slootjes
Copy link
Contributor

slootjes commented Jan 6, 2020

Hi :) Good to hear from you again! To me the module is feature complete and I don't think many people are using it since it's not documented or referenced anywhere really. It will unfortunately never be covered by security policy as I intended this module to show off a more Symfony/PSR style of working.

@donquixote
Copy link
Author

donquixote commented Jan 6, 2020 via email

@slootjes
Copy link
Contributor

slootjes commented Jan 6, 2020

Nothing really tbh. I've created other modules which do follow all Drupal standards however controller annotations is more experimental and I'd like to leave it like that. If that is not good enough for getting a security status then I can live with that.

@donquixote
Copy link
Author

donquixote commented Jan 6, 2020 via email

@slootjes
Copy link
Contributor

slootjes commented Jan 6, 2020

Yep; that was the only reason it got rejected.

@donquixote
Copy link
Author

donquixote commented Jan 6, 2020 via email

@donquixote
Copy link
Author

donquixote commented Jan 6, 2020 via email

@slootjes
Copy link
Contributor

slootjes commented Jan 6, 2020

It's just unorthodox and requires technical experience. It should be compatible with D8 and probably D9 too.

@donquixote
Copy link
Author

donquixote commented Jan 6, 2020 via email

@slootjes
Copy link
Contributor

slootjes commented Jan 6, 2020

Your org / colleages should worry less about contrib having no security label imo. The security label doesn't mean that much as there is no guarantee the code has no security issues and after the status is obtained it is never really checked again afterwards. The concept is great but I am not sure if it really solves anything.

@donquixote
Copy link
Author

The security policy means there is a well-defined channel and process where

  • people can report security issues they find, in a private issue queue
  • the issue being discussed and a patch prepared in the private issue queue, only involving the maintainer, the sec team and the reporter.
  • scheduled release
  • notifications sent out via the security mailinglist
  • information via the update module

It does not mean that the security team will actively and continuously monitor the module. The system depends on 3rd party people who report issues they find.

Your org / colleages should worry less about

It is a big one, public sector :) There are processes and gatekeepers, and a general preference for policies that can be "formalized".

@slootjes
Copy link
Contributor

slootjes commented Jan 6, 2020

Fair enough. We handle these differently for our tools as stated on the project page (f you discover any security related issues, please email [email protected] instead of using the issue tracker.). For now I have no real intention to refactor everything using Drupal coding style.

Feel free to do with the code as you wish as it's compliant withGPL version 2: https://www.drupal.org/about/licensing

@donquixote
Copy link
Author

donquixote commented Jan 6, 2020 via email

@donquixote
Copy link
Author

Hi
I am running into this conundrum again :)

If I were to find the time to attempt to make this more compliant with Drupal standards, which way would you prefer or support?

  • I propose a pull request to this module, OR
  • I become a maintainer and start working on a new major version, OR
  • I create a "fork" named e.g. "route_annotations"?

@slootjes
Copy link
Contributor

Considering this module hasn't been updated in 2 years I'd recommend to fork it. Would appreciate it if you could mention this project as inspiration. Good luck, have fun :)

@donquixote
Copy link
Author

Ok!
I am sure somebody will complain about duplication of modules, but what can we do..

@CountCount
Copy link

@donquixote Did you actually fork it? Coming from a Symfony 5 project to a Drupal 9 project, I'd love to use Route Annotations in Drupal as well. Any chance this will be supported by Drupal in the future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants