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

--- Comment #8 from HKS3 Tadeusz Sośnierz <[email protected]> ---
Created attachment 195937
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195937&action=edit
Bug 41651: (follow-up) Improve plugin dependency handling

The original patch was a great start, but I saw some area's for
improvement including listing all missing dependencies as apposed to
just the first.

- Add POD documentation for the new 'from' parameter in InstallPlugins()
- Normalize staging directory path by removing trailing slashes to
  prevent double-slash issues in destination paths
- Fix path concatenation to avoid double slashes (plugins_dir already
  ends without slash, destdir starts with slash after substitution)
- Report all unmet dependencies at once instead of dying on the first
  one, providing better user feedback
- Add 'last' to break out of metafiles loop once a file is found

Signed-off-by: Tadeusz „tadzik” Sośnierz <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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