General developer forum

Auto-discovery of 3rd-party plugins

 
 
Picture of Scott O'Connell
Auto-discovery of 3rd-party plugins
 

Hello,

We have developed plugins (Local and Auth) in order for our application to integrate with Moodle. I was wondering if there was a way we could stipulate some sort of URL in our plugin so that it can be polled for updates, similar to how Moodle does it with the core and its own plugins, themes etc via Moodle.org?

 
Average of ratings: -
Davo
Re: Auto-discovery of 3rd-party plugins
Group DevelopersGroup Particularly helpful Moodlers

It is not just Moodle's 'own' plugins that are checked for updates - the vast majority of plugins published on Moodle.org are 3rd-party plugins that have been submitted there.

If you upload your plugins to the Moodle.org plugins databasehttps://moodle.org/plugins/registerplugin.php ) then they will be automatically included in the update checks.

 
Average of ratings: -
Picture of David Mudrák
Re: Auto-discovery of 3rd-party plugins
Group DevelopersGroup Documentation writersGroup Moodle HQGroup Particularly helpful MoodlersGroup Translators
Also, for development and debugging purposes, there is also $CFG->alternativeupdateproviderurl but I'm not sure what exactly you are trying to achieve.
 
Average of ratings: -
Picture of Scott O'Connell
Re: Auto-discovery of 3rd-party plugins
 

Thanks for your reply,

Our plugins are actually just enhancements to the API functions, so perhaps I will look at uploading - or even contributing to the core.

 
Average of ratings: -