-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Restore --payment-method=
for solidus:install
on v3.2
#4673
Changes from all commits
3ab6324
fc0dadd
8000557
e67f231
8853fc5
7c7e913
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,14 @@ def install_solidus_frontend | |
end | ||
end | ||
|
||
@generator_context.generate("solidus_frontend:install #{@generator_context.options[:auto_accept] ? '--auto-accept' : ''}") | ||
# Solidus bolt will be handled in the installer as a payment method. | ||
begin | ||
skip_solidus_bolt = ENV['SKIP_SOLIDUS_BOLT'] | ||
ENV['SKIP_SOLIDUS_BOLT'] = 'true' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we move it here, I think we should remove the option from solidus_frontend altogether. Otherwise we're dealing with unneeded complexity here. WDYT? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 exactly, that's the idea, we can remove it as soon as v3.2 is updated |
||
@generator_context.generate("solidus_frontend:install #{@generator_context.options[:auto_accept] ? '--auto-accept' : ''}") | ||
ensure | ||
ENV['SKIP_SOLIDUS_BOLT'] = skip_solidus_bolt | ||
end | ||
end | ||
|
||
def install_solidus_starter_frontend(installer_adds_auth) | ||
|
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.
I'm not super happy removing
auto-accept
by default, as it slows the development feedback. What do you think about keeping it?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.
I think it's no big deal either way, easy to add or remove locally as needed, so I'll add it back (I had to remove it in order to test out the interactive
solidus:install
wizard).