Skip to content
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

Support composer_version: 2.5.x or warn if it is not supported #119

Open
ptmkenny opened this issue Dec 4, 2023 · 1 comment
Open

Support composer_version: 2.5.x or warn if it is not supported #119

ptmkenny opened this issue Dec 4, 2023 · 1 comment

Comments

@ptmkenny
Copy link

ptmkenny commented Dec 4, 2023

Recently, trying to work around a composer bug, I had to revert to the 2.5 version.

Platformsh support suggested that I use composer/composer: '2.5.x' in .platform.app.yaml, which I did and which works on Platformsh.

Then I tried to get ddev to pick up this change, so I reinstalled this addon:

ddev get ddev/ddev-platformsh
ddev debug refresh

However, I I found that ddev was using composer 2.6.5, not 2.5.8.

To get ddev to use a 2.5 composer version, I had to set composer/composer: '2.5.8' in .platform.app.yaml.

It would be great to either support defining the version in the same way as platformsh (2.5.x) or to warn the user that an invalid composer version has been defined.

@ptmkenny ptmkenny changed the title Support composer_version: 2.5.x or warn if it is used Support composer_version: 2.5.x or warn if it is not supported Dec 4, 2023
@rfay
Copy link
Member

rfay commented Dec 4, 2023

The normal way to do this right now would be composer_version: 2.5.8 in your .ddev/config.yaml.

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

No branches or pull requests

2 participants