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

Switch datalad-annex:: to use git-annex plumbing 'transferkey' #76

Merged
merged 1 commit into from
Jun 10, 2022
Merged

Conversation

mih
Copy link
Member

@mih mih commented Jun 10, 2022

This avoids the complications with changing behavior of git-annex-fsck
with 10.20220525 (see
#72). Moreover, it allows
for moving to an opportunistic download that just tries, instead of
having to check with the remote first. This saves a request, and should
translate to measurable speed-up for slow remotes (e.g. WebDAV).

Closes #75

This avoids the complications with changing behavior of `git-annex-fsck`
with 10.20220525 (see
#72).  Moreover, it allows
for moving to an opportunistic download that just tries, instead of
having to check with the remote first. This safes a request, and should
translate to measurable speed-up for slow remotes (e.g. WebDAV).

Closes #75
Copy link
Member

@bpoldrack bpoldrack left a comment

Choose a reason for hiding this comment

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

Good point!

@codecov
Copy link

codecov bot commented Jun 10, 2022

Codecov Report

Merging #76 (c903002) into main (04c46bf) will increase coverage by 6.41%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #76      +/-   ##
==========================================
+ Coverage   80.27%   86.68%   +6.41%     
==========================================
  Files          27       27              
  Lines        2104     2381     +277     
==========================================
+ Hits         1689     2064     +375     
+ Misses        415      317      -98     
Impacted Files Coverage Δ
datalad_next/gitremote/datalad_annex.py 89.35% <100.00%> (+69.24%) ⬆️
datalad_next/_version.py 45.39% <0.00%> (-54.61%) ⬇️
datalad_next/utils.py 84.09% <0.00%> (+9.09%) ⬆️

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 04c46bf...c903002. Read the comment docs.

Copy link
Collaborator

@mslw mslw left a comment

Choose a reason for hiding this comment

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

If I understand correctly:

I didn't know any of these things before, but looking at the docs and the diff, this seems clear-cut to me.

@mslw
Copy link
Collaborator

mslw commented Jun 10, 2022

Thanks a lot for getting to the bottom of the issue @mih!

Given that there's 2 reviews and checks pass I'd merge right away, but I don't have write access to this repo.

@mslw mslw merged commit a8d522f into main Jun 10, 2022
@mih mih deleted the bf-74 branch June 10, 2022 11:27
@mih mih mentioned this pull request Jul 8, 2022
8 tasks
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.

Replace use of fsck in datalad-annex:: with checkpresentkey
3 participants