Project

General

Profile

Actions

Bug #30624

closed

repository content 'compare' api does not work properly with library CVV

Added by Justin Sherrill over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

1. sync down a repository to some repo (with n packages)
2. create a cv and filter out at least one package (has n-1 packages)
3. call the compare api, passing in the library CVV and your new cv:

curl -X GET -u admin:changeme "https://`hostname`/katello/api/v2/packages/compare?repository_id=1&content_view_version_ids\[\]=12&content_view_version_ids\[\]=1&page=1"

The results will only include n-1 results, not n. It seems to be ignoring packages ONLY in the library CVV

Actions

Also available in: Atom PDF