pkp / pkp-lib

The library used by PKP's applications OJS, OMP and OPS, open source software for scholarly publishing.
https://pkp.sfu.ca
GNU General Public License v3.0
298 stars 443 forks source link

Auto-upgrade installed plugin gallery plugins during upgrade #4679

Open mfelczak opened 5 years ago

mfelczak commented 5 years ago

At the moment, plugins installed via the plugin gallery are not automatically updated during the upgrade process and need to be manually upgraded one-by-one via the plugin gallery. It would be helpful to have these upgraded automatically as part of the upgrade script.

jonasraoni commented 2 years ago

I consider the https://github.com/pkp/pkp-lib/issues/7764 is a pre-requirement for this task.

steinmb commented 2 years ago

I assume the "upgrade process" refer to upgrade of pkp-lib (from now ref. as core). I personally are fine that core of the system do not try to perform any auto upgrade of 3-part installed modules/plugins. From my new and relative limited knowledge of the plugins do I see now way for core of the system to know what core version the plugins work with. If this is true do I think it is safer to leave them alone. Perhaps a future idea to work on, after the project is composer driven? Even then is a safe & secure auto-upgrade hard to get right.