Skip to content

Update Oracle JDK download URL calculation - #30

Closed
nikolai-laevskii wants to merge 5 commits into
mainfrom
update-oracle-jdk-url-calculation
Closed

Update Oracle JDK download URL calculation#30
nikolai-laevskii wants to merge 5 commits into
mainfrom
update-oracle-jdk-url-calculation

Conversation

@nikolai-laevskii

Copy link
Copy Markdown

Description:
Updates how Oracle JDK download URL is determined.
Previously it would pick either "archive" or "latest" download links depending on whether user specified just major version (it would select "latest") or major.minor.(patch) as well (it would select "archive"). It doesn't seem like a correct logic because it's just the version format, it shouldn't determine whether it should be taken from the archive or from latest. Moreover, links for latest versions are invalidated often which causes tests to fail and may potentially break workflows of some people.

I propose just picking every version from the "archive" as even latest versions added there immediately and archive links don't seem to change that often.

Related issue:
No particular issue

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@nikolai-laevskii
nikolai-laevskii force-pushed the update-oracle-jdk-url-calculation branch from f14f691 to 6f8a584 Compare June 8, 2023 10:50
@nikolai-laevskii
nikolai-laevskii force-pushed the update-oracle-jdk-url-calculation branch from 2097db9 to ebe05e0 Compare July 5, 2023 07:36
@nikolai-laevskii

Copy link
Copy Markdown
Author

actions#507

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.

5 participants