Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected behaviour while adding new config #172

Open
xepozz opened this issue Jun 13, 2021 · 3 comments
Open

Unexpected behaviour while adding new config #172

xepozz opened this issue Jun 13, 2021 · 3 comments
Labels
status:ready for adoption Feel free to implement this issue. type:enhancement Enhancement

Comments

@xepozz
Copy link
Member

xepozz commented Jun 13, 2021

I tried to setup new package to app-api and I had a problem:
Composer don't read actual file composer.json from vendor folder, it cached them in vendor/composer/installed.json instead.
Because of this behaviour new package won't be added to config folder.

Composer version 2.0.8 2020-12-03 17:20:38
yii-dev-tool: 466ca89ee96dfe24e037f4d0a870d00e3d8eaf28 (commit hash)

@samdark
Copy link
Member

samdark commented Jun 15, 2021

  1. Do yii-dev update
  2. composer update happens.
  1. Config plugin is triggered. It is using configs from what's obtained from composer. @xepozz expects linked packages to be used instead.
  2. Packages are linked.

@samdark
Copy link
Member

samdark commented Jun 15, 2021

That's very unlikely that could be fixed within dev tool.

@samdark samdark added the type:enhancement Enhancement label Jun 16, 2021
@samdark
Copy link
Member

samdark commented Jun 16, 2021

But I agree that changing this behavior to more expected would be awesome.

@samdark samdark added the status:ready for adoption Feel free to implement this issue. label Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready for adoption Feel free to implement this issue. type:enhancement Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants