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

Issue 1219 warn of uncommitted DS #177

Merged
merged 8 commits into from
Apr 12, 2024
Merged

Conversation

PiispaH
Copy link
Collaborator

@PiispaH PiispaH commented Dec 12, 2023

Re spine-tools/Spine-Toolbox#2459

Fixes spine-tools/Spine-Toolbox#1219

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
  • Change requirements back to 0.8-dev branch

Henrik Koski added 3 commits December 8, 2023 12:03
Now when a db map has uncommitted changes, all Data Stores
that share that same db map will show a notification about
the dirtiness of that Data Store. Edge cases that should
now be covered (and come to mind...):

- If more than one DS points to the same db map, all DSs
pointing to that should be notified if the db map is dirty.
- Everything should still work after renaming a DS

Re spine-tools/Spine-Toolbox#1219
@codecov-commenter
Copy link

codecov-commenter commented Dec 12, 2023

Codecov Report

Attention: Patch coverage is 89.65517% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 61.70%. Comparing base (a1b6b12) to head (0e3d2f3).

❗ Current head 0e3d2f3 differs from pull request most recent head daa2f82. Consider uploading reports for the commit daa2f82 to get more accurate results

Files Patch % Lines
spine_items/data_store/data_store.py 89.65% 0 Missing and 3 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           0.8-dev     #177      +/-   ##
===========================================
+ Coverage    61.68%   61.70%   +0.02%     
===========================================
  Files          190      190              
  Lines        17655    17683      +28     
  Branches      2890     2896       +6     
===========================================
+ Hits         10890    10912      +22     
- Misses        6183     6187       +4     
- Partials       582      584       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@PiispaH PiispaH marked this pull request as ready for review April 12, 2024 08:55
@PiispaH PiispaH merged commit 50d0e8c into 0.8-dev Apr 12, 2024
0 of 8 checks passed
@PiispaH PiispaH deleted the issue_1219_warn_of_uncommitted_ds branch April 12, 2024 09:01
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