Skip to content

Epic: Compatibility Validation & v1.0 #57

@unclesp1d3r

Description

@unclesp1d3r

Summary

Validate that libmagic-rs achieves 95%+ compatibility with GNU file using the third_party/tests corpus, and ship v1.0.0.

Current State

  • 0/81 tests passing (0%) with built-in rules
  • 76 tests return "data" (no matching rule)
  • 5 tests detect container but miss subtype (ZIP -> DOCX)

Tracking

Prerequisites (must be complete first)

Validation

Release

  • Changelog for v1.0.0
  • Final documentation review
  • Tag and publish v1.0.0

Target Compatibility by Format Category

Category Tests Target
Binary formats (RPM, zstd, PGP, etc.) ~45 43+ pass
Text formats (JSON, scripts, PNM) ~15 14+ pass
Audio formats (MP3, DSD) ~5 5 pass
ZIP subtypes (DOCX, XLSX, HWP) ~5 4+ pass
Custom magic tests ~4 4 pass
Filesystem images ~3 3 pass

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibilitylibmagic compatibility and migrationenhancementNew feature or requesttestingTest infrastructure and coverage

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions