Project

General

Custom queries

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 over 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

#1

Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8883 added
#2

Updated by Ian Ballou over 4 years ago

  • Target version set to Katello 3.16.1
  • Triaged changed from No to Yes
#3

Updated by Ian Ballou over 4 years ago

  • Target version changed from Katello 3.16.1 to Katello 3.17.0
#4

Updated by Jonathon Turel over 4 years ago

  • Target version changed from Katello 3.17.0 to Katello 3.18.0
#5

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases Katello 4.0.0 added
#6

Updated by Justin Sherrill over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF