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

Update the SolidusFrontend dependency to 3.4.0.dev #4889

Conversation

gsmendoza
Copy link
Contributor

@gsmendoza gsmendoza commented Jan 30, 2023

Summary

Fixes #4878.

Also reverts aaa136f. Since solidus_frontend 3.4.0.dev is released, we should be able to fetch the unreleased updates to 3.4.0.dev from GitHub.

Testing

The SolidusBraintree CI passes when pointing to this branch: https://app.circleci.com/pipelines/github/solidusio/solidus_braintree/218/workflows/09db5b6d-df33-4b27-9adb-9eaee4196163.

Here's the change to the SolidusBraintree Gemfile: solidusio/solidus_braintree@3e95898.

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

  • I have written a thorough PR description.
  • I have kept my commits small and atomic.
  • I have used clear, explanatory commit messages.
  • [ ] I have documented new code with YARD.

The following are not always needed (cross them out if they are not):

  • [ ] I have added automated tests to cover my changes.
  • [ ] I have attached screenshots to demo visual changes.
  • [ ] I have opened a PR to update the guides.
  • [ ] I have updated the README to account for my changes.

This reverts commit aaa136f.

Since we'll point solidus_frontend to 3.4.0.dev, we should be able to
fetch the master version of solidus_frontend from GitHub.
@gsmendoza gsmendoza self-assigned this Jan 30, 2023
@github-actions github-actions bot added changelog:solidus_core Changes to the solidus_core gem changelog:solidus Changes to the solidus meta-gem labels Jan 30, 2023
@gsmendoza
Copy link
Contributor Author

@gsmendoza gsmendoza marked this pull request as ready for review January 30, 2023 06:43
@gsmendoza gsmendoza requested a review from a team as a code owner January 30, 2023 06:43
Copy link
Member

@elia elia left a comment

Choose a reason for hiding this comment

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

One non-blocking comment

@@ -3,7 +3,10 @@
if Bundler.locked_gems.dependencies['solidus_frontend']
say_status :skipping, "solidus_frontend is already in the bundle", :blue
else
bundle_command("add solidus_frontend")
# `solidus_frontend` is not sourced from rubygems if the solidus gem was not.
github_solidus_frontend = '--github solidusio/solidus_frontend' unless solidus.nil? || solidus.source.is_a?(Bundler::Source::Rubygems)
Copy link
Member

Choose a reason for hiding this comment

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

nit: I think this can be reversed to if solidus && !solidus.source.is_a?(Bundler::Source::Rubygems)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@elia I can submit a separate PR to make this refactoring. At the moment, I would just like to get this PR merged so that I can get the SolidusBraintree CI to pass...

@waiting-for-dev waiting-for-dev merged commit 07f248c into solidusio:master Jan 30, 2023
@waiting-for-dev waiting-for-dev deleted the gsmendoza/4878-set-solidus-frontend-to-3-4-0-dev branch January 30, 2023 10:56
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 changelog:solidus Changes to the solidus meta-gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Solidus 3.4.0.dev is not compatible with SolidusFrontend 3.4.0.dev
3 participants