Display the information of yum updateinfo on TUI (for RHEL, Amazon, Oracle)

This commit is contained in:
kota kanbe
2017-07-26 01:03:27 +09:00
parent 1aae425945
commit ed162d7d6e
4 changed files with 35 additions and 14 deletions

View File

@@ -708,6 +708,10 @@ func setChangelogLayout(g *gocui.Gui) error {
lines := []string{}
vinfo := vinfos[currentVinfo]
for _, adv := range vinfo.DistroAdvisories {
lines = append(lines, adv.Format())
}
for _, name := range vinfo.PackageNames {
pack := currentScanResult.Packages[name]
for _, p := range currentScanResult.Packages {