Re: Time to rewrite dpkg
Goswin Brederlow wrote:
> I think its a bad idea to say "You want to access to dpkg, programm in
> XXX". All interaction should be via a call to dpkg itself. Also
> modules should be programs by itself and not linked.
>
> dpkg would then call "dpkg-download-ftp" to download a package via
> ftp, or it could call "dpkg-download-apt" to use apt and so on.
>
> That way all modules can be written in any language. They only must
> share a common interface via commandline options, which all programs
> can provide easily.
Library interfaces can be much richer and let you do a lot of things that
are a royal pain with a command line interface. They also have less overhead.
C libraries are quite usable from other languages.
--
see shy jo
Reply to: