8000 Run vendor-mimes to update mime.types by parkr · Pull Request #8940 · jekyll/jekyll · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Run vendor-mimes to update mime.types #8940

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

Merged
merged 2 commits into from
Jan 21, 2022
Merged

Run vendor-mimes to update mime.types #8940

merged 2 commits into from
Jan 21, 2022

Conversation

parkr
Copy link
Member
@parkr parkr commented Jan 18, 2022

This is a 🙋 feature or enhancement.

Summary

We use (or have used in the past) script/vendor-mimes to vendor the MIME types we use for Jekyll serve. We pull down the db.json file from jshttp/mime-db and write out a comprehensive mime.types file.

I updated it to use URI.open (which no longer monkey-patches Kernel#open), and then decided it'd be nice to sort the extnames.

Context

#8938 and #8936 since I was thinking about trying to generate a Hash for charset-able types from db.json but couldn't get the script to run.

@parkr parkr requested a review from a team January 18, 2022 01:02
@parkr parkr changed the title Run vendor mimes Run vendor-mimes to update mime.types Jan 18, 2022
Comment on lines -372 to +376
application/vnd.ms-project mpp mpt
application/vnd.ms-project mpt
Copy link
Member

Choose a reason for hiding this comment

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

.mpp is being removed from the list.
Are we fine with this change in a minor version bump?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm personally fine with it! We can always add it back in – I'd rather not over-optimize for backwards compatibility in this file for uncommon file types like .mpp (Microsoft Project file?).

@ashmaroli ashmaroli requested a review from mattr- January 20, 2022 14:11
@parkr
Copy link
Member Author
parkr commented Jan 21, 2022

@jekyllbot: merge +minor

@jekyllbot jekyllbot merged commit 07cd645 into master Jan 21, 2022
@jekyllbot jekyllbot deleted the run-vendor-mimes branch January 21, 2022 02:51
jekyllbot added a commit that referenced this pull request Jan 21, 2022
github-actions bot pushed a commit that referenced this pull request Jan 21, 2022
Parker Moore: Run vendor-mimes to update mime.types (#8940)

Merge pull request 8940
@jekyll jekyll locked and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0