Skip to content

[5.3] [Installation][CLI] Fix hidden option asking #44908

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

Merged

Conversation

voronkovich
Copy link
Contributor

@voronkovich voronkovich commented Feb 14, 2025

Summary of Changes

Install command hides input when asking for --db-pass and --admin-password values. But it also checks for an option --public_folder which is a typo.

Testing Instructions

  1. Try to install Joomla using CLI:

    php installation/joomla.php install
  2. Ensure that the public folder option appearing as the last question and its value is not hidden.

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@dgrammatiko
Copy link
Contributor

@voronkovich have you tested installing Joomla from CLI with the interactive version? Is the public folder appearing as the last question after this change?

@voronkovich
Copy link
Contributor Author

@dgrammatiko, I've tested it right now. All works as expected.

@richard67
Copy link
Member

Testing Instructions

I think testing is not needed.

No, sorry. For non trivial PRs which do not just change some comments or so, testing is ALWAYS required, and PR authors are expected to provide testing instructions.

@voronkovich
Copy link
Contributor Author

@richard67, I've added testing instructions.

@voronkovich voronkovich force-pushed the fix-cli-installation-hidden-option-ask branch from 5357f40 to de897c3 Compare March 8, 2025 17:21
@MacJoom MacJoom added the bug label Apr 15, 2025
@HLeithner HLeithner changed the base branch from 5.2-dev to 5.3-dev April 15, 2025 16:36
@HLeithner
Copy link
Member

This pull request has been automatically rebased to 5.3-dev.

@HLeithner HLeithner changed the title [5.2][Installation][CLI] Fix hidden option asking [5.3] [Installation][CLI] Fix hidden option asking Apr 15, 2025
@HLeithner
Copy link
Member

I have tested this item ✅ successfully on d1307ab


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44908.

@HLeithner HLeithner merged commit 58efb62 into joomla:5.3-dev Apr 15, 2025
3 of 4 checks passed
@HLeithner
Copy link
Member

thanks

muhme added a commit that referenced this pull request Apr 15, 2025
@QuyTon QuyTon added this to the Joomla! 5.3.1 milestone Apr 15, 2025
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.

7 participants