devstep icon indicating copy to clipboard operation
devstep copied to clipboard

Drupal 8 has /vendor folder and Buildpack fails

Open devekko opened this issue 10 years ago • 9 comments

I managed to get Drupal 7, Wordpress 4, Joomla 3.45 to installation stage on Devstep

BUT Drupal 8 fails, its got a vendor folder and the Devstep PHP Buildpack logic fails an already existing vendor folder

niccolox@trustyinx:~/Projects/devstep/drupal-8-core|8.0.x⚡ ⇒ devstep hack -p 8075:8075 ==> Creating container using 'fgrehm/devstep:v0.4.0' -----> Building project at '/workspace' with the following buildpacks: - /opt/devstep/buildpacks/php -----> Building with /opt/devstep/buildpacks/php /workspace/vendor cant be a directory

is there a way around this?

can I use alternative Buildpacks in Devstep?

I was looking at the list of Buildpacks in Tsuru and Herokuish and did some simple compares

devekko avatar Dec 27 '15 06:12 devekko

is there a way around this?

Not from the top of my head, sorry. I'm planning to dedicate some time for devstep at some point this month and will look into this before giving you a final answer.

can I use alternative Buildpacks in Devstep?

Sure, see http://fgrehm.viewdocs.io/devstep/buildpacks/custom/ for more :beers:

fgrehm avatar Jan 05 '16 21:01 fgrehm

awesome

was wondering how devstep will deal with two PHP buildpacks

can I turn the devstep default internal one off?

devekko avatar Jan 05 '16 22:01 devekko

You can mount the buildpack on top of devstep's default one :smirk:

fgrehm avatar Jan 05 '16 22:01 fgrehm

ok, will try this in coming weeks...

devekko avatar Jan 05 '16 22:01 devekko

THANKS

devekko avatar Jan 05 '16 22:01 devekko

Now I remember, is Drupal's vendor dir the place where composer's dependencies are kept?

fgrehm avatar Jan 06 '16 22:01 fgrehm

http://cgit.drupalcode.org/drupal/tree/vendor?h=8.1.x

devekko avatar Jan 06 '16 22:01 devekko

looks like it is, lemme see if I can squeeze in a fix for it for 1.0

fgrehm avatar Jan 06 '16 22:01 fgrehm

yes, I think you are correct to assume that, but its Drupal 8 and I am not exactly sure how they work with composer, the composer.json doesnt reference those libs so, maybe they are placed into the tree some other Drupal-y way

devekko avatar Jan 06 '16 23:01 devekko