[Koha-bugs] [Bug 9890] Fix the new plugin system for package installs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 22 12:40:23 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9890

--- Comment #9 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Some more comments after digging around some more:

(In reply to comment #4)
> OK, so as I understand it, we'd need to:
> 
> 1) koha-create: fill in __PLUGINS_DIR__

And we probably want to have some standard location, so all we really need to
fill in is the instancename.

> 2) leave the enable_plugins as off (at least for now)

Yeah, Jared seems very set on making sure plugins are not enabled by
accident... ;-)

> 3) koha-create-dirs: create the directory, set permissions (writeable by the
> koha user)

An alternative approach could be to have a separate script like
koha-plugins-enable that creates the dirs only when they are actually needed.
But putting it in koha-create-dirs is probably a lot less work...

> 4) I'm not sure what the deal is with the cgi-bin/plugins directory. What
> goes there? How is it generated in a normal installation?s 

As far as I can tell, the problem is that the new plugins/ dir we have in the
repository is not mentioned in Makefile.PL. I wonder if this will result in the
same problem Im seeing on a standard install?

I got the paths slightly wrong. This is the URL from Plugins in the More menu,
which gives me a 404:

/cgi-bin/koha/plugins/plugins-home.pl

As Kyle pointed out there is another problem too:

5) The Alias /plugin/ ... stuff is missing from the Apache configs installed by
the packages.

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


More information about the Koha-bugs mailing list