Michael Andres – openSUSE Lizards https://lizards.opensuse.org Blogs and Ramblings of the openSUSE Members Fri, 06 Mar 2020 11:29:40 +0000 en-US hourly 1 Boost signals as hooks to extend libzypp? https://lizards.opensuse.org/2008/06/09/boost-signals-as-hooks-to-extend-libzypp/ https://lizards.opensuse.org/2008/06/09/boost-signals-as-hooks-to-extend-libzypp/#comments Mon, 09 Jun 2008 12:56:48 +0000 http://lizards.opensuse.org/?p=53 It would be nice if libzypp had some framework that allowed to implement extensions like e.g. a history of installed and  removed packages easily.

I’m currently looking into the boost signals library to see if we could use it to provide hooks for such extensions.

A  future  ZYpp::commit would then emit signals e.g. before and after installation/deletion of packages. Some extension code could then connect to those signals to create e.g. such a history.

Another candidate would be the repository management emitting signals as repositories are added removed refreshed.

]]>
https://lizards.opensuse.org/2008/06/09/boost-signals-as-hooks-to-extend-libzypp/feed/ 3