Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Drupal 8 has /vendor folder and Buildpack fails #106

Open
devekko opened this issue Dec 27, 2015 · 9 comments
Open

Drupal 8 has /vendor folder and Buildpack fails #106

devekko opened this issue Dec 27, 2015 · 9 comments

Comments

@devekko
Copy link

devekko commented Dec 27, 2015

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

@fgrehm
Copy link
Owner

fgrehm commented Jan 5, 2016

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 🍻

@devekko
Copy link
Author

devekko commented Jan 5, 2016

awesome

was wondering how devstep will deal with two PHP buildpacks

can I turn the devstep default internal one off?

@fgrehm
Copy link
Owner

fgrehm commented Jan 5, 2016

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

@devekko
Copy link
Author

devekko commented Jan 5, 2016

ok, will try this in coming weeks...

@devekko
Copy link
Author

devekko commented Jan 5, 2016

THANKS

@fgrehm
Copy link
Owner

fgrehm commented Jan 6, 2016

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

@devekko
Copy link
Author

devekko commented Jan 6, 2016

@fgrehm
Copy link
Owner

fgrehm commented Jan 6, 2016

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

@fgrehm fgrehm mentioned this issue Jan 6, 2016
14 tasks
@devekko
Copy link
Author

devekko commented Jan 6, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants