-
Notifications
You must be signed in to change notification settings - Fork 50
GL-3695: Add MySQL version prompt for cs:wizard. #1864
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (4)
- src/Command/CodeStudio/CodeStudioCiCdVariables.php: Language not supported
- src/Command/CodeStudio/CodeStudioWizardCommand.php: Language not supported
- tests/phpunit/src/Commands/CodeStudio/CodeStudioCiCdVariablesTest.php: Language not supported
- tests/phpunit/src/Commands/CodeStudio/CodeStudioWizardCommandTest.php: Language not supported
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1864 +/- ##
============================================
+ Coverage 92.29% 92.31% +0.01%
Complexity 1779 1779
============================================
Files 121 121
Lines 6633 6648 +15
============================================
+ Hits 6122 6137 +15
Misses 511 511 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Try the dev build for this PR: https://acquia-cli.s3.amazonaws.com/build/pr/1864/acli.phar
|
'MYSQL_version_5.7' => "5.7", | ||
'MYSQL_version_8.0' => "8.0", | ||
]; | ||
$project = $this->io->choice('Select a MySQL version', array_values($mysqlVersions), "5.7"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default version should be 8.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bemarlan Please address this comment. Rest everything looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been updated
Please wait to merge & release until Code Studio team gives the ok.
Motivation
Addresses GL-3695
Proposed changes
Adds a prompt for MySQL version to Drupal projects.
Alternatives considered
N/A. This will become a required variable for all Drupal projects, so we should set it upon project setup.
Testing steps
glab auth login --hostname=code.dev.cloudservices.acquia.io
export GITLAB_HOST=code.dev.cloudservices.acquia.io
./bin/acli cs:wizard
cs:wizard
.