Open martijn-bigbridge opened 9 months ago
Same issue with Magento repository
@martijn-bigbridge Were you able to fix this error?
Not for the latest satis version and composer >= 2. It is possible to use composer 1.x for satis, but it is much slower.
Maybe problem on this part of code https://github.com/onspli/satis/commit/367c9ec72ae83f9d38f293161f0ee9064b33d956 And dumping very slow on 3.0-dev...
Describe the bug You will get the error below when you use a composer repository inside satis.json that contains a provider-url.
Example file after running the Docker command .composer/cache/repo/https---repo.magento.com/packages.json
{"packages":[],"providers-url":"\/p\/%package%$%hash%.json","provider-includes":{"p\/provider-ce$%hash%.json":{"sha256":"58241c175cc120030c9ca901174fa02981e5bc58e79114c40b0cb7052dd4f4b5"},"p\/provider-ee$%hash%.json":{"sha256":"886f47fee3d8235884a5bc81d87a3d76a41ead199772880cea791b6081ef14a9"},"p\/provider-b2b$%hash%.json":{"sha256":"6e8b73c78b66e76d531c7e2f5acb1c5b4e23bf63502af898192916d295289869"},"p\/provider-marketplace-extensions$%hash%.json":{"sha256":"07ca7c7ba7030a0d710e523dc3cde9d4bf6b71e509ea73a45ac07b28b9d66380"}}}
To Reproduce satis.json
Create a free Adobe Magento account for the repo username and password.
Or find another composer repository for satis, that is using (multiple) providers-url's like Magento.
Outcome
Expected behavior Accept and follow the providers-url , so you don't get this error.
Additional context I don't know if this only with Docker.