Screenshot of the finished task

This module extends Aegir with the option to do a 'git pull' in a site directory.

Behaviour

  1. Pull from git
  2. Update git submodules
  3. Trigger a verify task on the site

Installation:

1. Install as any other Drupal module into your hostmaster site.
2. The file hosting_site_git.drush.inc should be copied/linked to the drush installation.
An easy way is to create a symlink in ~/.drush/ to e.g. /var/aegir/clients/admin/hostmaster.example.com/modules/hosting_site_git/.
3. Make sure you have the drush module provision_git installed (drush dl provision_git)

WARNING: If you make code modifications on the server, don't forget to commit them. They will be lost otherwise.

Ideas?

I'm open to ideas to extend this module to do more Git related tasks related to Aegir.
Patches or collaboration with an extra maintainer are very welcome.

Help fund development

Please contribute a little bit to the developers: helmo on Gittip or helmo on Flattr this project.

Project Information

Downloads