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

Re-add linux-musl to Bundler platforms #1727

Merged
merged 3 commits into from
Jan 24, 2025
Merged

Conversation

lfdebrux
Copy link
Member

@lfdebrux lfdebrux commented Jan 24, 2025

What problem does this pull request solve?

In commit de10f10 we added *-linux-musl platforms to the Bundler lockfile, because the Alpine docker images we use in production are based on musl and a Nokogiri update started differentiating between linux-gnu and linux-musl platforms.

However, in commit 8f725b3 a Dependabot update removed those lines.

This PR re-adds them, hopefully we can also find a way to stop Dependabot from removing them. I also tried to clean up the list of platforms by running bundle lock --normalize-platforms, which required first updating the version of Bundler used.

Things to consider when reviewing

  • Ensure that you consider the wider context.
  • Does it work when run on your machine?
  • Is it clear what the code is doing?
  • Do the commit messages explain why the changes were made?
  • Are there all the unit tests needed?
  • Has all relevant documentation been updated?

@lfdebrux lfdebrux force-pushed the ldeb-update-bundler-platforms branch from 76dbedb to afba9aa Compare January 24, 2025 08:24
In commit de10f10 we added *-linux-musl platforms to the Bundler
lockfile, because the Alpine docker images we use in production are
based on musl and a Nokogiri update started differentiating between
linux-gnu and linux-musl platforms.

However, in commit 8f725b3 a Depdenabot update removed those lines.

This commit re-adds them, hopefully we can also find a way to stop
Dependabot from removing them.
@lfdebrux lfdebrux force-pushed the ldeb-update-bundler-platforms branch from afba9aa to d77ba50 Compare January 24, 2025 08:35
@lfdebrux lfdebrux force-pushed the ldeb-update-bundler-platforms branch from 7986182 to 86629e4 Compare January 24, 2025 09:10
Copy link
Contributor

@SamJamCul SamJamCul left a comment

Choose a reason for hiding this comment

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

Will keep an eye on dependabot in case it does any more nefarious deletions

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