Re: KPkgManager

Sylvain Joyeux <[email protected]>
Newsgroups gmane.comp.kde.debian
Message-ID <[email protected]>
As the kio-apt and kpkgmanager author, I definitely think I should answer 
to this one :p

> 1) there is a kded module doing the "dirty work" - i particularly don't
> like this, as it introduces a whole slew of issues... we can probably
> discuss the details later
It does not use the kded module as a backend. The KDED module is used to 
launch kpkgmanagerd, which is a standalone program, as root. 
The only issue in this design, IMO, is the security issue. Can you point me 
to other ones ?
What do we gain in this ? The UI does only that - user interface. Building 
other UI is very simple and you can have multiple UI at the same time 
watching over the same daemon.
On the other hand, supporting another package manager (say, urpmi), need 
only rewriting the backend. Everything else is the same.

> 2) It seems that it uses kio-apt as a backend. It is a design decision i
> don't agree with completely. I get the feeling that it should use
> kio-apt for installation as well, which has some issues as well (most of
> which are shared with point 1).
No, it does not. kio-apt and kpkgmanager are two totally different things. 
kpkgmanager uses libapt-pkg through a library wrapper, libkdeapt, and dpkg 
but nothing else, while kio-apt uses apt-cache directly.

libkdeapt is the library doing the real work. kpkgmanagerd is only a DCOP 
wrapper around it. 

As for the package management independence. If you want to port it to other 
systems, you only have to reimplement the DCOP interface (which is very 
simple). kpkgmanager will need no change at all.

> As for the "fix KDE/Debconf" item on your TODO: could you please
> elaborate? I am the KDE Debconf frontend author and i'll be glad to help
> fixing it if i've broken something :).
It's sent to the debian bts. The bug is that the debconf frontend shows a 
mainwindow even if none is needed, which is quite annoying.

I wasn't aware of the existence of your project until very recently. I 
definitely think we should see if we can work together.

OK, I'm now on the kde-debian ML, so please answer here.
Best regards,
-- 
Sylvain Joyeux
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.