我的composer.json中有以下内容,对于bear/package,它正在选择替代git repo,但对于bear/skeleton没有。对于 Bear/skeleton,它从 packagist 获取主要 repo checkout da04548,而不是从 github.com/mackstar 帐户获取 6b3bd0ae16。
有谁知道为什么这适用于一个回购而不是另一个?
提前致谢。
{
"name": "mackstar/spout",
"description":"A BEAR.Sunday based CMS",
"keywords":[
"PHP",
"CMS"
],
"authors":[
{
"name": "Richard McIntyre"
}
],
"repositories": [
{
"type": "vcs",
"url": "https://github.com/mackstar/BEAR.Skeleton"
},
{
"type": "vcs",
"url": "https://github.com/mackstar/BEAR.Package"
}
],
"require":{
"php":">=5.4.0",
"ext-curl":"*",
"bear/resource":"0.9.*",
"bear/skeleton":"dev-develop",
"bear/package":"dev-develop",