example-wordpress-composer icon indicating copy to clipboard operation
example-wordpress-composer copied to clipboard

Upgrade project to support Composer 2 and GitHub authentication through header token

Open alesub opened this issue 5 years ago • 2 comments

Right now I'm able to create projects through terminus with a CircleCI authentication after following this guide: https://pantheon.io/docs/guides/build-tools/create-project/

The problem is when I try to create a project with the following command: terminus build:project:create --git=github --team='Radish Lab' --org='SampleOrg' wp project-name123

I get two warnings:

  • One about Composer version, if my local version is 2, the command will fail. I need to downgrade it to version 1.10.19 for it to work.
  • The other is an email coming from Github, saying "Deprecation notice for authentication via URL query parameters". You can read more about it here.

Please note that after May 5, 2021 at 16:00 UTC, it won't be possible to create projects like this anymore, due to the GitHub authentication deprecation. The same thing will happen whenever Composer 1 support is dropped.

alesub avatar Feb 16 '21 22:02 alesub

I'm not sure about the deprecation notice; that was fixed in the past. Maybe it's coming from Composer 1?

We are aware of the Composer 2 limitation. A fix is in the works, but there is no ETA at the moment.

greg-1-anderson avatar Sep 23 '21 23:09 greg-1-anderson

Hi @greg-1-anderson, yes, the deprecation notice coming from Github didn't appear anymore.

Regarding composer 1, I'll really appreciate the upgrade, since the "build-tools" is using this repository and we are using that tool to create our websites.

Thanks!

alesub avatar Sep 24 '21 20:09 alesub