[Issue] Add an option for setup:config:set to define the document root #29523
Labels
Component: Config
Component: Developer
Component: Filesystem
Component: MessageQueue
Component: Setup
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Priority: P3
May be fixed according to the position in the backlog.
Progress: done
Reported on 2.3.x
Indicates original Magento version for the Issue report.
Severity: S3
Affects non-critical data or functionality and does not force users to employ a workaround.
stale issue
This issue is automatically created based on existing pull request: #29176: Add an option for setup:config:set to define the document root
Preconditions: (*)
Add
bin/magento setup:config:set --document-root-is-pub
I think this is needed in order to raise awareness for https://devdocs.magento.com/guides/v2.3/install-gde/tutorials/change-docroot-to-pub.html section 3, and to simplify automating this setting in deployment scripts.
Related Pull Requests
Fixed Issues (if relevant)
Steps to reproduce: (*)
Run in console:
bin/magento setup:config:set --document-root-is-pub
1 or true or yesExpected Result: ✔️ the values should be in the correct format (boolean)
Run in console:
bin/magento setup:config:set --allow-parallel-generation
1 or true or yesExpected Result: ✔️ the values should be in the correct format (boolean)
Run in console: `in/magento setup:config:set --consumers-wait-for-messages 0 or false or no
Expected Result: ✔️ the values should be in the correct format (1/0)
Actual Result:
Questions or comments
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: