[Koha-bugs] [Bug 28519] Add a 2nd directory for Perl modules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 21 06:04:51 CEST 2021


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

--- Comment #25 from David Cook <dcook at prosentient.com.au> ---
(In reply to Marcel de Rooy from comment #23)
> (In reply to David Cook from comment #0)
> > Bug 28489 looks to add CGI::Session::Serializer::yamlxs, but it wants to
> > hack it into C4::Auth.
> > 
> > I rather we put it in a Perl "lib" directory. However, /usr/share/koha/lib
> > only exists in a deployed Koha. There is no "lib" directory in the source
> > tree. But we can fix that.
> 
> Not opposing this change, but isnt this a hack too? We could have fooled
> Koha too by making our own package and install it in a regular perllib ?
> Just curious why we exactly need lib.

It's the opposite of a hack. C4 and Koha should never have been top-level
directories in the source tree. We should always have had a "lib" top-level
directory in which to place modules. This change is about creating a better
standard and using it.

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


More information about the Koha-bugs mailing list