I'm glad my code could inspire you.

Would it be an idea to make provision_git the backend for hosting_site_git?

I've so far identified a few missing pieces:
* calling provision-verify after pull ( done in http://drupal.org/project/devshop_provision - pull.devshop.provision.inc )
* support for git submodules

Comments

helmo’s picture

Companion issue in the hosting_site_git queue: #1548970: Collaborate with provision_git?

ergonlogic’s picture

I'd love to see this! I want to use these modules in Aegir-up (and Drush Vagrant) as part of a more standardized continuous integration system.

jon pugh’s picture

Yes, you can absolutely use the provision-git commands as a backend for hosting_site_git! That is exactly what DevShop does. This module is just a wrapper for git. Please see #1561536: Pull from platform or site directory as a placeholder issue for allowing provision-git-pull to work on site aliases in the site folder.

Calling provision-verify should be handled by your module, just as devshop handles it. provision-git is simply for calling git commands, not all users would want to verify immediately. There is a post-task hook, and actually, you should probably create a new font-end verify task much like migrating or cloning a site will create a new verify task.

Support for git submodules would absolutely be useful in provision_git, but I don't use them so I can't provide that yet, however, as usual, patches welcome!

jon pugh’s picture

Status: Active » Closed (fixed)

Issues created. See #1561540: Pull git submodules if there are any.

Marking fixed!

jon pugh’s picture

Issue summary: View changes

Updated issue summary.