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
feat(manager/asdf): add support for java semeru and semeru-jre #25063
Conversation
For example, here's the currently existing $ asdf list-all java | grep 'semeru'
semeru-jre-openj9-8u302-b08_openj9-0.27.0
semeru-jre-openj9-8u312-b07_openj9-0.29.0
semeru-jre-openj9-8u322-b06_openj9-0.30.0
semeru-jre-openj9-8u332-b09_openj9-0.32.0
semeru-jre-openj9-8u345-b01_openj9-0.33.1
semeru-jre-openj9-8u362-b09_openj9-0.36.0
semeru-jre-openj9-8u372-b07_openj9-0.38.0
semeru-jre-openj9-8u382-b05_openj9-0.40.0
semeru-jre-openj9-11.0.12+7_openj9-0.27.0
semeru-jre-openj9-11.0.13+8_openj9-0.29.0
semeru-jre-openj9-11.0.14+9_openj9-0.30.0
semeru-jre-openj9-11.0.14.1+1_openj9-0.30.1
semeru-jre-openj9-11.0.15+10_openj9-0.32.0
semeru-jre-openj9-11.0.16+8_openj9-0.33.0
semeru-jre-openj9-11.0.16.1+1_openj9-0.33.1
semeru-jre-openj9-11.0.17+8_openj9-0.35.0
semeru-jre-openj9-11.0.18+10_openj9-0.36.1
semeru-jre-openj9-11.0.19+7_openj9-0.38.0
semeru-jre-openj9-11.0.20+8_openj9-0.40.0
semeru-jre-openj9-11.0.20.1+1_openj9-0.40.0
semeru-jre-openj9-16.0.2+7_openj9-0.27.0
semeru-jre-openj9-17.0.1+12_openj9-0.29.1
semeru-jre-openj9-17.0.2+8_openj9-0.30.0
semeru-jre-openj9-17.0.3+7_openj9-0.32.0
semeru-jre-openj9-17.0.4+8_openj9-0.33.0
semeru-jre-openj9-17.0.4.1+1_openj9-0.33.1
semeru-jre-openj9-17.0.5+8_openj9-0.35.0
semeru-jre-openj9-17.0.6+10_openj9-0.36.0
semeru-jre-openj9-17.0.7+7_openj9-0.38.0
semeru-jre-openj9-17.0.8+7_openj9-0.40.0
semeru-jre-openj9-17.0.8.1+1_openj9-0.40.0
semeru-jre-openj9-_openj9-
semeru-openj9-8u302-b08_openj9-0.27.0
semeru-openj9-8u312-b07_openj9-0.29.0
semeru-openj9-8u322-b06_openj9-0.30.0
semeru-openj9-8u332-b09_openj9-0.32.0
semeru-openj9-8u345-b01_openj9-0.33.1
semeru-openj9-8u362-b09_openj9-0.36.0
semeru-openj9-8u372-b07_openj9-0.38.0
semeru-openj9-8u382-b05_openj9-0.40.0
semeru-openj9-11.0.12+7_openj9-0.27.0
semeru-openj9-11.0.13+8_openj9-0.29.0
semeru-openj9-11.0.14+9_openj9-0.30.0
semeru-openj9-11.0.14.1+1_openj9-0.30.1
semeru-openj9-11.0.15+10_openj9-0.32.0
semeru-openj9-11.0.16+8_openj9-0.33.0
semeru-openj9-11.0.16.1+1_openj9-0.33.1
semeru-openj9-11.0.17+8_openj9-0.35.0
semeru-openj9-11.0.18+10_openj9-0.36.1
semeru-openj9-11.0.19+7_openj9-0.38.0
semeru-openj9-11.0.20+8_openj9-0.40.0
semeru-openj9-11.0.20.1+1_openj9-0.40.0
semeru-openj9-16.0.2+7_openj9-0.27.0
semeru-openj9-17.0.1+12_openj9-0.29.1
semeru-openj9-17.0.2+8_openj9-0.30.0
semeru-openj9-17.0.3+7_openj9-0.32.0
semeru-openj9-17.0.4+8_openj9-0.33.0
semeru-openj9-17.0.4.1+1_openj9-0.33.1
semeru-openj9-17.0.5+8_openj9-0.35.0
semeru-openj9-17.0.6+10_openj9-0.36.0
semeru-openj9-17.0.7+7_openj9-0.38.0
semeru-openj9-17.0.8+7_openj9-0.40.0
semeru-openj9-17.0.8.1+1_openj9-0.40.0
semeru-openj9-_openj9- |
...for `currentValue` to match the test data.
Drop `<openj9>` regex capture group. Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
@viceice could you take another look? |
use the re-request GitHub button besides the reviewers |
Thanks @viceice, that's done now. |
@viceice I ran |
prettier still fails https://github.com/renovatebot/renovate/blob/main/.github/contributing.md |
@secustor Thanks, should be fixed properly now (as I ran |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please read the Contributor guide and do not ping maintainers
https://github.com/renovatebot/renovate/blob/main/.github/contributing.md
🎉 This PR is included in version 37.39.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
__
@@ -261,6 +261,26 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = { | |||
currentValue: adoptOpenJreMatches.version, | |||
}; | |||
} | |||
const semeruJdkMatches = version.match( | |||
/^semeru-openj9-(?<version>\d\S+)_openj9-(?<openj9>\d\S+)/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/^semeru-openj9-(?<version>\d\S+)_openj9-(?<openj9>\d\S+)/ | |
/^semeru-openj9-(?<version>\d\S+)_openj9-(?<openj9>\d\S+)/ |
this will create invalid PR's when openj9 version changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ouch, yes that's unfortunate.
Do you have any ideas how we might solve this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's what Scoop does, could we do something similar?
https://github.com/ScoopInstaller/Java/blob/master/bucket/semeru-lts-jre.json#L18-L19
I.e. make use of:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this isn't easily solvable, we should revert this PR until we've a proper working datasource / versioning for this.
}; | ||
} | ||
const semeruJreMatches = version.match( | ||
/^semeru-jre-openj9-(?<version>\d\S+)_openj9-\d\S+/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
…atebot#25063) Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Changes
This adds support for the asdf java semeru.
Context
This has been discussed before in at least the following issues:
Similar to what was recently done
(for
temurin
) in:Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: