Feature #26889
closed[RFE] Would like to see a way to display errata date when using hammer erratum list
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
Updated by Waldirio Pinheiro over 5 years ago
- Pull request https://github.com/Katello/hammer-cli-katello/pull/647 added
Updated by Waldirio Pinheiro over 5 years ago
Waldirio Pinheiro wrote:
Description of problem:
Would like to see a way to display errata date when using hammer erratum list
- 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).
Updated by Anonymous over 5 years ago
- Project changed from Foreman to Katello
- Category changed from API to API
Updated by Waldirio Pinheiro over 5 years ago
- Status changed from New to Closed
Applied in changeset hammer-cli-katello|d994ad16b2762efc86355c09c4402a2820f9a03b.
Updated by Andrew Kofink over 5 years ago
- Target version set to Katello 3.13.0
- Triaged changed from No to Yes