Project

General

Profile

Bug #30624

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

Added by Justin Sherrill about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

Associated revisions

Revision bb074f00 (diff)
Added by Justin Sherrill almost 2 years ago

Fixes #30624 - don't exclude lib repo on compare

History

#1 Updated by The Foreman Bot about 2 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 almost 2 years ago

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

#3 Updated by Ian Ballou almost 2 years ago

  • Target version changed from Katello 3.16.1 to Katello 3.17.0

#4 Updated by Jonathon Turel almost 2 years ago

  • Target version changed from Katello 3.17.0 to Katello 3.18.0

Since we are getting close to 3.17 GA I'm bumping this off to 3.18 as it doesn't seem critical for 3.17. Ping me if that's incorrect!

#5 Updated by The Foreman Bot almost 2 years ago

  • Fixed in Releases Katello 4.0.0 added

#6 Updated by Justin Sherrill almost 2 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF