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

Refuse to open old databases (except to migrate) #166

Merged
merged 1 commit into from
Jan 15, 2024
Merged

Conversation

takluyver
Copy link
Member

We plan to migrate all the existing DAMNIT DBs to the new format, so to keep the code simpler we will refuse to open databases until they are migrated.

I've tested this with the GUI - both pointing to a folder on the command line, and selecting a proposal from the dialog - as well as the subcommands proposal, reprocess, new-id & db-config, plus I tested doing a migration (with the --dry-run option), which shouldn't be blocked. I used p900385 to try this.

Part of #151.

Copy link
Member

@JamesWrigley JamesWrigley left a comment

Choose a reason for hiding this comment

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

LGTM!

@takluyver takluyver merged commit 2a93333 into master Jan 15, 2024
3 checks passed
@takluyver takluyver deleted the no-open-old-db branch January 15, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants