paketo-buildpacks / oracle

A Cloud Native Buildpack that provides the Oracle JDK implementations of JREs and JDKs
Apache License 2.0
1 stars 3 forks source link

Add a release EOL notification to buildpack output #166

Open dmikusa opened 11 months ago

dmikusa commented 11 months ago

Describe the Enhancement

As we do for other buildpacks, like Spring Boot, we should add a notification that lets users know when they are approaching the EOL date for their version of Oracle GraalVM.

Possible Solution

Check the release date from our metadata, add 3 years to that for an LTS release or 1 year for a non-LTS release. If we are approaching that date start to warn the user. If we've passed that date, print a larger warning.

Motivation

There are some licensing implications with Oracle GraalVM, see https://github.com/paketo-buildpacks/rfcs/pull/294#issuecomment-1766921950, so a notification could be helpful. It's also just a good idea for users to stay current, so if they're falling behind a little nudge to upgrade is a good thing.