Project

General

Profile

Actions

Bug #18702

closed

`hammer package list --product-id 1` returns all packages for all products

Added by Brad Buckingham about 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1422552

Description of problem:
The `--product-id` flag in `hammer package list` command does not filter the search by product.

Version-Release number of selected component (if applicable):
6.2.7

How reproducible:
Always

Steps to Reproduce:
1. Create or sync some products
2. Run `hammer package list --product-id 1` for a single product ID

Actual results:
All packages are returned.

Expected results:
The API endpoint katello/api/v2/repositories/:id/packages is used, or a new API endpoint, katello/api/v2/products/:id/packages is used to return filtered results.

Actions #1

Updated by Brad Buckingham about 7 years ago

  • Target version set to 169
Actions #2

Updated by Brad Buckingham about 7 years ago

  • translation missing: en.field_release set to 114
Actions #3

Updated by Andrew Kofink about 7 years ago

  • Assignee set to Andrew Kofink
Actions #4

Updated by The Foreman Bot about 7 years ago

  • Status changed from New to Ready For Testing
  • translation missing: en.field_release deleted (114)
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/487 added
Actions #5

Updated by Anonymous about 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #6

Updated by Justin Sherrill about 7 years ago

  • translation missing: en.field_release set to 211
Actions

Also available in: Atom PDF