loadsys / loadsys/CakePHP-ConfigReadShell
Probably don't need `composer/installers` under composer v2?
まだ誰も着手していません。
- 主要言語
- PHP
- スター
- 3
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Seems like this might be the cause of `composer install` creating a `/Plugin` root folder and installing every package that [has a `type: cakephp-plugin` in their own `composer.json`](https://github.com/loadsys/CakePHP-ConfigReadShell/blob/7a4a69d0f65c3ba70f8eccb0c768becacf32dd6a/composer.json#L4) into that (tracked) folder.
It's not clear to me how to detect whether this plugin is being `composer install`ed via composer v1 or v2, but on the `master / 4.x` branch it's probably safe to [remove `composer/installers` from the `composer.json` file](https://github.com/loadsys/CakePHP-ConfigReadShell/blob/7a4a69d0f65c3ba70f8eccb0c768becacf32dd6a/composer.json#L25) in THIS project.
The issue is fixed when a different project that runs `composer require loadsys/cakephp-config-read:~4.0` should NOT end up with a root `Plugin/` folder when running `composer install`.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
composer.json、特に参照されている行付近の composer/installers エントリから始め、loadsys/cakephp-config-read:~4.0 を必要とする別のプロジェクトからのインストールを再現します。その依存関係が master/4.x のセットアップには不要であることを確認し、その後 composer install によってルートに Plugin/ フォルダーが作成されなくなり、そこに cakephp-plugin パッケージがインストールされなくなったことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- php
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100