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.

Comments

ergonlogic’s picture

Status: Active » Needs review
StatusFileSize
new1.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.