pantheon-systems / example-wordpress-composer

MIT License
93 stars 51 forks source link

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

Open alesub opened 3 years ago

alesub commented 3 years ago

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:

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.

greg-1-anderson commented 2 years ago

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.

alesub commented 2 years ago

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!