Skip to content

Conversation

@quintesse
Copy link
Contributor

No description provided.

@quintesse quintesse requested a review from maxandersen January 20, 2026 16:08
@quintesse
Copy link
Contributor Author

@maxandersen I created this Java Metadata based installer and it works perfectly. There's only one thing that we might want to consider: the metadata API separates the lists for GA and EA and for Temurin and AOJ. To be as similar as the Foojay installer it actually does 4 requests, to get GA and EA versions for Temurin and GA and EA versions for AOJ. We should think if we can make this more efficient.

The first thing I just realize is that EA versions for AOJ doesn't make much sense, so that would at least reduce things to 3 requests.

@maxandersen
Copy link
Contributor

Is the intent this will be default or a fallback? How about the initial boothup?

@quintesse
Copy link
Contributor Author

Is the intent this will be default or a fallback?

Don't know yet. In this PR I made it the default, but that's just the devkitman default which JBang overrides anyway, so the default isn't actually used there.

Making it the default in JBang would mean a change in JBang. But I'm not sure. On the one hand we have a more reliable service with Metadata, but on the other hand we have a more extensive catalog with Foojay which includes EAs that are very useful.

How about the initial boothup?

Yes, I hadn't actually thought about that yet, but that's definitely something not handled by devkitman. That should be an issue in the JBang repo.

But to at least answer the question here: yes that would be a problem because the Metadata API doesn't allow filtering, or getting only a single URL result.

Opened an issue for that: jbangdev/jbang#2377

@quintesse quintesse merged commit fa20762 into main Jan 27, 2026
3 checks passed
@quintesse quintesse deleted the metadata_installer branch January 27, 2026 08:44
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