Summary: | Associate more extensions/glob patterns with MIME types | ||
---|---|---|---|
Product: | shared-mime-info | Reporter: | Christian - Manny Calavera - Neumair <cneumair> |
Component: | freedesktop.org.xml | Assignee: | Jonathan Blandford <jrb> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | high | CC: | faure, toscano.pino |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Christian - Manny Calavera - Neumair
2007-02-23 02:22:11 UTC
It seems you are generalizing too much. > application/x-sqlite2 > application/x-sqlite3 I never seen sqlite database with extensions. > audio/x-mpeg This is a good candiate to be an alias for audio/mpeg (thus to be killed as lonely mimetype). application/x-class-file looks like it should be removed, or made an alias for application/x-java, which has the *.class glob. > application/x-ksysv-package It's bug #10040. The fact that *.pcx is missing is probably a bug, yes. Also, I have seen *.mbox used for application/mbox (e.g. by kmail), please add that pattern. And maybe *.awk for awk scripts? is that used? But it's perfectly valid for mimetypes with magic to not have a pattern, for instance application/mac-binhex40 or application/pgp-signature. The mimetype is detected from the contents of the file - no problem. (In reply to comment #4) > The fact that *.pcx is missing is probably a bug, yes. * freedesktop.org.xml.in: * tests/list: Add a pattern for PCX files, fix the test suite accordingly > Also, I have seen *.mbox used for application/mbox (e.g. by kmail), please add > that pattern. * freedesktop.org.xml.in: Add a pattern for mbox files, as used by KMail > And maybe *.awk for awk scripts? is that used? * freedesktop.org.xml.in: Add a pattern for AWK files > But it's perfectly valid for mimetypes with magic to not have a pattern, for > instance application/mac-binhex40 or application/pgp-signature. The mimetype is > detected from the contents of the file - no problem. > I also did: * freedesktop.org.xml.in: Remove audio/x-mp3-playlist (no pattern, no magic) and make it an alias for m3u playlists I'll close this, and hopefully people will file bugs with specifics :) |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.