Hi David,
2016-05-16 21:29 GMT-03:00 David Cook <dcook@prosentient.com.au>:
>
> How does one go about adding a dependency to Koha?
>
> With
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10662, I’m re-introducing a dependency on POE. Does that mean we should revert “Bug 11756: remove dependency on POE” (b67dac81cceaab356486001292cff40977682fff)? Or just simply add the dependency back into C4/Installer/PerlDependencies.pm?
I suggest that you just re-add it. It will get messy and untraceable otherwise. We want to know, in a future, why you added that dependency, and the best way to do it, is doing it in the relevant bug. Also, reasons (the string that describes where is used) and minimum required version could need to be adjusted too.
> In that previous commit, I notice that all the “INSTALL.*” files and “install_misc/*packages” files were updated, but how much of that is necessary? Should we even retain the “INSTALL.*” files anymore?
install_misc/*packages hasn't been maintained for a long time. And current scripts (
koha_perl_deps.pl) use PerlDependencies.pm