loadsys / loadsys/CakePHP-ConfigReadShell

Probably don't need `composer/installers` under composer v2?

未关闭
#33 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
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 into that (tracked) folder.

It's not clear to me how to detect whether this plugin is being composer installed 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 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.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。