-
-
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
Deprecate core tasks and migration scripts #3080
Deprecate core tasks and migration scripts #3080
Conversation
We don't even know if this works with master since this is not tested. We should not maintain this kind of scripts.
Do we really need to test email sending this way?
This was needed for the v2.2 -> v2.3 upgrade and it should not be needed anymore. This also changes the database migration since we are sure it will never execute any operation after the upgrade. Changing the migration allows us to deprecate the class responsible for actually doing the change, which is the same called in the deprecated rake task. For the original implementation see: https://github.com/solidusio/solidus/pull/2001/files
This task is present since Solidus v1.0 and it should just be used during the update to v1.1.
This is a version upgrade helper, no need to keep it.
up and down tasks. They are migration helpers, no need to keep them.
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.
Good deprecations, thanks!
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.
👍 thank you @kennyadsl
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.
Makes sense
Description
We have a lot of tasks and scripts used as helpers during versions upgrades. These files can be removed so I started deprecating them. They should not be used by anyone but if that's the case they will be noticed before the removal.
Checklist: