Skip to content
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

Avoid too many prompts during solidus:install generator #3937

Merged
merged 1 commit into from
Feb 18, 2021

Conversation

kennyadsl
Copy link
Member

@kennyadsl kennyadsl commented Feb 15, 2021

Description

Right now, the solidus:install generator is asking if we want to run migrations with a prompt (yes/no) after each extra plugin installations (authentication and payment method). This is not needed because migrations are copied anyway during the install and we will run all the migrations together at the end of the process. In fact, --skip-migrations=true does not skip copying migrations but only avoid the prompt that asks to run them immediately after the copy.

I tested this fix on a brand new application.

Checklist:

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • [ ] I have updated Guides and README accordingly to this change (if needed)
  • [ ] I have added tests to cover this change (if needed)
  • [ ] I have attached screenshots to this PR for visual changes (if needed)

Right now it is asking to run migrations after each extra
plugin installation. This is not needed because migrations
are copied anyway during the install and we will run all the
migrations together at the end of the process.
@kennyadsl kennyadsl added the changelog:solidus_core Changes to the solidus_core gem label Feb 15, 2021
@kennyadsl kennyadsl changed the title Avoid too many prompt during solidus:install generator Avoid too many prompts during solidus:install generator Feb 15, 2021
@kennyadsl kennyadsl self-assigned this Feb 15, 2021
@kennyadsl kennyadsl merged commit dd634b0 into solidusio:master Feb 18, 2021
@kennyadsl kennyadsl deleted the kennyadsl/fix-installer-prompt branch February 18, 2021 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_core Changes to the solidus_core gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants