我已按照http://getcomposer.org/doc/articles/handling-private-packages-with-satis.md上的说明设置 Satis。
我得
php bin/satis build satis.json ./
但随后出现以下错误:
[Composer\Downloader\TransportException]
The 'https://bitbucket.org/api/1.0/repositories/companyName/myPackageName/tags' URL could not be accessed: HTTP/1.1 403 FORBIDD
EN
我猜这是因为它是一个私有存储库。有谁知道如何解决这个问题?
我的satis.json:
{
"name": "Name Of Package",
"homepage": "https://bitbucket.org/companyName/packageName",
"repositories": [
{ "type": "vcs", "url": "https://bitbucket.org/companyName/packageName" }
],
"require-all": true
}