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

Composer: allow composer installers 2.x #328

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Oct 4, 2023

Context

  • Users requiring this package via [WP]Packagist can now use the composer/installers v2.

Summary

This PR can be summarized in the following changelog entry:

  • Users requiring this package via [WP]Packagist can now use the composer/installers v2.

Relevant technical choices:

While the latest version of the composer/installers package is 2.2, I'm explicitly setting the version constraint to a lenient one as this is a non-dev requirement, which comes into play when people use a [WP]Packagist based site setup.

If we set the requirement very strictly, it could conflict with other plugins with different constraints and it is not as if any of the 2.x releases have touched the WordPress installer, so setting it to || 2.0 should be fine.

Test instructions

Test instructions for the acceptance test before the PR gets merged

This PR can be acceptance tested by following these steps:

  • N/A

While the latest version of the `composer/installers` package is `2.2`, I'm explicitly setting the version constraint to a lenient one as this is a non-`dev` requirement, which comes into play when people use a [WP]Packagist based site setup.

If we set the requirement very strictly, it could conflict with other plugins with different constraints and it is not as if any of the 2.x releases have touched the WordPress installer, so setting it to `|| 2.0` should be fine.
@jrfnl jrfnl added this to the 4.6 milestone Oct 4, 2023
@coveralls
Copy link

Pull Request Test Coverage Report for Build 6408268041

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 48.608%

Totals Coverage Status
Change from base Build 6408034137: 0.0%
Covered Lines: 1100
Relevant Lines: 2263

💛 - Coveralls

@jrfnl jrfnl merged commit 6c9f430 into trunk Oct 4, 2023
20 checks passed
@jrfnl jrfnl deleted the JRF/composer-allow-composer-installers-2 branch October 4, 2023 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants