-
-
Notifications
You must be signed in to change notification settings - Fork 34
feat: Add support for Tika MIME Types #142
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f8692a1
to
e8a8c8a
Compare
This is the data half of priority sorting support. for most of its existence, MIME::Types has supported a fairly complex sorting algorithm that does not necessarily perform well at runtime especially with a growing dataset of MIME types. This experimental branch is based on the idea that we can quantize the sorting of similar types into a bye-packed bucket. For full details of the sort mechanism, see the corresponding experimental branch in ruby-mime-types. The changes here provide the necessary updates to support the new fields (sort priority and extension priority) and to do an in-place update of the data.
This mostly adds extensions from the Tika data. It is not clear whether this will be acceptable because of the difference between the MIT and Apache 2 licences, and it is far too late to switch to the Apache 2 licence for this data since I am not the only contributor.
e8a8c8a
to
0100e37
Compare
0358032
to
52c8efa
Compare
halostatue
added a commit
that referenced
this pull request
May 7, 2025
This mostly adds extensions from the Tika data. It is not clear whether this will be acceptable because of the difference between the MIT and Apache 2 licences, and it is far too late to switch to the Apache 2 licence for this data since I am not the only contributor. Updated documentation for Tika parser. Closes: #142
52c8efa
to
b54825d
Compare
halostatue
added a commit
that referenced
this pull request
May 7, 2025
This mostly adds extensions from the Tika data. Updated documentation for Tika parser. Closes: #142
63f07ed
to
180c8ee
Compare
Merged
180c8ee
to
c07d1cd
Compare
halostatue
added a commit
that referenced
this pull request
May 7, 2025
This mostly adds extensions from the Tika data. Updated documentation for Tika parser. Closes: #142
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.