New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lib: Notify when installed database changed #555
lib: Notify when installed database changed #555
Conversation
Ping reviewers |
For what it's worth, the libdnf counter part is merged now (rpm-software-management/libdnf#1542). |
This needs documentation and maybe should be added to the backend compatibility matrix as well (otherwise I think this is a useful feature). |
what kind of documentation do you mean, please?
Where is that, please? In the backends/dnf/README.md ? |
aa3b962
to
f2b9e57
Compare
The documentation is here: https://github.com/PackageKit/PackageKit/blob/main/docs/html/pk-matrix.html |
Aha, I see. Thanks for the pointer. |
I added a commit with the added entry in the pk-matrix.html (there are two backends calling |
50d9f09
to
25073d3
Compare
Similar to the "updates-changed" signal emit "installed-changed" when the backend notifies about changes in the installed apps, thus the library user can update its UI accordingly. The signal only means it's possible something changed, it doesn't mean there changed anything.
25073d3
to
8da8f53
Compare
I updated the branch:
|
PackageKit 1.2.9 adds a new "installed-changed" signal, which notifies the listener about possible changes in the installed apps/packages, thus listen on it and let the GUI know. Depends on PackageKit/PackageKit#555 Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1787
Similar to the "updates-changed" signal emit "installed-changed" when
the backend notifies about changes in the installed apps, thus the library
user can update its UI accordingly. The signal only means it's possible
something changed, it doesn't mean there changed anything.
In case of the libdnf backend this may require rpm-software-management/libdnf#1542 on some systems.