-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Drop Apache 2.0 compatibility code #2226
Conversation
apache::mod::proxy_connect is a classBreaking changes to this file WILL impact these 1 modules (exact match):This module is declared in 174 of 579 indexed public
|
2af1005
to
732b6da
Compare
manifests/mod/proxy_connect.pp
Outdated
| @@ -2,17 +2,14 @@ | |||
| # Installs `mod_proxy_connect`. | |||
| # | |||
| # @param apache_version | |||
| # Used to verify that the Apache version you have requested is compatible with the module. | |||
| # Deprecated and unused. Remains here for compatibility. | |||
| # | |||
| # @see https://httpd.apache.org/docs/current/mod/mod_proxy_connect.html for additional documentation. | |||
| # | |||
| class apache::mod::proxy_connect ( | |||
| $apache_version = undef, | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kept this variable in to not make it a breaking change. Silently ignoring it is safe, but it should be removed with the next major release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we open a PR that drops it? I'm quite sure otherwise we will forget it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought about the same thing.
|
@david22swan This looks good to go to me but I'm wondering if we should include the breaking change mentioned by @ekohl above. There is no real reason we can't do a major release. What do you think? |
|
I'm down with that. @ekohl Feel free to remove the variable in this PR 😄 |
It's safe to assume the version is >= 2.2 so the conditional can be dropped.
| @@ -2,17 +2,14 @@ | |||
| # Installs `mod_proxy_connect`. | |||
| # | |||
| # @param apache_version | |||
| # Used to verify that the Apache version you have requested is compatible with the module. | |||
| # Deprecated and unused. Remains here for compatibility. | |||
| # | |||
| # @see https://httpd.apache.org/docs/current/mod/mod_proxy_connect.html for additional documentation. | |||
| # | |||
| class apache::mod::proxy_connect ( | |||
| $apache_version = undef, | |||
| ) { | |||
| include apache | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been wondering if this is still needed, but I wasn't sure. Decided to keep it in since that's safe.
732b6da
to
a88bd78
Compare
|
Updated to drop the parameter. |
|
@ekohl Thanks again for the work :) |
It's safe to assume the version is >= 2.2 so the conditional can be dropped.