Bug 1161023
| Summary: | Add support for Sereal format | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> | ||||
| Component: | file | Assignee: | Marek Cermak <macermak> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | jkaluza, macermak | ||||
| Target Milestone: | --- | Keywords: | FutureFeature | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | https://github.com/Sereal/Sereal/blob/master/sereal_spec.pod#user-content-document-header-format | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | file-5.31-8.fc27 file-5.30-8.fc26 file-5.29-7.fc25 | Doc Type: | Enhancement | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-08-08 08:06:01 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Created attachment 954432 [details]
Example
This is the output of command. It's the latest version 3 format.
Proposed upstream: http://bugs.gw.com/view.php?id=396 This is fixed in rawhide by update to file-5.24. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. $ rpm -q file file-5.31-8.fc27.x86_64 $ file sample.sereal sample.sereal: Sereal data packet (version 0, uncompressed) $ rpm -q file file-5.30-8.fc26.x86_64 $ file sample.sereal sample.sereal: Sereal data packet (version 0, uncompressed) $ rpm -q file file-5.29-7.fc25.x86_64 $ file sample.sereal sample.sereal: Sereal data packet (version 0, uncompressed) Thank you. |
There is a new data format called "Sereal". You can produce a file with the format by this command: $ perl -MSereal::Encoder -e 'print Sereal::Encoder::encode_sereal({})' | hexdump -C 00000000 3d f3 72 6c 03 00 50 |=.rl..P| 00000007 The official documentation of the magic string is <https://github.com/Sereal/Sereal/blob/master/sereal_spec.pod#user-content-document-header-format>. Current file-5.20-2.fc22 does not support the format. Please enhance the file tool to support the Sereal format.