Skip to content

Refactor RO-Crate support - #24

Merged
das-Abroxas merged 6 commits into
mainfrom
refactor/ro-crate-support
Jul 17, 2026
Merged

Refactor RO-Crate support#24
das-Abroxas merged 6 commits into
mainfrom
refactor/ro-crate-support

Conversation

@das-Abroxas

Copy link
Copy Markdown
Contributor

Summary

Adds direct RO-Crate directory and ZIP ingestion to Pithos and replaces the local rocrate workspace crate with the upstream ro-crate-rs library.

Changes

  • Introduces LoadedRoCrate with explicit directory and ZIP source tracking
  • Streams ZIP members directly into Pithos without extracting them first
  • Links physical data entries to the RO-Crate metadata entry
  • Preserves ZIP file metadata, directories, and symlinks
  • Rejects unsafe, overlapping, duplicate, encrypted, conflicting, and unsupported ZIP entries
  • Corrects symlink extraction so targets cannot control where links are created
  • Adds direct tests for filesystem and FastCDC utility functions
  • Adds end-to-end directory/ZIP parity, multichunk streaming, path validation, and symlink extraction tests
  • Updates documentation with ingestion examples and migration guidance
  • Removes the obsolete local crates/rocrate implementation
  • Bumps Pithos packages to 0.7.2
  • Adds workspace tests, package validation, and publish dry runs to the tag release workflow

@das-Abroxas das-Abroxas self-assigned this Jul 16, 2026
@das-Abroxas das-Abroxas added the enhancement New feature or request label Jul 16, 2026
@das-Abroxas
das-Abroxas merged commit f9264e1 into main Jul 17, 2026
2 checks passed
@das-Abroxas
das-Abroxas deleted the refactor/ro-crate-support branch July 21, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant