【发布时间】:2019-05-11 10:18:09
【问题描述】:
是否可以将 repo.magento.com 作为远程存储库添加到 Jfrog Artifactory? 我将 repo.magento.com 添加为远程 php repo,但是当我尝试在 Artifactory 日志中需要像“magento/product-community-edition”这样的模块时,我看到了错误
Error occurred while parsing the response of a remote composer package JSON query on 'https://repo.magento.com/p/magento.json': Expected a file but found a folder, at: php-magento:.composer/p/magento.json
这是因为 repo.magento.com 没有使用惰性 url,而是显式显示 https://repo.magento.com/packages.json 中的所有包。
有什么方法可以自定义 Artifactory packages.json 来防止懒惰的url?
【问题讨论】:
标签: composer-php magento2 artifactory