Project

General

Profile

Feature #26889

[RFE] Would like to see a way to display errata date when using hammer erratum list

Added by Waldirio Pinheiro 5 months ago. Updated about 2 months ago.

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

Description

Description of problem:
Would like to see a way to display errata date when using hammer erratum list

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

How reproducible:
Running "hammer erratum list" does not display errata date

Steps to Reproduce:
]# hammer erratum list

Actual results:
Fields this displays are:
ID | ERRATA ID | TYPE | TITLE

Would like to see the Errata date

Additional info:
Example to compare with Satellite 5's spacecmd it does provide date in output:

spacecmd {SSM:0}> softwarechannel_listerrata rhel-x86_64-server-rs-7
---------------
RHSA-2018:3056 Moderate: samba security, bug fix, and enhancement 2018-10-30
RHSA-2018:1169 Important: corosync security update 2018-04-17
RHSA-2018:1060 Important: pcs security update 2018-04-10
</snip>

Have been able to create bash for loop to use 'hammer erratum list' but would like to make this field part of just running the command:

]# for b in $(hammer --csv erratum list | grep -v ^ID | cut -d, -f1); do hammer erratum info --id $b | grep -E '(^ID|^Errata ID|^Issued|^Updated|^Title)' | paste -s -d, ; done

Associated revisions

Revision d994ad16 (diff)
Added by Waldirio Pinheiro 5 months ago

Fixes #26889 issued and updated added on errata page

History

#1 Updated by Waldirio Pinheiro 5 months ago

  • Pull request https://github.com/Katello/hammer-cli-katello/pull/647 added

#2 Updated by Waldirio Pinheiro 5 months ago

Waldirio Pinheiro wrote:

Description of problem:
Would like to see a way to display errata date when using hammer erratum list

  1. hammer erratum list --per-page 5
    -----|----------------|-------------|------------------------------------------------|------------|-----------
    ID | ERRATA ID | TYPE | TITLE | ISSUED | UPDATED
    -----|----------------|-------------|------------------------------------------------|------------|-----------
    2932 | RHSA-2019:1265 | security | Critical: firefox security update | 2019-05-23 | 2019-05-23
    2489 | RHSA-2019:1264 | security | Important: libvirt security and bug fix update | 2019-05-23 | 2019-05-23
    3103 | RHSA-2019:1235 | security | Important: ruby security update | 2019-05-15 | 2019-05-15
    3399 | RHSA-2019:1178 | security | Important: qemu-kvm security update | 2019-05-14 | 2019-05-14
    3008 | RHEA-2019:1210 | enhancement | microcode_ctl enhancement update | 2019-05-14 | 2019-05-14
    -----|----------------|-------------|------------------------------------------------|------------|-----------
    Page 1 of 713 (use --page and --per-page for navigation).

#3 Updated by Michael Moll 5 months ago

  • Category changed from API to API
  • Project changed from Foreman to Katello

#4 Updated by Waldirio Pinheiro 5 months ago

  • Status changed from New to Closed

#5 Updated by Andrew Kofink 5 months ago

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

Also available in: Atom PDF