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

Remove platform version complexity for Java version #6

Merged
merged 2 commits into from
Feb 20, 2025

Conversation

nmburgan
Copy link
Member

OpenVox only supports platform 7 and 8, and we don't really need to worry about ancient el8 being weird. We build OpenVox with Java 11, so make this the base version, and ideally use 17 when available.

OpenVox only supports platform 7 and 8, and we don't really need to worry about ancient el8 being weird. We build OpenVox with Java 11, so make this the base version, and ideally use 17 when available.
Copy link
Member

@yakatz yakatz left a comment

Choose a reason for hiding this comment

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

LGTM

@nmburgan nmburgan merged commit 6937a73 into main Feb 20, 2025
@nmburgan nmburgan deleted the remove_java_platform_complexity branch February 20, 2025 19:24
@@ -189,24 +189,13 @@
options.systemd_el = 1
elsif options.operating_system == :el && options.os_version >= 7 # systemd el
Copy link

Choose a reason for hiding this comment

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

Do we even build for EL6 or can we also simplify this?

'java-11-openjdk-headless'
elsif options.os_version >= 8
'java-17-openjdk-headless'
else
Copy link

Choose a reason for hiding this comment

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

Even this else is not needed since line 190 already guarantees os_version is at least 7. I'll clean that up in a later patch.

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

Successfully merging this pull request may close these issues.

3 participants