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

--- Comment #25 from Robin Sheat <[email protected]> ---
Created attachment 207366
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207366&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]>
Signed-off-by: Robin Sheat <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to