Skip to content

Commit 68157b6

Browse files
j-mracekrh-atomic-bot
authored andcommitted
Add states to report rpm transaction progress
It should report also erasing in case of reinstall and so on. Closes: rpm-software-management#1133 Approved by: m-blaha
1 parent d34cb45 commit 68157b6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dnf/transaction.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,16 @@
7676

7777
ACTIONS = {
7878
PKG_DOWNGRADE: _('Downgrading'),
79+
PKG_DOWNGRADED: _('Cleanup'),
7980
PKG_INSTALL: _('Installing'),
8081
PKG_OBSOLETE: _('Obsoleting'),
82+
PKG_OBSOLETED: _('Obsoleting'),
8183
PKG_REINSTALL: _('Reinstalling'),
84+
PKG_REINSTALLED: _('Cleanup'),
8285
# TODO: 'Removing'?
8386
PKG_REMOVE: _('Erasing'),
8487
PKG_UPGRADE: _('Upgrading'),
88+
PKG_UPGRADED: _('Cleanup'),
8589

8690
PKG_CLEANUP: _('Cleanup'),
8791
PKG_VERIFY: _('Verifying'),

0 commit comments

Comments
 (0)