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

Simplify composer-plugin #5

Merged

Conversation

boesing
Copy link
Member

@boesing boesing commented Jun 10, 2020

Q A
Documentation no
Bugfix no
BC Break yes
New Feature no
RFC no
QA no

Description

Due to the complexity level which is needed to migrate to composer v2 in #3, I would like to propose this simplified version of this plugin.

It does the same as before. Due to the removal of the hole PackageEvent stuff, we do not have to create composer version specific unit tests in #3 and so on.

What do you think?

boesing added 2 commits June 10, 2020 18:11
Signed-off-by: Maximilian Bösing <[email protected]>
@boesing boesing requested a review from weierophinney June 10, 2020 16:28
@boesing boesing added BC Break Enhancement New feature or request labels Jun 10, 2020
@boesing
Copy link
Member Author

boesing commented Jun 10, 2020

Functionality is the same as before. As I dont think that anyone will ever extend services from composer plugins, I think we can safely create a new major version and let users upgrade.

If we are doing this, we could target the composer v2 support to the next major aswell and we are ready for composer v2.

If we do not want to do this, I will create the tests based on the composer version in #3 and we are ready for composer v2 aswell.

@boesing boesing mentioned this pull request Jun 10, 2020
@weierophinney
Copy link
Contributor

For plugins, the only BC break really is if the functionality changes for the end-user consumer of the plugin; the API in this case is how it is consumed, not how it is coded.

As such, I think we could likely target a new minor release, as we'd be bumping the Composer and/or PHP requirements only.

@boesing boesing removed the BC Break label Jun 13, 2020
@boesing boesing added this to the 1.3.0 milestone Jun 13, 2020
Signed-off-by: Maximilian Bösing <[email protected]>
Copy link
Contributor

@weierophinney weierophinney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nitpick on changelog; otherwise, ready to 🚢

Signed-off-by: Matthew Weier O'Phinney <[email protected]>
@weierophinney weierophinney merged commit c8c788b into laminas-api-tools:develop Jul 1, 2020
@boesing boesing deleted the feature/simplify-plugin branch July 1, 2020 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants