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

Profile validation #9

Open
awead opened this issue Sep 19, 2016 · 3 comments
Open

Profile validation #9

awead opened this issue Sep 19, 2016 · 3 comments
Labels

Comments

@awead
Copy link

awead commented Sep 19, 2016

How should profiles be validated? There should be a way to check if your bag conforms to a given profile, which also implies that it's also conforming to the BagIt structure in general, but that process should be separate from validation which includes verifying checksums.

So in other words, tell me if I have a bag that matches a given profile, but don't do the checksums because that might take longer, and I'd do that with a separate process.

This relate to work ongoing in Fedora for exporting and importing bags.

@ruebot
Copy link
Member

ruebot commented Sep 19, 2016

@awead we have a BagIt Profile Validator here: https://github.com/ruebot/bagit-profiles-validator

It's been a while since I used it, and I can't honestly remember if the validator just validates conformance to the profile, or conformance to the profile + a valid bag.

@awead
Copy link
Author

awead commented Sep 19, 2016

I think after earlier discussion today, it only tests conformity of the profile. In other words, is my defined json profile file expressing a valid BagIt profile. So we're looking at building checks into the Fedora component that would verify if the bag itself conforms to the profile. Although, I'd be nice if this did too! 😄

@jscancella
Copy link
Contributor

I know this is an old issue, but you could use https://github.com/jscancella/bagging/blob/master/README.md#how-to-verify-against-a-profile

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

No branches or pull requests

3 participants