[Koha-devel] RFC - installer changes

Vincent Danjean vdanjean.ml at free.fr
Tue Dec 18 08:28:22 CET 2007


Galen Charlton wrote:
> Once a package is created that includes all of the dependencies, I do
> not see why there should be any particular issue.  The only things
> that would require manual setup would be presumably
> 
> (a) creating the mysql database, since I assume a Debian package
> installer wouldn't do this automatically as a matter of policy.

This can be handle via debconf and dbconfig-common. I already setup
this several times. The default will be to create a mysql database on
the local machine but the administrator can easily decide otherwise.
As an example, you can see my [not yet in Debian] dotclear package
(a mysql/php blog engine) : http://www-id.imag.fr/~danjean/deb.html#dotclear
  I can work on this once I finish to package yaz (licenses issues that
should be corrected) and zebra.

> (b) starting Zebra and zebraqueue_daemon (or the cronjob)

This should be handled by init.d scripts (and perhaps desactivated by
default, but in this case, the user should only need to change a
variable in /etc/default/koha)

> (c) tuning the Apache configuration, assuming that Koha is not
> necessarily the only web app installed.

Here, I agree. There is currently no easy way to configure apache from
a installing package point of view. webapps-common will perhaps change
this in the future but it is not yet ready to be uploaded.
  So the package will need to provide apache config files as examples
and a clear documentation about how to enable them.


  About putting C4 in a system-wide perl directory or in an application
specific directory (/usr/share/koha/perl probably), I do not thing that
Debian have specific requirement. It is more up to you (upstream) to
decide if the API is public or not.
  If C4 is installed in the system-wide perl directory AND if other packages
depend on it, then coordination between theses packages will be needed at
each koha upgrade to unsure correct dependencies and smooth upgrade path.


  Best regards,
    Vincent

-- 
Vincent Danjean       GPG key ID 0x9D025E87         vdanjean at debian.org
GPG key fingerprint: FC95 08A6 854D DB48 4B9A  8A94 0BF7 7867 9D02 5E87
Unofficial pacakges: http://www-id.imag.fr/~danjean/deb.html#package
APT repo:  deb http://perso.debian.org/~vdanjean/debian unstable main






More information about the Koha-devel mailing list