Project

General

Profile

Bug #20748

hammer content-view filter rule list and info do not list arch field

Added by Brad Buckingham about 4 years ago. Updated about 3 years ago.

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

Description

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

Description of problem:
when fetching information about a content view filter rule, the architecture information is not displayed

Version-Release number of selected component (if applicable):
tfm-rubygem-hammer_cli_foreman-0.10.2-1.el7sat.noarch
tfm-rubygem-hammer_cli-0.10.2-1.el7sat.noarch
tfm-rubygem-hammer_cli_katello-0.10.0-1.el7sat.noarch

How reproducible:
100%

Steps to Reproduce:
1. create a filter with name=foo, arch=x86_64, version=1234
hammer content-view filter rule create --content-view-filter-id 3 --name foo --arch x86_64 --version 1234

2. list the rules for that filter
hammer content-view filter rule list --content-view-filter-id 3

3. get the details of the filter rule
hammer content-view filter rule info --content-view-filter-id 3 --id 4

Actual results:
[root@sat63-qa-rhel7 ~]# hammer content-view filter rule list --content-view-filter-id 3
--------|-----------|------|---------|-----------------|-----------------|-----------|------------|---------
RULE ID | FILTER ID | NAME | VERSION | MINIMUM VERSION | MAXIMUM VERSION | ERRATA ID | START DATE | END DATE
--------|-----------|------|---------|-----------------|-----------------|-----------|------------|---------
4 | 3 | foo | 1234 | | | | |
--------|-----------|------|---------|-----------------|-----------------|-----------|------------|---------

[root@sat63-qa-rhel7 ~]# hammer content-view filter rule info --content-view-filter-id 3 --id 4
Rule ID: 4
Filter ID: 3
Name: foo
Version: 1234
Created: 2017/08/16 08:01:28
Updated: 2017/08/16 08:01:28

Expected results:
  • hammer content-view filter rule list has an "ARCH" column
  • hammer content-view filter rule info has an "Arch" line

Additional info:

Associated revisions

Revision aea6979c (diff)
Added by Brad Buckingham about 4 years ago

fixes #20748 - cv filter rule list/info should include arch

Support was added to content view package filter rules to allow
setting of architecture. This change is to let the user see
the value set.

Revision 5bce9e24
Added by Brad Buckingham about 4 years ago

Merge pull request #506 from bbuckingham/20748

fixes #20748 - cv filter rule list/info should include architecture

History

#1 Updated by Brad Buckingham about 4 years ago

  • Subject changed from hammer content-view filter rule list and info do not list arch field to hammer content-view filter rule list and info do not list arch field
  • Target version set to 208

#2 Updated by Brad Buckingham about 4 years ago

  • Status changed from New to Assigned

#3 Updated by The Foreman Bot about 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/506 added

#4 Updated by Brad Buckingham about 4 years ago

  • Target version changed from 208 to 213

#5 Updated by Brad Buckingham about 4 years ago

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

#6 Updated by John Mitsch about 4 years ago

  • Legacy Backlogs Release (now unused) set to 250

Also available in: Atom PDF