General developer forum

Plugin deployment tool via Git

 
Picture of Guillaume Allègre
Plugin deployment tool via Git
Plugin developers

(reposted here, since my initial post in General > Installing and upgrading was probably not the best choice)

I have written gitplugins, a simple php script to help deploy (and upgrade) a bunch of plugins,
in a semi-centralized way, provided that the plugins are available in a git repository (vast majority nowadays).
I wanted to avoid the "git submodules" solution, which is quite technically complex (requires a rather high git level),
and not versatile enough, to my mind.
You can see gitplugins as a very light dependency management tool, remotely inspired by composer.

The script is available on github :
https://github.com/silecs/moodle-gitplugins/blob/master/README.md

I have fulfilled the process to index it in the Plugin Directory, but for now it's waiting for approval
(https://tracker.moodle.org/browse/CONTRIB-7094). As this is not a "true" plugin, I don't know if it will be accepted there.

All comments are very welcome.

 
Average of ratings: -
Picture of Joe Cape
Re: Plugin deployment tool via Git
 

This seems like a great idea and something I can see myself using. At a glance I can't see any reason why this dependency management tool would be specific to Moodle rather than php applications in general. 

Why have you chosen to present it as a Moodle tool?

 
Average of ratings: -