Closed fritzmg closed 7 years ago
Can't these lines simply be removed?
{
"type": "composer",
"url": "https?://legacy-packages-via.contao-community-alliance.org",
"allow_ssl_downgrade": false
},
The legacy repository is added by the composer-plugin
anyway (see https://github.com/contao-community-alliance/composer-plugin/issues/64), albeit in a different, but working version.
You may safely remove these lines. We will have to update the client to add them in the same format as the plugin.
You may safely remove these lines.
Well, I meant remove them from the composer-client in Runtime.php#L84-L88.
I'm also running into this issue while installing the composer-plugin
on a fresh Contao 3.5.21 installation. Removing the mentioned lines above from composer.json
and run a composer.phar update
helped me out.
Fixed in 3bab0ec9cc3de9a6949f1be54672cd3e23ef588b
As of version
0.16.4
, thecomposer-client
initializes thecomposer.json
with the following information for the legacy repository:(see also https://github.com/contao-community-alliance/composer-plugin/issues/64)
However, with composer
1.3.0
this leads to the following error:If you remove the
?
from the URL, the fatal error will not occur anymore.