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

Stop depending on solidus_dev_support #284

Merged
merged 3 commits into from
Apr 18, 2023
Merged

Stop depending on solidus_dev_support #284

merged 3 commits into from
Apr 18, 2023

Conversation

elia
Copy link
Member

@elia elia commented Apr 17, 2023

Summary

With the new way of testing solidus extensions (through full rails installations) we no longer have much to gain from using solidus_dev_support.

Specifically the only two things we were using it for were:

  1. rubocop rules
  2. releasing the gem

Rubocop rules

We just had a few dev-support adjustments over the "relaxed" rubocop style, but we also had a handful of local rules.

It seems ok to just import the original list and move from there, all modern tooling will adapt to whatever rules are in the repo (language servers, formatters, etc.).

Releasing

The dev-support releasing toolchain starter at a time in which GitHub releases were not so convenient (if they existed at all). Now it's super easy to store the changelog there directly and be generated with one click.

This of course is ok for extensions as the have a smaller scope and simpler changes (vs. Solidus).

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.

@elia elia self-assigned this Apr 17, 2023
@elia elia force-pushed the elia/gem-releasing branch from f090114 to 2d991d0 Compare April 17, 2023 10:28
Copy link
Contributor

@rainerdema rainerdema left a comment

Choose a reason for hiding this comment

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

👍

@elia elia force-pushed the elia/gem-releasing branch 3 times, most recently from fa3efa4 to 42b0326 Compare April 17, 2023 11:43
@elia elia marked this pull request as ready for review April 17, 2023 11:44
@codecov
Copy link

codecov bot commented Apr 17, 2023

Codecov Report

Merging #284 (68bebb3) into master (1136a79) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #284   +/-   ##
=======================================
  Coverage   99.59%   99.59%           
=======================================
  Files          27       27           
  Lines         489      489           
=======================================
  Hits          487      487           
  Misses          2        2           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

README.md Outdated Show resolved Hide resolved
@elia elia changed the title Stop depending in solidus_dev_support Stop depending on solidus_dev_support Apr 17, 2023
@elia elia removed the request for review from rainerdema April 17, 2023 17:50
Copy link
Contributor

@waiting-for-dev waiting-for-dev left a comment

Choose a reason for hiding this comment

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

Sorry @elia, we still need to remove the instructions on the README so they don't get staled. The wiki should be the unique source of truth.

@elia elia force-pushed the elia/gem-releasing branch from 42b0326 to 68bebb3 Compare April 18, 2023 10:09
@elia
Copy link
Member Author

elia commented Apr 18, 2023

@waiting-for-dev done ✅

Copy link
Contributor

@waiting-for-dev waiting-for-dev left a comment

Choose a reason for hiding this comment

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

Lovely!

@elia elia merged commit 751b83f into master Apr 18, 2023
@elia elia deleted the elia/gem-releasing branch April 18, 2023 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants