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

AO3-6152 Update mimemagic #3986

Closed

Conversation

CristinaRO
Copy link
Member

@CristinaRO CristinaRO commented Mar 24, 2021

Purpose

Use the latest 0.3.x version (because all the previous versions have been removed).

The gem mimemagic, that is a dependency of Rails, was using the MIT license, but distributing a file that falls under the GPL. (mimemagicrb/mimemagic#97)

The maintainer has updated the license to GPL-2.0 and yanked all the older versions of the gem.

The Archive code is already using GPL-2, so we don't need to change anything to continue using this gem, but we need to use a version that exists in rubygems so our builds don't fail.

Pull Request Checklist

Issue

https://otwarchive.atlassian.net/browse/AO3-6152

Testing Instructions

How can the Archive's QA team verify that this is working as you intended?

Not user-facing.

(If you have a Jira account with access, please update or comment on the issue
with any new or missing testing instructions.)

References

Are there other relevant issues/pull requests/mailing list discussions?

Credit

What name do you want us to use to credit your work in the Archive of Our Own's Release Notes?

Use the latest 0.3.x version (because all the previous versions have been removed).

The gem mimemagic, that is a dependency of Rails, was using the MIT license, but distributing a file that falls under the GPL. (mimemagicrb/mimemagic#97)

The maintainer has updated the license to GPL-2.0 and yanked all the older versions of the gem.

The Archive code is already using GPL-2, so we don't need to change anything to continue using this gem, but we need to use a version that exists in rubygems so our builds don't fail.
@CristinaRO CristinaRO changed the title AO3-xxxx Update mimemagic AO3-6152 Update mimemagic Mar 24, 2021
Copy link
Member

@redsummernight redsummernight 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 heading off this issue!

@redsummernight
Copy link
Member

mimemagic 0.3.6 has been removed. Instead, let's update Rails to 5.2.5, which removes mimemagic as a dependency.

@sarken
Copy link
Member

sarken commented Mar 27, 2021

#3988 replaces this.

@sarken sarken closed this Mar 27, 2021
@CristinaRO CristinaRO deleted the AO3-xxxx-update-mimemagic branch May 12, 2021 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants