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

stricter gemspec file include #391

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

aoc
Copy link
Contributor

@aoc aoc commented Feb 27, 2024

What are you trying to accomplish?

Reduce gemfile size by not including unnecessary files during packaging

Size reduction: -19.5%

du -k packwerk-3.2.0*
1764    packwerk-3.2.0-new.gem
2164    packwerk-3.2.0.gem

What approach did you choose and why?

Followed common pattern to explicitly define files and directories to include in the gem. The pattern is described in the The Packaging Style Guide from Rubocop.

What should reviewers focus on?

Any missing required file in the gem.

Type of Change

  • Bugfix
  • New feature
  • Non-breaking change (a change that doesn't alter functionality - i.e., code refactor, configs, etc.)

Checklist

  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • It is safe to rollback this change.

@aoc aoc requested a review from a team as a code owner February 27, 2024 00:26
@aoc
Copy link
Contributor Author

aoc commented Feb 27, 2024

I have signed the CLA!

@gmcgibbon gmcgibbon merged commit 6476c60 into Shopify:main Feb 27, 2024
20 checks passed
@gmcgibbon
Copy link
Member

Thanks!

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.

2 participants