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

Add Post-Install message to Solidus 3.0 #3985

Merged
merged 2 commits into from
Mar 18, 2021

Conversation

kennyadsl
Copy link
Member

Description

Similarly to what we did in the v2.11 branch with #3945, we can add a gem post-install message that will be shown when solidus-core will be installed or updated. We used solidus-core so that the message will be visible to people using only some submodules of Solidus, instead of the whole wrapper gem.

This PR also adds a generic solidus:upgrade task that will be installed in host applications.

Even if we don't have any specific rake task here in 3.0 we can keep this convention so we always have a place where to
put this kind of tasks.

Also, we can be consistent between versions in terms of how we request people to upgrade Solidus:

  1. Change Gemfile
  2. Run bin/rails solidus:upgrade

@kennyadsl kennyadsl added the changelog:solidus_core Changes to the solidus_core gem label Mar 10, 2021
@kennyadsl kennyadsl added this to the 3.0.0 milestone Mar 10, 2021
@kennyadsl kennyadsl self-assigned this Mar 10, 2021
Copy link
Member

@spaghetticode spaghetticode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kennyadsl thanks 👍

They should be ran with the code present in Solidus 2.11 so
it's useless to keep them here as well.
We already introduced this post-install message in 2.11.5
when we started requesting users to run a rake task after
bumping Solidus.

Even if we don't have any specific rake task here in 3.0 we
can keep this convention so we always have a place where to
put this kind of tasks.

Also, we can be consistent between versions in terms of how
we request people to upgrade Solidus:

1. Change Gemfile
2. Run `bin/rails solidus:upgrade`

Even if it does nothing special, I think it's a positive thing
to have.
@kennyadsl kennyadsl force-pushed the kennyadsl/post-install-message branch from 7c1da5d to f9b317c Compare March 18, 2021 14:53
@kennyadsl kennyadsl merged commit 39a9d7d into solidusio:master Mar 18, 2021
@kennyadsl kennyadsl deleted the kennyadsl/post-install-message branch March 18, 2021 15:16
mamhoff pushed a commit to mamhoff/solidus that referenced this pull request Mar 29, 2021
…-message

Add Post-Install message to Solidus 3.0
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