-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
Milestone
Description
Given the following composer.json:
{
"name": "vendor/private-bundle",
"type": "symfony-bundle",
"require": {
"php": ">=5.3.2",
"vendor/other-private-bundle": "*",
"symfony/framework-bundle": "2.1.*"
},
"repositories": [
{
"type": "vcs",
"url": "[email protected]:vendor/other-private-bundle.git"
}
],
"autoload": {
"psr-0": {
"Vendor\\PrivateBundle": ""
}
},
"target-dir": "Vendor/PrivateBundle"
}
and calling php composer.phar install results in:
Installing dependencies
Your requirements could not be solved to an installable set of packages.
Problems:
*The requested package "vendor/other-private-bundle" with constraint [] could not be found.*
I also tried to define repo url in other forms:
https://[email protected]/vendor/other-private-bundle.githttps://bitbucket.org/vendor/other-private-bundlehttps://bitbucket.org/vendor/other-private-bundle.git
without success :(
Dependency vendor/other-private-bundle has its own composer.json definition file.
How can I use private bitbucket repository as a dependency?
Am I doing something wrong or private repos are currently not supported?