[Koha-bugs] [Bug 24693] GD is declared as an optional dependency but Koha dies without it

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 24 12:52:44 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24693

--- Comment #4 from Julian Maurice <julian.maurice at biblibre.com> ---
Maybe we should clarify what does *required* mean for us.

Personally I believe that every Perl module that we directly `use` or `require`
without checking its presence should be flagged as required. Even if the
require is behind a syspref check or something like that. Put more simply, if
Koha dies because of a missing Perl module, that module is a required
dependency.

Maybe later we can build something based on cpanfile's `feature`
(https://metacpan.org/pod/distribution/Module-CPANfile/lib/cpanfile.pod#feature)
to warn when an optional feature is enabled and the required modules for this
feature are missing.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list