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

Require metadata/asset schemaVersion #1199

Merged
merged 1 commit into from
Aug 8, 2022
Merged

Conversation

danlamanna
Copy link
Contributor

Fixes #1193 and #1117.

This makes schemaVersion required with a database constraint and patches up the primary place we weren't defaulting it to settings.DANDI_SCHEMA_VERSION. I also merged two tests that were testing nearly identical things but had already started to drift apart. I'd like to review this with @mvandenburgh before merging.

@mvandenburgh
Copy link
Member

@danlamanna #1212 fixed some issues with the CLI integration tests. They seem to be different than the ones you're encountering here, but it might be worth rebasing on master to see if anything changes

@danlamanna danlamanna force-pushed the fix-schema-missing-version branch 2 times, most recently from 1eb5138 to c79f636 Compare July 26, 2022 05:02
@danlamanna danlamanna force-pushed the fix-schema-missing-version branch 3 times, most recently from e6cdfcf to 6d1b3de Compare July 29, 2022 16:07
Copy link
Member

@mvandenburgh mvandenburgh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - although we'll need to figure out why the CLI tests are failing before merging.

@danlamanna danlamanna merged commit 1d8eb5d into master Aug 8, 2022
@danlamanna danlamanna deleted the fix-schema-missing-version branch August 8, 2022 19:52
@dandibot
Copy link
Member

🚀 PR was released in v0.2.43 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provided metadata has no schema version
5 participants