-
Notifications
You must be signed in to change notification settings - Fork 3
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
"repositories" support only https repositories #105
Comments
Same issue here, but it's strange, with only one repository it works ok. When I add a second it fails. For example:
It works correctly using composer CLI, but when running pack build reports the same parse error |
Having a similar issue here, looks like it's having a problem with a "type: git" packages as well.
Running |
The culprit is the Best option is to parse as a string rather than a URL |
@ngatti-tmm it should work when you make it an array of objects instead and drop the keys. The reason is that otherwise, you do not get order guarantees, and order matters greatly for package lookup when Composer solves dependencies across repositories. I'll see if there is a way to have a more ergonomic error message for exactly this case. |
Hi! thanks for the info, but I tried with
And it failed, but now with a strange composer.lock error:
But |
Yup, now you're hitting the "real" issue described at the very top, @ngatti-tmm :) Working on it! |
As a workaround, you should be able to use No workaround at this time for relative paths, though. |
This is all valid composer repository annotations according to official composer documentation and it works in
heroku/buildpacks:20
. We have been migrating recently toheroku/builder:20/22
and we cant overcome this issue.Only first one with
https
is not producing crash.Build output log:
Another one:
The text was updated successfully, but these errors were encountered: