-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Paperclip mimemagic dependency licensing implication #2678
Comments
I have a Pull Request that removes the dependency on mimemagic. In the meantime, you can test my branch by using this in your Gemfile:
And report back if it works for you. |
https://github.com/kreeti/kt-paperclip is the listed maintained fork. There have not been changes to this repository in over a year. |
@sd I hope you'll submit your PR to https://github.com/kreeti/kt-paperclip as @Supernats suggests. I'd rather switch to the "officially" maintained gem than point to your branch, which does not negate my appreciation for your efforts! |
See thoughtbot/paperclip#2678 for details, but the gem was removed from the rubygems.org due to a licensing problem, causing paperclip to break. This switches our dependency to an experimental fork that removes that dependency.
I see there's a few PRs, is there an update on when these could be merged? Is a better route for some of us to fork this and make the change ourselves? |
Has anyone got feedback for @sd 's branch? |
@ryantk FWIW, tested in our project, image creation/update/deletion - looks good |
@ryantk we have deployed to prod without issues. We do have the |
Thank you for your work @sd I have done a bit of work and determined I can safely upgrade to minimagic 0.3.7 in the very short term with a view to removing it when it is removed form paperclip. |
See thoughtbot#2678 for context
mimemagic was yanked due to licencing issues. We've forked paperclip to remove the mimemagic dependency to be able to keep building the project. See thoughtbot/paperclip#2678
How about we do #2685 - Transfer gem ownership to Kreeti and apply their fixes from kt-paperclip instead? |
mimemagic was yanked due to licencing issues. We've forked paperclip to remove the mimemagic dependency to be able to keep building the project. See thoughtbot/paperclip#2678
@sd I'm more than a year late, but thank you |
update Gemfile and move mimemagic in gemfile.lock to 0.3.10 rails/rails#41750 thoughtbot/paperclip#2678 https://stackoverflow.com/questions/66829141/heroku-push-rejected-error-failed-to-install-gems-via-bundler-probably-caused/66869930#66869930
Paperclip is deprecated, but there may still be users of the gem that haven't upgraded for whatever reason.
There was a mimemagic change (rails/rails#41750 mimemagicrb/mimemagic#97) that stems from incorrectly licensing mimemagic as MIT with a GPLv2 dependency. The old versions were yanked (new 0.3.6 added) and new versions are published as GPLv2. Codebases that pull in paperclip will possibly be taking the risk of GPLv2 code (IANAL) instead of MIT code.
I am not sure there's any alternative at the moment, but wanted to create this issue in case someone else runs into it.
Deprecation notice
Paperclip is currently undergoing deprecation in favor of ActiveStorage. Maintainers of this repository will no longer be tending to new issues. We're leaving the issues page open so Paperclip users can still see & search through old issues, and continue existing discussions if they wish.
The text was updated successfully, but these errors were encountered: