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

BF: AnnexRepo to deal with INFO response from annex special remotes #3546

merged 2 commits into from
Jul 24, 2019


Copy link

AnnexRepo, in particular _run_annex_command_json didn't handle an INFO response from a special remote (see
Fixed that.

FTR: I won't implement an entire special remote just to fake some test herein. However, it will at least be implicitly tested by
Meaning: I think it's fine if I didn't break anything ;-)

Copy link

codecov bot commented Jul 19, 2019

Codecov Report

Merging #3546 into master will increase coverage by 0.03%.
The diff coverage is 57.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3546      +/-   ##
+ Coverage   83.01%   83.04%   +0.03%     
  Files         272      272              
  Lines       35140    35147       +7     
+ Hits        29171    29189      +18     
+ Misses       5969     5958      -11
Impacted Files Coverage Δ
datalad/support/ 63.31% <57.14%> (-0.04%) ⬇️
datalad/downloaders/tests/ 92.32% <0%> (+3.46%) ⬆️

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 ae2c259...72291f2. Read the comment docs.


for obj in to_remove:
Copy link

Choose a reason for hiding this comment

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

Code will be shorter if you just compose that list to return in the loop... Not sure even if remove would work correctly here eh in case of multiple identical info messages

Copy link

looks LGTM. Re tests, if interested to dig a bit -- datalad/customremotes/tests/ is the one which could code generic logic tests for special remotes

@mih mih merged commit 86e21e1 into datalad:master Jul 24, 2019
@mih mih deleted the bf-special-remote-protocol branch July 24, 2019 05:15
@yarikoptic yarikoptic added this to the Release 0.12.0 milestone Aug 1, 2019
@bpoldrack bpoldrack restored the bf-special-remote-protocol branch January 24, 2020 09:46
@bpoldrack bpoldrack deleted the bf-special-remote-protocol branch September 2, 2020 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

3 participants