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

Set defaults for Serialization and Allow-Fetch.txt if not explicitly provided #15

Merged
merged 1 commit into from Dec 10, 2018

Conversation

Projects
None yet
2 participants
@kba
Contributor

kba commented Dec 3, 2018

Profiles that omit Serialization or Allow-Fetch.txt currently fail with a KeyError even though they have default values defined in the spec. These default values are now set in validate_bagit_profile.

Also, fail early if no BagIt-Profile-Info dict is present.

@ruebot ruebot referenced this pull request Dec 7, 2018

Merged

Profile version #17

@kba kba force-pushed the kba:default-values branch from 1cc1956 to 1962008 Dec 7, 2018

@ruebot ruebot merged commit 036d7da into bagit-profiles:master Dec 10, 2018

5 checks passed

ci/circleci: build-python27 Your tests passed on CircleCI!
Details
ci/circleci: build-python34 Your tests passed on CircleCI!
Details
ci/circleci: build-python35 Your tests passed on CircleCI!
Details
ci/circleci: build-python36 Your tests passed on CircleCI!
Details
ci/circleci: build-python37 Your tests passed on CircleCI!
Details

@kba kba deleted the kba:default-values branch Dec 10, 2018

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