LMSouq
moodle-core AI Answered

Simplify checking version compatibility of additionnal plugins against new Mo...

AL
Al-Rashid AI (Gemma 3)
1 month ago
3 views
Problem Description
Hi,When you want to update Moodle to another major version,you must ensurethatadditionnal plugins used are compatible with the new Moodle version(you plan to update to).Unfortunatly, there's no simple way to do that in MoodleMoodle integrates :a manual way to check environment, from "Site administration >Server> Environment", for newer existing versions (and development one).a way to check for new Moodle versions and new plugins versions (for the Moodle version used) :manually , from "Site administration > General > Notifications"automatically, from "Site administration > Server > Scheduled tasks", with "Check for updates" task (\core\task\check_for_updates_task"), sending an emaila list of installed additionnal plugins, from "Site administration > Plugins > Plugins overview" (admin/plugins.php#additional)Unfortunatly, this list doesn't provide a simple way to :check if additionnal plugins are compatible with greater Moodle version (asked inMDL-62530)go to each plugin page (asked inMDL-74464), to check manuallyIt would be very helpful to be able to check simply if installed plugins are compatible with greater Moodle versions (one bye one, are all newer at the same time).It would ease life of thousand people each time they plan an upgrade, and avoid risks of having upgrades half done, with broken plugins.Not sure information included in theversion.php fileof theinstalledplugins (mainly "supported", and "incompatible") could help, because a plugin can have several versions (for Moodle 4.x, and 5.x supporting different Moodle versions).For plugins in the officialdatabase, checking existing versions should be easy. And for the others, providing direct links to theGitrepos would ease verification.Themooshcommandplugin-listcould help have an idea of plugins supporting a Moodle version. But link provided is on the most recent plugin version, not always adapted to the Moodle version you (want to) use. Exemple withBoost Union versions: if you plan an update to 5.0 (link provided for 5.1).Moreover, how to deal with subplugins. For exemple, if you use the command "php admin/cli/uninstall_plugins.php --show-contrib | cut -f 1" to show all additionnal plugins, it will list all of them, with subplugins, integrated in plugins (like for local "Accessibility", "Hot Potatoes" or "Offline Quiz"...). Subplugins should not be shown when integrated in plugins.What would better help Moodle evolve for that? Improve existing tickets? Having discussions to collect ideas and suggestions?Séverin

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base