Mailinglist Archive: yast-devel (116 mails)

< Previous Next >
Re: [yast-devel] DnsServerAPI.pm
  • From: Lukas Ocilka <lukas.ocilka@xxxxxxx>
  • Date: Tue, 10 Jun 2008 14:01:35 +0200
  • Message-id: <484E6D1F.3090707@xxxxxxx>
Duncan Mac-Vicar Prett wrote:
Lukas Ocilka wrote:
The current DneServerAPI module works without yast2-dns-server being installed. First time it is used, it reports (into log) that the package is not installed and that the dns-related functions will not work.

It's the similar to the module SLPAPI.pm

It also only provides the API layer, nothing more.

L.


I know.

My question, is, why a package wanting to use that module, should end depending in libzypp and a ton of other packages.

Those reusable modules should be in their own package with their related APIs.

The problem is that some users keep complaining that yast2-http-server requires yast2-dns-server even if they don't want to use the DNS Server on their machine. Another users are pretty satisfied with the yast2-http-server <-> yast2-dns-server connection.

The problem is actually in the fact that the functionality is optional. Some will use it, some will not.

Why Miso moved DnsServerAPI to yast2 :)? Well, because he basically didn't want to write another Perl wrapper around another Perl wrapper (DnsServerAPI is mainly a Perl wrapper around DnsServer YCP Module) ;) ... and this was just cheaper ;)

Another solution would be to move that library to yast2-dns-server-API package. Would it help? Do we want a package with one relatively small library (plus docu?).

L.

< Previous Next >