Bug 14278 - [patch] support for MOF files
Summary: [patch] support for MOF files
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-28 05:24 UTC by Stanislav Brabec
Modified: 2008-04-10 07:19 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
shared-mime-info-mof.patch (468 bytes, patch)
2008-01-28 05:25 UTC, Stanislav Brabec
Details | Splinter Review
CIM_UnitaryComputerSystem.mof (4.05 KB, text/x-mof)
2008-04-10 02:34 UTC, Stanislav Brabec
Details

Description Stanislav Brabec 2008-01-28 05:24:06 UTC
Attached patch adds support for MOF files, a Managed Object Format files.

Files look like specially formatted C sources, so I added sub-class-of to prevent contents x suffix clash.
Comment 1 Stanislav Brabec 2008-01-28 05:25:26 UTC
Created attachment 13985 [details] [review]
shared-mime-info-mof.patch
Comment 2 Bastien Nocera 2008-04-09 07:40:02 UTC
Please provide a test file as well, to be added to the test suite.
Comment 3 Stanislav Brabec 2008-04-10 02:34:00 UTC
Created attachment 15800 [details]
CIM_UnitaryComputerSystem.mof

Example MOF file provided by Bart Whiteley.

The schema files are freely downloadable from the
dmtf web site http://www.dmtf.org/standards/cim/ . Other projects include the DMTF MOF files in their code repositories.

There is nothing mandatory in the file, what could be used as a magic
string, so the only way to recongnize such file is its filename suffix.
Comment 4 Bastien Nocera 2008-04-10 07:19:03 UTC
* freedesktop.org.xml.in:
* tests/list:
* tests/test.mof: Add mime-type for Managed Object Format files,
patch from Stanislav Brabec <sbrabec@suse.cz> (Closes: #14278)


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.