-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Environment variable not work with local repo #11409
Comments
I would say that they work in |
from documentation about
|
OK, then it is not by luck. However, for VCS repositories, I would say that this not expanding them is done on purpose as the main use case for VCS repositories is to use remove URLs, not local paths. |
Right, but I think it would be pretty harmless to support them as well in VCS repo. Given we only support them at the beginning of the URL it would anyway not be supported for all https:// etc URLs, which makes it unlikely to backfire. |
…rtifact repositories, fixes composer#11409
Otherwise the URL may not be supported since 3bb191a (Add support for env vars and ~ (for HOME) in repo paths for vcs and artifact repositories, fixes composer#11409 (composer#11453), 2023-05-07)
Otherwise the URL may not be supported since 3bb191a (Add support for env vars and ~ (for HOME) in repo paths for vcs and artifact repositories, fixes composer#11409 (composer#11453), 2023-05-07)
Composer ver.2.5.5, Win10
Environment variables work in Windows when I use local package with "type": "path", but not work with local repo with "type": "vcs".
My
composer.json
:work fine.
But (when MY_PHP_PATH=d:\Rabota\PHP)
not work.
Output of
composer diagnose
:The text was updated successfully, but these errors were encountered: