Closed (fixed)
Project:
Vagrant Drupal Development
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Oct 2013 at 13:54 UTC
Updated:
19 May 2014 at 12:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ericrdb commentedThis patch installs drush-master alongside the already installed stable drush.
Example using drush-master, note the new alias "drush-master"
Comment #2
danylevskyiWow, it's really great patch.
I am curious is it possible to use drush-master with Drupal 7 or Drupal 6 sites?
Comment #3
ericrdb commentedHey, glad you like the patch! Yes, this works with both D7 and D6 sites.
Installing Drupal6 seems to require the explicit "--db-url" argument. At least, it worked only when I did that, which I got from reading #1569832: Can't install Drupal and #1652094: Site-install fails for Drupal 6 sites.
Comment #4
ericrdb commentedI'll see about reworking the patch #2180273: Drupal sites not actually installed to install D6 sites correctly now too.
Also, I haven't yet tested a Drupal8 site install with drush-master.
Comment #5
discipolo commentedthis patch can only work if the drush recipe is executed after git and curl in roles/vdd.json
but thanks a lot! it just saved me since drush channel discover currently isnt working in any of my vdds (which is a seperate issue)
Comment #6
ericrdb commentedGlad it worked for you!
Good call on the order of roles. I had done that on the patch in #2180273: Drupal sites not actually installed and forgot here, thanks for catching that. Patch updated.
Edit: Also, thanks for confirming the same pain we've been having with the pear channel failing for Drush stable installs. Odd for sure.
Comment #7
ericrdb commentedCurrently, Drush is not supporting PEAR channel install:
Latest patch removes PEAR dependency and installs drush-master:
Comment #8
discipolo commentedwonderful.
patch applies with
and everything seems to work just fine!
Comment #9
discipolo commentedsadly after stopping the machine and trying to start it again i get an error that starts with:
Vagrantfile:17:in `block (2 levels) in <top (required)>': undefined method `>' for nil:NilClass (NoMethodError)am trying to replicate that now.
Comment #10
ericrdb commentedThe trailing whitespaces and extra lines in the patch shouldn't create the vagrantfile error. Could start with a clean checkout of the 8.x branch? I'm not able to replicate.
That said, here's a cleaner patch without the trailing whitespaces or extra lines. Thanks
Comment #11
discipolo commentedok. i cannot replicate either. this patch works as expected.
Comment #12
ericrdb commentedExcellent, thanks for following up and confirming @discipolo.
Based on your comment, changing to RTBC.
Comment #13
danylevskyiFolks, thanks for your patches and reviews!
I think we should install composer independently from Drush. As it mentioned it's required globally.
Comment #14
ericrdb commentedWhat I mean is that Drush requires Composer as a "for all users" type of installation, instead of an "only me" method:
https://getcomposer.org/doc/00-intro.md#installation-nix
Perhaps a better comment would be:
# Drush requires Composer to be installed globally.
I'm not quite clear what you'd like to see. Are you suggesting we make a separate recipe for Composer?
Comment #15
danylevskyiYes, I'm suggesting to make separate recipe for Composer.
Comment #16
ericrdb commentedSure enough. How's this?
Comment #17
danylevskyiGreat!
Comment #18
ericrdb commentedCommitted - yay!
Comment #19
duozerskYou guys rock! :)
Comment #20
discipolo commentedkudos!
Comment #21
danylevskyiShould we commit it to 7.x-1.x branch?
Please, see #2209161: VDD versions