GetValkyrie / valkyrie

Valkyrie is an opinionated local dev stack that makes features/git based Drupal development easy.
http://www.getvalkyrie.com
GNU General Public License v3.0
45 stars 11 forks source link

`drush vpa` doesn't properly detect added profiles #8

Closed MatthewHager closed 9 years ago

MatthewHager commented 9 years ago

I just cloned rune and then did a vpa and it registered the platform but the rune install profile didn't show up. If I create the platform through the UI the profile does show up.

ergonlogic commented 9 years ago

I've added a provision-verify, so that the platform's drushrc.php is populated with the list of projects prior to importing into the front-end.

ergonlogic commented 9 years ago

nope, it looks like the problem was that drush_invoke_process() was mangling the options passed to hosting-import. In my testing, the platform path was always over-written as /var/aegir/hostmaster-7.x-3.x. I fixed it by simply switching to drush_shell_exec(). Eventually, it'd be good to fix Drush's handling of this, but that'll have to wait.