Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | devshop_hosting-allow_project_imports-1914696-1.patch | 1.46 KB | ergonlogic |
Comments
Comment #1
ergonlogichook_drush_context_import() was indeed the solution. Patch attached.
Comment #2
ergonlogicWhile this'll import the project, it doesn't trigger platform/site builds.
Comment #3
Jon PughApplied 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...
Comment #4
Jon PughWould like to finish this one off.
Comment #5
Jon PughBumping to the top of the list. This should really be finished.
Comment #6
Jon PughComment #7
daggerhart CreditAttribution: daggerhart as a volunteer and at Hook 42 commentedIssue queue is now mantained at Github.