Hi. We met on the floor of the hallway about a patch in the Portland sprints. Nice to see you work with Aegir.
I wrote a patch for this functionality to core aegir 1.x, but the issue kind of fizzled out, and I never rewrote it for 2.x. I did get it working at the time, but never got around to making the jump to 2.x
The patch and discussion is here: https://drupal.org/node/1849304#comment-6811156
I've spoken with anarcat in person and ergonlogic in irc, and they are curious what features of devshop would make a good fit for aegir core. This is a big one!
Also, in case patching core aegir ends up not being feasible, we've built a provision git tool over at http://drupal.org/project/provision_git, if your interested.
Was just wondering what your thoughts would be.
Thanks!
Jon
Comments
Comment #1
cweagansHey Jon,
I did see provision_git before starting work on this. The problem that I see is that exposing a "git pull" operation completely breaks the safety precautions that Aegir has in place (for instance, being able to roll back updates and that kind of thing). I chose to make this only available when provisioning a new platform so that, in order to pull down new code updates, one has to provision a new platform based on the same repository/branch, then migrate your sites to it. This allows for safe rollbacks and things like that.
My use case is a little different, though - the client I built this for is using it to manage production websites and not development sites (as devshop would imply). I'll admit that I haven't played with devshop much, but from what I understand, it's for web agencies that want to manage dev -> stage -> live. In this case, my client is only managing live, so we have to be pretty careful with what we allow.
It's possible that, in the future, we could try to combine efforts. Getting the platform "Verify" task to actually pull down the git repo at the right point in execution was pretty tricky - that might have to be a special case if we ever do join forces.
Let's hold off for now, and see how it goes. I'd love to merge if possible, but I don't have the bandwidth right now to figure out how.
Thanks!
Cameron
Comment #2
helmo commentedI intend to create a hosting_git module to bundle this module with other git related parts for Aegir 7.x-3.x (see #2201133: [meta] Consolidate Git modules)
I've granted commit access to you both, hoping to work together on this...