Skip to content

Add index URL fields and strict coordinate listing mode#1596

Merged
vjovanov merged 3 commits into
oracle:masterfrom
vjovanov:vj/source-code-url
Apr 2, 2026
Merged

Add index URL fields and strict coordinate listing mode#1596
vjovanov merged 3 commits into
oracle:masterfrom
vjovanov:vj/source-code-url

Conversation

@vjovanov

@vjovanov vjovanov commented Apr 1, 2026

Copy link
Copy Markdown
Member

What does this PR do?

  • Adds source-code-url and test-code-url as optional fields in metadata index entries via a new schema file: metadata-library-index-schema-v2.1.0.json.
  • Updates index validation to use schema v2.1.0.
  • Propagates the new fields through index entry model and index-updating tasks (ScaffoldTask, TestedVersionUpdaterTask, MetadataGenerationUtils) so existing values are preserved.
  • Adds -PstrictCoordinates=true support to listCoordinates so it resolves coordinates through getMatchingCoordinatesStrict (including fractional k/n handling).
  • Updates contributor/developer docs and adds a strict-matching regression test in TckExtensionTests.

Code sections where the PR accesses files, network, docker or some external service

  • N/A (this change does not introduce new external service access)

Testing

  • ./gradlew :tck-build-logic:test --tests org.graalvm.internal.tck.harness.TckExtensionTests --stacktrace

Checklist before merging

@vjovanov vjovanov requested review from jormundur00 and kimeta April 1, 2026 11:57
Comment thread metadata/schemas/metadata-library-index-schema-v2.1.0.json Outdated
@vjovanov vjovanov force-pushed the vj/source-code-url branch 3 times, most recently from 9501cf4 to 2971cf1 Compare April 1, 2026 16:43
@vjovanov vjovanov force-pushed the vj/source-code-url branch 8 times, most recently from ab428ca to eccc1d1 Compare April 2, 2026 13:36

import static org.assertj.core.api.Assertions.assertThat;

class SearchArtifactURLsTaskTests {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This should be called PopulateArtifactURLsTaskTests.

@vjovanov vjovanov force-pushed the vj/source-code-url branch from eccc1d1 to ab97f9e Compare April 2, 2026 13:53
@vjovanov vjovanov force-pushed the vj/source-code-url branch from ab97f9e to d3d99f4 Compare April 2, 2026 14:14
@vjovanov vjovanov merged commit 3e37466 into oracle:master Apr 2, 2026
39 checks passed
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.

2 participants