Skip to content

feat(datasource/java-version): allow custom registry URLs - #45304

Open
palakkhinvasara wants to merge 4 commits into
renovatebot:mainfrom
palakkhinvasara:datasource-java-version-add-customRegistrySupport
Open

feat(datasource/java-version): allow custom registry URLs#45304
palakkhinvasara wants to merge 4 commits into
renovatebot:mainfrom
palakkhinvasara:datasource-java-version-add-customRegistrySupport

Conversation

@palakkhinvasara

@palakkhinvasara palakkhinvasara commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Allow custom registry URLs to be specified for the Java Version datasource.

Changes

  • Enabled custom registry support for the Java Version datasource.
  • Updated getReleases to correctly handle custom registry URLs with or without a trailing /.
  • Added a test verifying releases can be fetched from a custom registry URL.
  • Updated existing snapshots to reflect normalized registry URLs.

Testing

  • Added coverage for custom registry URL handling.
  • Verified the existing Java Version datasource tests continue to pass.
pnpm exec vitest run lib/modules/datasource/java-version/index.spec.ts

Result:

Test Files  1 passed (1)
Tests       11 passed (11)

Checklist

  • Enable customRegistrySupport
  • Update getReleases to honor the passed registry URL
  • Add custom registry URL test
  • Update snapshots
  • Verify all Java Version datasource tests pass

@github-actions
github-actions Bot requested a review from viceice August 16, 2026 14:06
@palakkhinvasara palakkhinvasara changed the title Allow custom registry URLs to be specified for the Java Version datasource feat(datasource/java-version): allow custom registry URLs Aug 16, 2026
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.

1 participant