renovatebot / renovate

Home of the Renovate CLI: Cross-platform Dependency Automation by Mend.io
https://mend.io/renovate
GNU Affero General Public License v3.0
17.66k stars 2.33k forks source link

Support more Java distributions for asdf .tool-version file #19183

Open kota65535 opened 1 year ago

kota65535 commented 1 year ago

What would you like Renovate to be able to do?

Currently, Renovate asdf manager supports only AdoptOpenJDK in many Java distributions (Corretto, GraalVM, Zulu, etc...). I would be great if Renovate supports all these distributions.

If you have any ideas on how this should be implemented, please tell us here.

asdf-java plugin utilizes joschi's Java metadata API. Maybe adding this as a new datasource will be the first step. And then add versionings of each distribution if not exist.

Is this a feature you are interested in implementing yourself?

Maybe

MPV commented 1 year ago

Possibly related / another way of getting the same thing (?):

MPV commented 9 months ago

This PR (issues discovered in post-merge review) shows an example of this challenge:

How might we go about making Renovate better at discovering (more different kinds of) java versions?