Skip to content
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

integrityCheck and DROID reports that scanned inside containers #183

Open
DavidUnderdown opened this issue May 23, 2019 · 0 comments
Open

Comments

@DavidUnderdown
Copy link

DavidUnderdown commented May 23, 2019

Similar to #68 if you have a DROID report that includes rows for files that are actually inside ZIPs or other "archival" containers this causes problems with the integrityCheck feature. I tried to filter out these rows from checks such as fileExists and integrityCheck by using an if statement and checking that the URI does not start with zip: or sevenz: or tar: etc which indicate the presence of an archival container, as CSV Validator cannot read inside the container, but then integrityCheck fails to detect (ordinary) added files and folders.

See https://github.com/digital-preservation/droid-csv-schema/blob/master/DROID_integrity_check.csvs for example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant