Hi everyone, thanks for having me!
I wanted to ask if anyone else has concerns about Moodle's plugin system. Currently, updating a Moodle instance can take a longtime, mainly because of the many different directories involved. Wouldn’t it make more sense to have a single folder for plugins? I believe this would offer these benefits:
-
Simplified updates
Right now, hosting engineers have to search through multiple directories to find all their plugins, since Moodle stores core features and plugins together. This makes it hard to identify what needs to be transferred during an update.If all plugins were stored in a single directory, updating would be as simple as copying that folder, ensuring all plugins are transferred correctly and avoiding the risk of overwriting core features with outdated versions.
-
Improved Docker utilization
With the current setup, the entire Moodle instance needs to be persisted, which can be inefficient. By having a dedicated plugin directory, only that folder would need to be persisted, making Docker-based hosting more streamlined.
Additionally, theconfig.phpfile wouldn’t need to be persisted either. Instead, it could leverage environment variables and secrets which would also significantly enhance security by preventing the storage of sensitive information in plain text.
is this something that could be considered?