개인 Bitbucket 저장소를 사용하여 프로젝트를 설정하려고합니다. 응용 프로그램에는 코어가 포함되며 코어에는 이후에 다른 코어가 포함됩니다. 응용 프로그램은 앞으로 더 많은 것을 포함 할 수 있어야합니다.작곡가 개인 Bitbucket 저장소를 찾을 수 없습니다.
이제 Satis와 함께 작업 할 때이 기능을 사용합니다. 그러나 Bitbucket을 사용하고 싶습니다. 작동해야한다고 생각합니다. 저는 Bitbucket의 Set up SSH for Git을 따라 갔고 Git alternatives에있는 작곡가의 매뉴얼을 읽었습니다.
설정에 많은 변형을 시도했지만 해결할 수는 없습니다.
내 프로젝트 composer.json
"require": {
"php": "^5.6 || ^7.0",
"rkeet/yc-core": "*"
},
"repositories": [
{
"type": "git",
"url": "[email protected]:rkeet/yc-core.git"
}
],
"autoload": {
"psr-4": {
"Application\\": "module/Application/src/"
}
}
YC 코어 composer.json
"name": "rkeet/yc-core",
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^5.6 || ^7.0",
"zendframework/zendframework": "2.5.*",
"doctrine/doctrine-module": "~1.0",
"doctrine/orm": "v2.5.*",
"rwoverdijk/assetmanager": "1.*",
"rkeet/yc-account": "*"
},
"require-dev": {
"ghislainf/zf2-whoops": "dev-master"
},
"repositories": [
{
"type": "git",
"url": "[email protected]:rkeet/yc-account.git"
}
],
"autoload": {
"psr-4": {
"YC\\Core\\": "src/"
},
"classmap": [
"./Module.php"
]
}
그리고 마지막으로, YC-계정 작곡가 객체에서 다른 바르가 있습니다
"name": "rkeet/yc-account",
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^5.6 || ^7.0",
"bjyoungblood/bjy-authorize": "~1.4",
"zf-commons/zfc-user-doctrine-orm": "~1.0",
"rkeet/yc-core": "*"
},
"repositories": [
{
"type": "git",
"url": "[email protected]:rkeet/yc-core.git"
}
],
"autoload": {
"psr-4": {
"YC\\Account\\": "src/"
},
"classmap": [
"./Module.php"
]
}
composer.json
저장소와 관련이없는 h는 description
, type
, authors
등으로, 아마도 관련성이있는 항목은 생략했습니다.
?[37;41mYour requirements could not be resolved to an installable set of packages.?[39;49m
Problem 1
- rkeet/yc-core dev-develop requires rkeet/yc-account * -> no matching package found.
- rkeet/yc-core dev-master requires rkeet/yc-account * -> no matching package found.
- rkeet/yc-core dev-develop requires rkeet/yc-account * -> no matching package found.
- rkeet/yc-core dev-develop requires rkeet/yc-account * -> no matching package found.
- Installation request for rkeet/yc-core * -> satisfiable by rkeet/yc-core[dev-develop, dev-master].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
희망 당신이 중 하나가 나를 도울 수 있습니다 : composer update
명령을 사용할 때 수신
결과는이 다음이다.
참고로 [이 답변] (http://stackoverflow.com/questions/37784991/pulling-my-own-private-repository-from-bitbucket-via-composer)을 보았지만 작동하지 않았습니다. 나를 위해. – Nukeface
순환 종속성이 있습니다. 'yc-core'를 필요로하는'yc-account'를 요구하는'yc-core'가 필요합니다 ... –
그 의존성도없이 시도했지만, 다시 시도하고 결과를 게시 할 것입니다 – Nukeface