Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #86 +/- ##
==========================================
- Coverage 88.70% 82.73% -5.98%
==========================================
Files 38 4 -34
Lines 1948 139 -1809
==========================================
- Hits 1728 115 -1613
+ Misses 220 24 -196 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR adds XZ format support by introducing a new ChunkCodecLibLzma package that wraps the liblzma C library. This extends the ChunkCodec ecosystem with another popular compression format commonly used for distributing software packages and data archives.
Key changes:
- Implements XZ codec with encoding/decoding support using liblzma via XZ_jll
- Adds comprehensive test suite covering preset options, integrity checks, stream concatenation, and padding
- Integrates the new package into the workspace and test infrastructure
Reviewed changes
Copilot reviewed 15 out of 16 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| LibLzma/src/ChunkCodecLibLzma.jl | Main module definition following standard codec package structure with exports and ChunkCodecCore re-exports |
| LibLzma/src/encode.jl | XZ encoding implementation using lzma_easy_buffer_encode with configurable presets and integrity checks |
| LibLzma/src/decode.jl | XZ decoding implementation with streaming support for concatenated/padded data using lzma_stream_decoder |
| LibLzma/src/liblzma.jl | Julia bindings for liblzma C API including constants, error codes, and memory management functions |
| LibLzma/test/runtests.jl | Comprehensive test suite covering default options, presets, checks, concatenation, padding, and error handling |
| LibLzma/test/Project.toml | Test dependencies configuration |
| LibLzma/Project.toml | Package metadata with ChunkCodecCore and XZ_jll dependencies |
| LibLzma/README.md | User documentation with example usage |
| LibLzma/LICENSE | MIT license for the package |
| LibLzma/CHANGELOG.md | Release notes tracking initial release |
| Project.toml | Added LibLzma to workspace projects list |
| test/Project.toml | Added LibLzma dependency and path reference for integration tests |
| test/jet.jl | Added ChunkCodecLibLzma to JET static analysis testing |
| test/imagecodecs-compat.jl | Added XZ codec to Python imagecodecs compatibility tests |
| test/CondaPkg.toml | Updated imagecodecs version to 2025.11.11 for LZMA support |
| .github/workflows/CI.yml | Added LibLzma CI workflow configuration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 15 out of 16 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This PR adds a new
ChunkCodecLibLzmapackage with support for basic XZ format encoding and decoding using the liblzma C library https://tukaani.org/xz/Fixes #50