Skip to content

Commit

Permalink
fix: Revert "feat(manager/asdf): add support for java semeru and seme…
Browse files Browse the repository at this point in the history
…ru-jre" (renovatebot#32656)
  • Loading branch information
MPV authored and ssams committed Dec 2, 2024
1 parent 1e0f7c5 commit c7afaad
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 46 deletions.
26 changes: 0 additions & 26 deletions lib/modules/manager/asdf/extract.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -818,32 +818,6 @@ awscli 2.8.6
},
],
});
const semeruJdkRes = extractPackageFile(
'java semeru-openj9-17.0.8.1+1_openj9-0.40.0',
);
expect(semeruJdkRes).toEqual({
deps: [
{
currentValue: '17.0.8.1+1',
datasource: 'java-version',
depName: 'java',
packageName: 'java-jdk',
},
],
});
const semeruJreRes = extractPackageFile(
'java semeru-jre-openj9-17.0.8.1+1_openj9-0.40.0',
);
expect(semeruJreRes).toEqual({
deps: [
{
currentValue: '17.0.8.1+1',
datasource: 'java-version',
depName: 'java',
packageName: 'java-jre',
},
],
});
const temurinJdkRes = extractPackageFile('java temurin-16.0.0+36');
expect(temurinJdkRes).toEqual({
deps: [
Expand Down
20 changes: 0 additions & 20 deletions lib/modules/manager/asdf/upgradeable-tooling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,26 +365,6 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
currentValue: adoptOpenJreMatches.version,
};
}
const semeruJdkMatches = version.match(
/^semeru-openj9-(?<version>\d\S+)_openj9-(?<openj9>\d\S+)/,
)?.groups;
if (semeruJdkMatches) {
return {
datasource: JavaVersionDatasource.id,
packageName: 'java-jdk',
currentValue: semeruJdkMatches.version,
};
}
const semeruJreMatches = version.match(
/^semeru-jre-openj9-(?<version>\d\S+)_openj9-\d\S+/,
)?.groups;
if (semeruJreMatches) {
return {
datasource: JavaVersionDatasource.id,
packageName: 'java-jre',
currentValue: semeruJreMatches.version,
};
}
const temurinJdkMatches = version.match(
/^temurin-(?<version>\d\S+)/,
)?.groups;
Expand Down

0 comments on commit c7afaad

Please sign in to comment.