-
Notifications
You must be signed in to change notification settings - Fork 12
feat: support relative path for data root and BagIt format #118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
kikkomep
merged 43 commits into
crs4:develop
from
kikkomep:feat/configurable-dataroot_issue-100
Nov 21, 2025
Merged
feat: support relative path for data root and BagIt format #118
kikkomep
merged 43 commits into
crs4:develop
from
kikkomep:feat/configurable-dataroot_issue-100
Nov 21, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…IP support and path unquoting Made availability detection more generic for ZIP archives and added path unquoting before checks.
…te with the correct subtype
…ve root path argument
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 ]