Skip to content

HMS-10989: update maven query to consider version without release - #43

Merged
rverdile merged 3 commits into
content-services:mainfrom
rverdile:maven-versions
Jul 22, 2026
Merged

HMS-10989: update maven query to consider version without release#43
rverdile merged 3 commits into
content-services:mainfrom
rverdile:maven-versions

Conversation

@rverdile

@rverdile rverdile commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

Update maven query to consider version without release
In pulp, the version contains the release information. This means
grouping by version returned duplicated versions with different
releases. This updates the query to remove the release suffix, which
fixes issue where latest_releases contained duplicated versions.

Update tests to use remote fixture
This puts test data for maven repositories in a central location that
can be used by other projects. It also removes the dependency on using
the tang-specific pulp containers.

Refactor BuildList API to be a VersionsList API
This API is used by content-sources-backend to list/get versions. The refactor
returns a list of versions with each build/release info nested, which
better resembles how content-sources expects to use the metadata.

The PR should be merged first: content-services/fixtures#10

rverdile added 2 commits July 20, 2026 11:24
In pulp, the version contains the release information. This means
grouping by version returned duplicated versions with different
releases. This updates the query to remove the release suffix, which
fixes issue where latest_releases contained duplicated versions.
This puts test data for maven repositories in a central location that
can be used by other projects. It also removes the dependency on using
the tang-specific pulp containers.
xbhouse
xbhouse previously approved these changes Jul 21, 2026

@xbhouse xbhouse left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks good!

@xbhouse xbhouse self-assigned this Jul 21, 2026
This API is used by content-sources-backend to list/get versions. The refactor
returns a list of versions with each build/release info nested, which
better resembles how content-sources expects to use the metadata.
@rverdile

Copy link
Copy Markdown
Collaborator Author

@xbhouse pushed one change just to update the fixture URL after merging the PR

@rverdile
rverdile merged commit f9e14eb into content-services:main Jul 22, 2026
2 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