プライベート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-アカウントcomposer.json
"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"
]
}
作曲オブジェクト内の他のvarがあります。リポジトリとは関係ない、suc 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