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

Bundle solidus_admin >= 0.2 in Solidus installer #5607

Conversation

spaghetticode
Copy link
Member

@spaghetticode spaghetticode commented Jan 19, 2024

Summary

Currently, running rails g solidus:install on a new rails app bundles solidus_admin with the version 0.0.0, which is empty.

This leads to inconsistencies, the first one being the dedicated solidus_admin generator is not found and consequently cannot be run. Confirmed to be the source of the issue found at #5606.

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

Currently, running `rails g solidus:install` on a new rails app
bundles `solidus_admin` with version `0.0.0`, which is empty.

This leads to inconsistencies, the first one being the dedicated
`solidus_admin` generator is not found and consequently cannot be
run.
@spaghetticode spaghetticode self-assigned this Jan 19, 2024
@spaghetticode spaghetticode requested a review from a team as a code owner January 19, 2024 19:45
@github-actions github-actions bot added the changelog:solidus_core Changes to the solidus_core gem label Jan 19, 2024
Copy link

codecov bot commented Jan 19, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (6ef5c78) 88.63% compared to head (6060072) 88.63%.
Report is 38 commits behind head on main.

Files Patch % Lines
...ib/generators/solidus/install/install_generator.rb 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5607   +/-   ##
=======================================
  Coverage   88.63%   88.63%           
=======================================
  Files         683      683           
  Lines       16299    16299           
=======================================
  Hits        14446    14446           
  Misses       1853     1853           

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

@spaghetticode spaghetticode added the backport-v4.3 Backport this pull-request to v4.3 label Jan 22, 2024
@spaghetticode spaghetticode merged commit 8b5f57c into solidusio:main Jan 22, 2024
15 of 16 checks passed
Copy link

💚 All backports created successfully

Status Branch Result
v4.3

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-v4.3 Backport this pull-request to v4.3 changelog:solidus_core Changes to the solidus_core gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants