Project

General

Profile

Actions

Feature #26889

closed

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

Added by Waldirio Pinheiro over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
Yes
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

Actions

Also available in: Atom PDF