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

fix: Downgrading image-webpack-loader to fix linux arch bug in gifsicle #147

Merged
merged 1 commit into from Dec 17, 2020

Conversation

davidjoy
Copy link
Contributor

@davidjoy davidjoy commented Dec 17, 2020

There’s a documented issue in “imagemin-gifsicle” where a recent update (5.0.0) removed the binaries for linux distributions:

imagemin/gifsicle-bin#113
tcoopman/image-webpack-loader#233

This causes it to explode in CI via our direct dependency on image-webpack-loader. The 7.0.0 version of image-webpack-loader relies on version 5 of gifsicle. If we downgrade back to 6.0.0, we get gifsicle 4.0.1 instead, which still has the binaries.

I'm also noticing that the source for gifsicle is a bit confusing. There's two projects here:

https://github.com/imagemin/imagemin-gifsicle
https://github.com/imagemin/gifsicle-bin

gifsicle-bin is the one that needs to be downgraded to 4.0.1 from 5.0.0. imagemin-gifsicle also gets downgraded from 7.0.0 to 6.0.1 in the process, and appears to be the direct dependency of image-webpack-loader.

Confusing, but I think this will fix our pipelines.

Copy link

@mikix mikix left a comment

Choose a reason for hiding this comment

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

Is there a way to mark this so it doesn't get automatically upgraded again? Ideally with a comment?

@davidjoy davidjoy force-pushed the djoy/downgrade_image-webpack-loader_6.0.0 branch from c766356 to 8e6073d Compare December 17, 2020 15:48
Copy link

@ciduarte ciduarte left a comment

Choose a reason for hiding this comment

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

Thanks for this fix! 👍

@davidjoy davidjoy changed the title Downgrading image-webpack-loader to fix linux arch bug in gifsicle fix: Downgrading image-webpack-loader to fix linux arch bug in gifsicle Dec 17, 2020
There’s a documented issue in “imagemin-gifsicle” where a recent update (5.0.0) removed the binaries for linux distributions:

imagemin/gifsicle-bin#113

This causes it to explode in CI via our direct dependency on image-webpack-loader.  The 7.0.0 version of image-webpack-loader relies on version 5 of gifsicle.  If we downgrade back to 6.0.0, we get gifsicle 4.0.1 instead, which still has the binaries.
@davidjoy davidjoy force-pushed the djoy/downgrade_image-webpack-loader_6.0.0 branch from 8e6073d to 4cfae09 Compare December 17, 2020 15:55
@davidjoy davidjoy merged commit 395283b into master Dec 17, 2020
@davidjoy davidjoy deleted the djoy/downgrade_image-webpack-loader_6.0.0 branch December 17, 2020 15:56
@edx-semantic-release
Copy link

🎉 This PR is included in version 5.5.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants