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

Arthur Suzuki <arthur.suz...@biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #103311|0                           |1
        is obsolete|                            |

--- Comment #2 from Arthur Suzuki <arthur.suz...@biblibre.com> ---
Created attachment 103317
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=103317&action=edit
Bug 25222: Add ability to let plugins live in individual subdirectories

From Tomas: "We really need to put each plugin in its own subdirectory
(to identify them individually) and have a metadata file we can refer
to."

This would make things much more manageable. Right now, plugins get all
mixed together in the plugins directory. For example, installing the
kitchen sink plugin results in
Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm being created in the
plugins directory. Installing CoverFlow will create CoverFlow.pm in the
same directory as KitchenSink.pm.

There is no reason that plugins cannot be created to install in a
subdirectory directly in the kpz file. In that case, the plugins
directory would contain something like
kitchen-sink/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm, while
CoverFlow would live in
coverflow/Koha/Plugin/Com/ByWaterSolutions/CoverFlow.pm.

Test Plan:
1) Apply this patch
2) Restart all the things!
3) Download the Kitchen Sink plugin
4) Rename it from kzp to zip
5) Unzip the plugin
6) Create a new directory kitchen-sink
7) move the Koha directory from the plugin into kitchen-sink
8) Zip the new kitchen-sink directory, include that directory in the zip file
9) Change the file suffix from zip to kpz
10) Install the plugin in Koha
11) The plugin should load!

Signed-off-by: Arthur Suzuki <arthur.suz...@biblibre.com>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to