-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
COMPOSER_VERSION in options.json breaks buildpak #169
Comments
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/132837149 The labels on this github issue will be updated when the story is started. |
It's a bit unclear which PHP buildpack version you're using. What I take to be the 4.3.14 included composer 1.0.0, 3.4.21 includes composer 1.2.1. Is there a reason for trying to pick 1.0.0? Especially on the .21 buildpack? |
@jchesterpivotal : oh, yes you are correct, that’s a little confusing. I’ve tested it on various versions. I know that it comes bundled with, but according to https://docs.cloudfoundry.org/buildpacks/php/gsg-php-composer.html#configuration you can set (I’m not 100% aware why I should stick with a specific version, but I need to deploy an app which according to the README wants this particular version of |
We're having trouble following the sequence of events inside the buildpack. If you can set As a note, |
Sure, here we go: https://gist.github.com/janaurka/342f6766334590ba7810cb28e2268870 |
Hello @janaurka, It looks like the documentation is misleading. COMPOSER_VERSION works as follows:
If you really need composer 1.0.0, you would have to fork the buildpack and add composer 1.0.0 to the manifest.yml |
Ok, thx for the clearification |
Hey
When trying to select a custom
composer
version using the documented way the buildpack breaks (check errorlog below).What version of Cloud Foundry are you using?
Also testet on a PCF installation running
(API version: 2.54.0)
.What version of the buildpack you are using?
-> but also when
cf push test -b https://github.com/cloudfoundry/php-buildpack.git
which is using the latest version.If you were attempting to accomplish a task, what was it you were attempting to do?
According to the docs it should be possible to set the
COMPOSER_VERSION
in.bp-config/options.json
like this:What did you expect to happen?
I expected the buildpack to download the requested version of
composer
and use this version.What was the actual behavior?
An error occured:
Please confirm where necessary:
The text was updated successfully, but these errors were encountered: