Open consose opened 3 years ago
We still didn't release a version that is compatible with composer 2.x, so you need to use dev-master at the moment.
Ciao Francesco, thanks for your reply! I'm not finding a branch named as dev-master at https://github.com/openeuropa/composer-artifacts The only branches I see are: master; 13-provider-plugins; OPENEUROPA-2095; OPENEUROPA-2258-test-php72 I have also tried to do: composer require-dev openeuropa/composer-artifacts but the require-dev is not recognized.
Could you please give me some other pointers on how to get the dev-master branch? Cheers!
Best, Sergio
Sorry Sergio, didn't see this before. "dev-master" is a way to indicate the master branch in the composer.json.
Dear Sir/Madame, I'm trying to install the OE theme for a fresh installation of drupal 9 (v 9.2.6) from the branch at: https://github.com/openeuropa/oe_theme/tree/a67144b2a44fb1b825db31060791052c3281f429
This requires to have "openeuropa/composer-artifacts" installed. If I try to install it using composer via:
composer require openeuropa/composer-artifacts
however it is not installed and I get the problem:
Note that I have the latest version of composer, having composer-plugin-api = 2.1.0.
The problem is in the composer.json file of openeuropa/composer-artifacts, which is:
https://github.com/openeuropa/composer-artifacts/blob/master/composer.json
Here it is specified
"composer-plugin-api": "^1.1 || ^2.0",
but the logic OR is not recognised by composer and it only takes the ^1.1, which is old.
Would putting "composer-plugin-api": "^2.0", solve the issue? If so, could you please submit this correction in the branch, so that it will be possible to install composer-artifacts with composer 2?
Or can you suggest alternatives maybe?
Please let me know.
Kind regards, Sergio