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

drop support for versions < 1.15.0 #1596

Closed
wants to merge 1 commit into from

Conversation

TheMeier
Copy link
Contributor

No description provided.

@TheMeier TheMeier mentioned this pull request May 26, 2024
@TheMeier TheMeier force-pushed the drop_lower_1.15 branch 2 times, most recently from 5d54e95 to 751a315 Compare May 26, 2024 21:15
@TheMeier TheMeier marked this pull request as draft May 26, 2024 21:26
@TheMeier TheMeier force-pushed the drop_lower_1.15 branch 4 times, most recently from 8168e7c to 34e36c8 Compare May 27, 2024 13:06
@TheMeier TheMeier marked this pull request as ready for review May 27, 2024 13:40
@@ -240,7 +240,7 @@
Hash $nginx_upstreams = {},
Nginx::UpstreamDefaults $nginx_upstreams_defaults = {},
Boolean $purge_passenger_repo = true,
String[1] $nginx_version = pick(fact('nginx_version'), '1.6.0'),
String[1] $nginx_version = pick(fact('nginx_version'), '1.16.0'),
Copy link
Member

Choose a reason for hiding this comment

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

I am wondering if we can not just default to installed?

Suggested change
String[1] $nginx_version = pick(fact('nginx_version'), '1.16.0'),
String[1] $nginx_version = 'installed',

Putting an arbitrary (outdated) version does not look good, and if we do a breaking release maybe it is time to improve this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fine with me, I was just trying to change as little as possible

Copy link
Member

Choose a reason for hiding this comment

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

Because the code does version comparisons all over the place to see if it's compatible. The version comparison with installed wouldn't work.

Note it's also using a fact so the default should most of the time be dynamic.

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

Debian 10 ships nginx 1.14, so this would require dropping that from metadata.json.

EPEL7 contains nginx 1.20, so that one shouldn't cause any issues.

TheMeier added a commit to TheMeier/puppet-nginx that referenced this pull request May 28, 2024
there is already breaking changes on master, so next
releease will be major

test have been broken for a while and will be fixed in
voxpupuli#1596
@TheMeier
Copy link
Contributor Author

Debian 10 ships nginx 1.14, so this would require dropping that from metadata.json.

EPEL7 contains nginx 1.20, so that one shouldn't cause any issues.

I have set #1595 to ready, maybe we can change it with failing tests. I will clean up here afterwards.

I was about to also drop epel7, whole Idea was to prepare a new major release and thus drop debian 10, rhel 7, centos 8 as well as add debian 12

@TheMeier TheMeier requested a review from ekohl May 28, 2024 15:10
@TheMeier TheMeier added this to the 6.0.0 milestone Jun 2, 2024
@TheMeier TheMeier marked this pull request as draft June 3, 2024 06:47
@TheMeier TheMeier removed this from the 6.0.0 milestone Jun 3, 2024
@TheMeier TheMeier closed this Jun 3, 2024
Enrice pushed a commit to Enrice/puppet-nginx that referenced this pull request Jun 5, 2024
there is already breaking changes on master, so next
releease will be major

test have been broken for a while and will be fixed in
voxpupuli#1596
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.

3 participants