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

Improve solidus_promotions/MIGRATING.md #5895

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

mamhoff
Copy link
Contributor

@mamhoff mamhoff commented Nov 4, 2024

Summary

This commit adds an introductory section telling the reader how the migration process works.

It also adds a last section telling the reader to remove any ineligible adjustments from their database.

Lastly, it corrects the location of Spree configuration from the solidus_promotions initializer to the spree.rb initializer.

@mamhoff mamhoff requested a review from a team as a code owner November 4, 2024 13:05
@github-actions github-actions bot added the changelog:repository Changes to the repository not within any gem label Nov 4, 2024
Copy link

codecov bot commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.54%. Comparing base (b1849a5) to head (ba51ba1).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5895   +/-   ##
=======================================
  Coverage   89.54%   89.54%           
=======================================
  Files         783      783           
  Lines       17994    17994           
=======================================
  Hits        16113    16113           
  Misses       1881     1881           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

In order to do so, first make sure you have no ineligible promotion adjustments left in your database:

```rb
>> Spree::Adjustment.where(eligible: true)
Copy link
Member

Choose a reason for hiding this comment

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

Needs to be

Spree::Adjustment.where(eligible: false)

Copy link
Member

Choose a reason for hiding this comment

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

maybe write and mention a rake task

@mamhoff mamhoff force-pushed the improve-promotion-migration-doc branch from 06b7535 to a97344d Compare November 4, 2024 13:47
This commit adds an introductory section telling the reader how the
migration process works.

It also adds a last section telling the reader to remove any ineligible
adjustments from their database.

Lastly, it corrects the location of Spree configuration from the
`solidus_promotions` initializer to the `spree.rb` initializer.
@mamhoff mamhoff force-pushed the improve-promotion-migration-doc branch from a97344d to ba51ba1 Compare November 4, 2024 17:12
@tvdeyen tvdeyen merged commit 439904c into solidusio:main Nov 4, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:repository Changes to the repository not within any gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants