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

Suggest minor changes to the code of Semeru related PR #2

Merged
merged 5 commits into from
Mar 14, 2023

Conversation

IvanZosimov
Copy link

Description:
In scope of this PR, I'm suggesting to add several changes to the code from PR. These changes are pretty minor and mostly cosmetic.

core.endGroup();
}

return availableVersions;
}

private getPlatformOption(): string {
// Adoptium has own platform names so need to map them
// Adopt has own platform names so need to map them
Copy link

@mstoodle mstoodle Mar 14, 2023

Choose a reason for hiding this comment

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

Eclipse Adoptium is the proper project name to use here. There's another similar change that also should be reverted.

Copy link
Author

Choose a reason for hiding this comment

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

Adoptium was changed here to Adopt mainly for clarity and separation between the old API https://api.adoptopenjdk.net/q/swagger-ui/  and the new one https://api.adoptium.net/q/swagger-ui/ . As Semeru releases are requested using the old API and this API is documented decently, I think it's better to hint the user with Adopt rather than with Adoptium which can lead to the new API docs. Am I wrong here?

Choose a reason for hiding this comment

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

Ok, I understand your reasoning now, though I don't think the platform names are any different between Adoptium and AdoptOpenJDK and anyone who knows about Adoptium (to the degree they know about its APIs :) ) is probably at least a little familiar with its heritage as AdoptOpenJDK. In any case, it's just a suggestion lobbed in from afar ;) .

@jord1e jord1e merged commit a73fb66 into jord1e-forks:ibm-semeru Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants