WIP: Added Version control plugin
What is this for?
This plugin integrates Git repositories for the ISPConfig Sites.
You have the option to 'git clone' a repository on the %document_root%/web folder of the websites. The first time you add the repo it tries to 'git clone'-it creating a temporal folder in /tmp/web_git/[web_git_id]/. After the clone, it changes permissions to every file with the user and group of the website. Then it moves all the content to the %document_root%/web folder.
Every time you change the values of a repository (via ISPConfig form) it checks if there is a git repository created in the folder. If not, it tries to clone it. If yes, performs a 'git pull' and changes and chowns all the web folder.
'git pull' log is stored and can be viewed inside a Git repository register.
#Enable module and plugin
ln -s /usr/local/ispconfig/server/mods-available/vcs_module.inc.php /usr/local/ispconfig/server/mods-enabled/vcs_module.inc.php
ln -s /usr/local/ispconfig/server/plugins-available/vcs_plugin.inc.php /usr/local/ispconfig/server/plugins-enabled/vcs_plugin.inc.php