Skip to content

Save changes in DataLad if only the statefile was modified#121

Merged
yarikoptic merged 1 commit intomasterfrom
gh-119
Jun 22, 2021
Merged

Save changes in DataLad if only the statefile was modified#121
yarikoptic merged 1 commit intomasterfrom
gh-119

Conversation

@jwodder
Copy link
Copy Markdown
Contributor

@jwodder jwodder commented Jun 22, 2021

Also, don't migrate the statefile if there were no changes.

Fixes #119.

@jwodder jwodder added the patch Increment the patch version when merged label Jun 22, 2021
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 22, 2021

Codecov Report

Merging #121 (1071c62) into master (af8fe5f) will decrease coverage by 1.48%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #121      +/-   ##
==========================================
- Coverage   72.00%   70.51%   -1.49%     
==========================================
  Files          10       10              
  Lines         918      926       +8     
  Branches      135      138       +3     
==========================================
- Hits          661      653       -8     
- Misses        202      220      +18     
+ Partials       55       53       -2     
Impacted Files Coverage Δ
src/tinuous/__main__.py 51.74% <33.33%> (-1.49%) ⬇️
src/tinuous/state.py 100.00% <100.00%> (ø)
src/tinuous/github.py 47.36% <0.00%> (-4.31%) ⬇️
src/tinuous/travis.py 63.63% <0.00%> (-2.73%) ⬇️
src/tinuous/appveyor.py 76.19% <0.00%> (-1.20%) ⬇️
src/tinuous/base.py 88.18% <0.00%> (+0.78%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update af8fe5f...1071c62. Read the comment docs.

@yarikoptic
Copy link
Copy Markdown
Member

Thank you, looks great!

@yarikoptic yarikoptic merged commit 4f45ae7 into master Jun 22, 2021
@yarikoptic yarikoptic deleted the gh-119 branch June 22, 2021 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Increment the patch version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

updated save was not saved by datalad after being renamed

3 participants