Idea: Addon Installation from Dashboard via GitHub
I was just thinking, since the majority of addon developers here seem to use GitHub, all we usually end up doing to install an add-on is to
git clone in the proper directory. Isn't there a way we could securely do this from the Dashboard? Just have a text field where we can paste the GitHub repo link, and then run the
git clone command server-side to install the addon. This could also lead into a way to ping GitHub for addon updates and alert the administrator when something has been updated. I haven't played with it, but I'm sure GitHub has some sort of API for this.
Not that it's hard to ssh into a server and do this
The only major issues I can see are:
1) Security. Any time PHP is allowed to run commands on the host system, it makes me nervous
2) Permissions. Unless some sort of wrapper script is used, this is going to install things under the user:group of the web server. Could cause issues for some.
3) Addons that require server-side tweaking to work properly would make this feature useless.