mih / datalad-mihextras

DataLad extension with special interest functionality or drafts of future additions to DataLad proper
Other
1 stars 1 forks source link

Clone from and push to any place reachable by any git-annex special remote #9

Closed mih closed 2 years ago

mih commented 2 years ago

This PR contains:

Wanna try it?

# to push any repo to a directory special remote
git remote add dla 'datalad-annex::file:///tmp/myds?type=directory&directory={path}&encryption=none'
# and then `git push`

# to clone it from there
git clone 'datalad-annex::file:///tmp/myds?type=directory&directory={path}&encryption=none'

# also try adding `&exporttree=yes` to the list of parameters in the URL, and take a look at
# `/tmp/myds`
codecov[bot] commented 2 years ago

Codecov Report

Merging #9 (9fb8f56) into master (0cc9b2d) will decrease coverage by 25.05%. The diff coverage is 35.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master       #9       +/-   ##
===========================================
- Coverage   81.68%   56.62%   -25.06%     
===========================================
  Files          11       15        +4     
  Lines         535     1155      +620     
===========================================
+ Hits          437      654      +217     
- Misses         98      501      +403     
Impacted Files Coverage Δ
datalad_mihextras/_version.py 100.00% <ø> (ø)
datalad_mihextras/backend/base.py 0.00% <0.00%> (ø)
datalad_mihextras/backend/xdlra.py 0.00% <0.00%> (ø)
datalad_mihextras/gitremote/datalad_annex.py 20.71% <20.71%> (ø)
...ad_mihextras/gitremote/tests/test_datalad_annex.py 97.45% <97.45%> (ø)

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 0cc9b2d...9fb8f56. Read the comment docs.

codeclimate[bot] commented 2 years ago

Code Climate has analyzed commit 9fb8f563 and detected 11 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 8
Security 3

View more on Code Climate.