Closed AdamWill closed 6 years ago
dnfdaemon PR: https://github.com/manatools/dnfdaemon/pull/25
I can't test it right now, but it seems ok to me. @Conan-Kudo since here it is an addition, should be also back compatible, am i wrong?
yeah, the only possible danger here would be if I messed up the try/except syntax somehow, but I don't think I did. :)
See https://bugzilla.redhat.com/show_bug.cgi?id=1624652 and https://bugzilla.redhat.com/show_bug.cgi?id=1630113 . It seems that DNF 3 sends out additional 'actions' in transaction callbacks, without including them in the callback API or docs. Along with a companion commit to dnfdaemon, this handles them. This commit adds the new actions to const.RPM_ACTIONS so that the on_RPMProgress dbus message handler can deal with them. It also makes on_RPMProgress just log a debug message and continue when a message has an unexpected action, rather than crashing.
Signed-off-by: Adam Williamson awilliam@redhat.com