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

fix: remove modified-detection from provision command #75

Merged
merged 3 commits into from
Dec 12, 2024

Conversation

christian-monch
Copy link
Contributor

Fixes issue #69

For unknown reasons, Dataset.status does not work properly in the context of a git-annex-remake-datalad-remake process if the origin dataset contains subdatasets.

This commit disables the dirty check in the provisioning
command because `Dataset.status` does not work as expected
when executed in the context of a git annex special remote.

In this context it might detect a changed subdataset, which
should not happen. The reason for this is not clear yet.
Once this is resolved, this commit could be reverted.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.47%. Comparing base (f320830) to head (6281496).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #75      +/-   ##
==========================================
- Coverage   92.91%   92.47%   -0.44%     
==========================================
  Files          23       23              
  Lines        1002      984      -18     
  Branches       81       79       -2     
==========================================
- Hits          931      910      -21     
- Misses         50       53       +3     
  Partials       21       21              

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

@christian-monch christian-monch marked this pull request as ready for review December 12, 2024 19:47
@christian-monch christian-monch merged commit b282790 into datalad:main Dec 12, 2024
6 checks passed
@christian-monch christian-monch deleted the issue-69 branch December 12, 2024 19:52
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