I blieve that we'd need to implement hook_drush_context_import().

This should allow us to create projects remotely. In particular, I'd like to be able to create a project on a testing server that mirrors a project I've created in a local dev environment.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ergonlogic’s picture

Status: Active » Needs review
FileSize
1.46 KB

hook_drush_context_import() was indeed the solution. Patch attached.

ergonlogic’s picture

Status: Needs review » Needs work

While this'll import the project, it doesn't trigger platform/site builds.

Jon Pugh’s picture

Applied and committed, thanks!

I suppose, now that the project context saves an array with the environments and settings, that it could run provision-devshop-create on each of those to create the platforms...

Jon Pugh’s picture

Version: » 6.x-1.x-dev
Priority: Normal » Major

Would like to finish this one off.

Jon Pugh’s picture

Priority: Major » Critical
Issue summary: View changes

Bumping to the top of the list. This should really be finished.

Jon Pugh’s picture

daggerhart’s picture

Component: devshop_projects » General
Status: Needs work » Closed (outdated)
Issue tags: +Seattle2019

Issue queue is now mantained at Github.