HMS-10989: update maven query to consider version without release - #43
Merged
Conversation
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.
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.
Collaborator
Author
|
@xbhouse pushed one change just to update the fixture URL after merging the PR |
xbhouse
approved these changes
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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