rpm-software-management / dnf-plugin-system-upgrade

A DNF plugin for system upgrades (moved to dnf-plugins-extras!)
GNU General Public License v2.0
24 stars 22 forks source link

Add 'log' subcommand #21

Closed keszybz closed 9 years ago

keszybz commented 9 years ago

This should work as advertised in #11

$ dnf system-upgrade log
Following boots appear to contain upgrade logs:
1 / 412d0adf0bc947c1841a20b6fd35b94a: 2015-09-10 06:58:59 22→23

$ dnf system-upgrade log 1
...

The output and formatting are probably non-ideal, e.g. it might be better not to show the boot id. This probably can be adjusted later on if necessary.

keszybz commented 9 years ago

OK, I now tested the new verb in a VM and (after the last commit) it seems to work, even though the upgrade itself fails :).

wgwoods commented 9 years ago

Awesome. I might do some minor tweaks for output / code style but this is otherwise perfect. Thanks so much.