I am having problems using a specific branch as a dependency in my project.
I have one repository that I will name repositoryA, which is a project that I am worried about, and repositoryBwhich is another repository that I depend on repositoryA.
However, I have a specific branch in repositoryBnamed "1.0" that I want to specify for use by the composer.
What I tried in repositoryAis to specify the following as a requirement in composer.json (treat it as if each line were in different attempts, and not in the same file / attempt):
"my-vendor/repositoryB": "1.0-dev",
"my-vendor/repositoryB": "1.0.x-dev",
"my-vendor/repositoryB": "dev-1.0",
"my-vendor/repositoryB": "dev-1.0.x",
"my-vendor/repositoryB": "1.0",
"my-vendor/repositoryB": "1.0.x",
, , :
The requested package my-vendor/repositoryB 1.0.x-dev exists as
my-vendor/repositoryB[dev-master] but these are rejected by your constraint.
, , , "1.0" - , , . json repositoryB :
"extra": {
"branch-alias": {
"1.0-dev": "1.0.x-dev"
}
}
, ?