You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first relevant line of a composer.json created by ddev composer create looks like this:
"name": "vendor/.tmp_ddev_composer_create_fldfwf"
Composer complains quite a lot about this, saying that that 'package name' will be invalid in 2.0.
Deprecation warning: Your package name vendor/.tmp_ddev_composer_create_fldfwf is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "a-z0-9/a-z0-9". Make sure you fix this as Composer 2.0 will error.
But the reality is that "name" is naturally the 2nd part of the package name. For example, if the package is "wordpress/skeleton", the "name" will be "skeleton"
My bet is that we need to composer create-project into its own directory named for the top-level package (the natural way)
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Version and configuration information (please complete the following information):
Host computer OS and Version: [e.g. Windows 10, macOS High Sierra]
Docker version information (use docker version) and insert it here.
ddev version information (use ddev version)
config.yaml contents for the misbehaving project
Do you have any custom configuration (nginx, php, mysql) in the .ddev folder? If so, have you tried without them?
Additional context
Add any other context about the problem here. Thanks!
The text was updated successfully, but these errors were encountered:
rfay
changed the title
ddev composer create makes an incompatible name in composer.jsonddev composer create deprecation warning about package name, composer.json
Oct 10, 2019
Describe the bug
The first relevant line of a composer.json created by
ddev composer create
looks like this:Composer complains quite a lot about this, saying that that 'package name' will be invalid in 2.0.
But the reality is that "name" is naturally the 2nd part of the package name. For example, if the package is "wordpress/skeleton", the "name" will be "skeleton"
My bet is that we need to composer create-project into its own directory named for the top-level package (the natural way)
To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Version and configuration information (please complete the following information):
docker version
) and insert it here.ddev version
)Additional context
Add any other context about the problem here. Thanks!
The text was updated successfully, but these errors were encountered: