Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Add java-11-amazon-corretto-jdk package dep #203

Merged
merged 1 commit into from
Jul 23, 2020

Conversation

smstone
Copy link
Contributor

@smstone smstone commented Jul 14, 2020

@lmuhlha @malish8632 @sjoeboo @RochesterinNYC

#200 only added support for running with Corretto if it was available. These changes allow to have Corretto, Oracle, or OpenJDK satisfy the Depends field.

@@ -10,6 +10,6 @@ Build-Depends:
maven (>= 3)
Standards-Version: 3.9.1
Architecture: all
Depends: oracle-jvm-11 (>=11.0.2-1spotify1) | openjdk-11-jre-headless
Depends: java-11-amazon-corretto-jdk (>=1:11.0.7.10-1) | oracle-jvm-11 (>=11.0.2-1spotify1) | openjdk-11-jre-headless
Copy link
Contributor

Choose a reason for hiding this comment

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

if we add this dependency will it be installed during the build?

@@ -10,6 +10,6 @@ Build-Depends:
maven (>= 3)
Standards-Version: 3.9.1
Architecture: all
Depends: oracle-jvm-11 (>=11.0.2-1spotify1) | openjdk-11-jre-headless
Depends: java-11-amazon-corretto-jdk (>=1:11.0.7.10-1) | oracle-jvm-11 (>=11.0.2-1spotify1) | openjdk-11-jre-headless

Choose a reason for hiding this comment

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

The | operator for Depends is an or operator right? So this indicates that java-11-amazon-corretto-jdk should be installed to fulfill the dependency group (strung together by |s) but if it's unavailable, either of the other two can be installed?

Copy link
Member

Choose a reason for hiding this comment

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

yep that's the intention

@RochesterinNYC
Copy link

Noting also that this PR/change will allow VMs/runtimes that are using the version of ffwd that will be built by this PR to purge Java 11 Oracle. Before this PR/change, since ffwd is compatible with Java 11 Corretto but still declares Java 11 Oracle as a dependency, trying to purge or remove the Java 11 Oracle apt package would result in ffwd being uninstalled/removed as well.

@smstone
Copy link
Contributor Author

smstone commented Jul 14, 2020

@RochesterinNYC we can wait until corretto/corretto-11#113 is addressed to move forward with this.

@smstone smstone force-pushed the add-corretto-debian-control branch from 6186396 to 2c1d009 Compare July 23, 2020 15:52
@smstone
Copy link
Contributor Author

smstone commented Jul 23, 2020

@malish8632 @lmuhlha @RochesterinNYC We have the noalt package available to us now. Can you PTAL?

Copy link
Contributor

@malish8632 malish8632 left a comment

Choose a reason for hiding this comment

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

LGTM

@smstone smstone merged commit e98d534 into master Jul 23, 2020
@delete-merged-branch delete-merged-branch bot deleted the add-corretto-debian-control branch July 23, 2020 17:48
Copy link
Member

@lepistone lepistone left a comment

Choose a reason for hiding this comment

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

Looks great!

hnjslater pushed a commit to hnjslater/ffwd that referenced this pull request Aug 3, 2020
hnjslater pushed a commit to hnjslater/ffwd that referenced this pull request Aug 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants