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.
signature.asc
Description: OpenPGP digital signature
