Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Update to the latest dev-support defaults #339

Merged
merged 3 commits into from
Dec 12, 2022
Merged

Conversation

elia
Copy link
Member

@elia elia commented Dec 6, 2022

Summary

Just a few cleanups from running bundle exec solidus extension ..

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.

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.

@elia elia added this to the v1.2 milestone Dec 6, 2022
@elia elia self-assigned this Dec 6, 2022
Make it match the defaults coming from dev-support.
@elia elia force-pushed the elia/dev-support-update branch from ff97730 to 16c23c0 Compare December 6, 2022 18:27
@elia elia marked this pull request as ready for review December 6, 2022 18:42
@elia elia requested a review from a team December 6, 2022 18:44
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.

Thanks, @elia. I left some comments. Feel free to merge once you review and decide.

README.md Outdated
Comment on lines 386 to 396
### Updating the changelog

Before and after releases the changelog should be updated to reflect the up-to-date status of
the project:

```shell
bin/rake changelog
git add CHANGELOG.md
git commit -m "Update the changelog"
```

Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need that? That's also part of the release instructions linked below.

Copy link
Member Author

Choose a reason for hiding this comment

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

It comes from the dev-support update script, I agree it's optional, I'll remove it and update it upstream.

`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.files = files.grep_v(%r{^(test|spec|features)/})
spec.test_files = files.grep(%r{^(test|spec|features)/})
Copy link
Contributor

Choose a reason for hiding this comment

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

What about removing test_files? See rubocop/rubocop#10675

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll open an issue on solidus_dev_support, but I would also point out that sometimes test files are useful inline documentation, granted that if they include a 50MB image as a fixture that shouldn't probably be part of the package.

Copy link
Contributor

@gsmendoza gsmendoza left a comment

Choose a reason for hiding this comment

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

I'm good with merging this, though we still need to address @waiting-for-dev 's feedback. We'll also need to make the corresponding updates to solidus_dev_support.

elia added 2 commits December 9, 2022 13:01
Also normalizes a few things to better match the defaults coming from
dev-support.
@elia elia force-pushed the elia/dev-support-update branch from 31a7b69 to 1ba7bda Compare December 9, 2022 12:01
@elia elia merged commit 61b7a9a into master Dec 12, 2022
@elia elia deleted the elia/dev-support-update branch December 12, 2022 12:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants