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

Add method to check if database has commits from other sources. #292

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

soininen
Copy link
Collaborator

This PR adds DatabaseMapping.has_external_commits() that checks if someone else has been tampering with the database. This information is needed in Toolbox to trigger fetching more items after e.g. an Importer has been executed.

Re spine-tools/Spine-Toolbox#2353

Checklist before merging

  • Documentation (also in Toolbox repo) is up-to-date
  • Release notes in Toolbox repo have been updated
  • Unit tests have been added/updated accordingly
  • Code has been formatted by black
  • Unit tests pass

@soininen soininen merged commit edf8fb6 into 0.8-dev Oct 20, 2023
@soininen soininen deleted the toolbox_2353_alternative_tree_not_fetched branch October 20, 2023 05:21
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.

1 participant