Re: PHP buildpack looking for composer.json file recursively leads to detecting ASP.Net projects as PHP projects


Daniel Mikusa
 

What version of the PHP build pack are you using? I know this has come up
before and I thought the build pack was changed to look in specific
locations.

Dan

On Fri, Mar 25, 2016 at 3:55 PM, Daniel E Grim <degrim(a)us.ibm.com> wrote:

Hi all,

The PHP buildpack is currently looking recursively for a composer.json
file within the project as part of it's detect script. This is causing an
issue for users trying to push an ASP.Net project which contains bower
packages that have a composer.json file within their directory structure
because their project gets detected by the PHP buildpack. Does anyone know
if there is a need for the PHP buildpack to search for this file
recursively, or would detecting it in the project root be enough? If the
file could be detected only in the project root, that would stop the PHP
buildpack from detecting ASP.Net projects because those composer.json files
are never in the main folder of the project but in the wwwroot/scripts/lib
folder instead.

Thanks,
Dan

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.