Skip to content

Conversation

@adrianrudnik
Copy link
Contributor

There will be no prompt on DDEV version v1.24.3.

--auto defaults to true and can not be turned of with another flag. As no structure is within the folder, it defaults to

Configuring a 'php' project named 't3example' with docroot '' at './t3example'.

which is the wrong layout and project type.

There will be no prompt on DDEV version v1.24.3.

`--auto` defaults to true and can not be turned of with another flag. As no structure is within the folder, it defaults to

> Configuring a 'php' project named 't3example' with docroot '' at './t3example'.

which is the wrong layout and project type.
@adrianrudnik
Copy link
Contributor Author

adrianrudnik commented Feb 27, 2025

Just tried to setup a new project, this was the output on a linux system:

mkdir t3example
cd t3example

ddev config --php-version 8.3
Creating a new DDEV project config in the current directory (./t3example) 
Once completed, your configuration will be written to ./t3example/.ddev/config.yaml
 
Configuring a 'php' project named 't3example' with docroot '' at './t3example'.
For full details use 'ddev describe'. 
Configuration complete. You may now run 'ddev start'. 

ddev --version
ddev version v1.24.3

@linawolf
Copy link
Member

Thanks for the update, The failing tests seem to be unrelated to your PR, so I will fix them first

@linawolf
Copy link
Member

I cannot confirm this on DDEV 1.24.1 did this behaviour really change with a minor version or is there another reason here? @rfay do you have an idea what is happening?

@adrianrudnik
Copy link
Contributor Author

Tried again, there seems to be a difference in behaviour, at least on my 22.04 LTS machine:

https://asciinema.org/a/lXX3TtY9w6eqfz2WCnzExETSC

Given no commands, all questions are asked (even through auto is declared default true in --help). Given the PHP version no questions are asked at all.

@rfay
Copy link
Contributor

rfay commented Feb 28, 2025

The existing doc was incorrect, this PR is better. Here's the one we maintain and suggest: https://ddev.readthedocs.io/en/stable/users/quickstart/#typo3

When you give args to ddev config (like --php-version) it does not prompt, it never has.

Note that PHP 8.3 is the current default though.

IMO giving explicit args to ddev config is better than answering prompts.

@linawolf linawolf self-assigned this Feb 28, 2025
@linawolf linawolf merged commit ad56e09 into TYPO3-Documentation:main Feb 28, 2025
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants