Skip to content

Conversation

@kikkomep
Copy link
Member

This pull request introduces support for specifying a crate-relative path to be used as the root directory of the RO-Crate during validation (option --relative-root-path <RELATIVE_PATH>). This feature allows the validator to operate on crates whose files are located in any local subdirectory, making it easier to handle nested layouts or custom directory structures.

This new capability is also used to enable seamless support for BagIt RO-Crates: since BagIt stores the actual crate content inside the data/ directory, the validator leverages the crate-relative root mechanism to automatically map the BagIt structure to a proper RO-Crate root. As a result, both standard and BagIt-packaged RO-Crates can now be validated consistently.

[ fix #100 ]

…IP support and path unquoting

Made availability detection more generic for ZIP archives and added path unquoting before checks.
@kikkomep kikkomep merged commit ea34f6d into crs4:develop Nov 21, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support RO-Crate combination with other packaging schemes

1 participant