Bug 2125232 - [dnf5] Update dnf5/dnf5daemon-server/dbus/interfaces/*.xml files
Summary: [dnf5] Update dnf5/dnf5daemon-server/dbus/interfaces/*.xml files
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libdnf
Version: 38
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2124994
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-08 12:04 UTC by Milan Crha
Modified: 2023-07-25 10:41 UTC (History)
7 users (show)

Fixed In Version: dnf5-5.1.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-25 10:41:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-707 0 None None None 2023-01-10 11:01:30 UTC

Description Milan Crha 2022-09-08 12:04:37 UTC
The files in dnf5/dnf5daemon-server/dbus/interfaces/*.xml do not match reality, at least the signals are wrong with what is sent to the client:

11:59:35:690 GLib-GIO Dropping signal transaction_verify_start of type (st) since the type from the expected interface is (t)
11:59:35:690 GLib-GIO Dropping signal transaction_verify_progress of type (stt) since the type from the expected interface is (tt)
11:59:35:694 GLib-GIO Dropping signal transaction_verify_progress of type (stt) since the type from the expected interface is (tt)
11:59:35:695 GLib-GIO Dropping signal transaction_verify_stop of type (st) since the type from the expected interface is (t)
11:59:36:205 GLib-GIO Dropping signal transaction_action_start of type (ssit) since the type from the expected interface is (sut)
11:59:36:205 GLib-GIO Dropping signal transaction_action_progress of type (sstt) since the type from the expected interface is (stt)
11:59:36:241 GLib-GIO Dropping signal transaction_action_stop of type (sst) since the type from the expected interface is (st)
11:59:39:169 GLib-GIO Dropping signal transaction_script_start of type (ssi) since the type from the expected interface is (s)
11:59:39:362 GLib-GIO Dropping signal transaction_script_stop of type (ssit) since the type from the expected interface is (st)

You also send a lot more signals (for example the one for package download is missing in the .xml file), I noticed that with a dbus-monitor, but as I asked for an overall progress in bug #2124994 it can be dealt with there.

Comment 1 Milan Crha 2022-09-08 12:07:29 UTC
I forgot to mention, I'm at commit 1cfdcf554bd73ffa635915079f06bcee0b8c193e of the `dnf5` project.

Comment 2 Ben Cotton 2023-02-07 15:08:59 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.

Comment 3 Milan Crha 2023-07-25 10:41:43 UTC
Trying with 5.1.0 it seems the .xml files had been updated (or the code under the hood), because I do not see any such runtime warning any more, thus I'm closing this for now.


Note You need to log in before you can comment on or make changes to this bug.