datalad / datalad-ria

Adds functionality for RIA stores to DataLad
http://datalad.org
Other
0 stars 1 forks source link

New ria_sshserver fixture #61

Closed mih closed 10 months ago

mih commented 10 months ago

This should be easier to use. The old implementation is now available in ria_sshserver_setup and should be considered internal.

The new fixture returns the base RIA URL, and a local path to that same root directory (if one exists).

It also sets DATALAD_SSH_IDENTITYFILE, which is needed by datalad-core's SSHManager. The setup may still need to use the datalad_cfg fixture, and possibly a dedicated reload to be effective.

Closes #60

codecov-commenter commented 10 months ago

Codecov Report

Patch coverage: 97.22% and project coverage change: -0.48% :warning:

Comparison is base (773715d) 98.07% compared to head (a2eaf76) 97.60%. Report is 3 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #61 +/- ## ========================================== - Coverage 98.07% 97.60% -0.48% ========================================== Files 7 9 +2 Lines 104 125 +21 ========================================== + Hits 102 122 +20 - Misses 2 3 +1 ``` | [Files Changed](https://app.codecov.io/gh/datalad/datalad-ria/pull/61?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad) | Coverage Δ | | |---|---|---| | [datalad\_ria/utils.py](https://app.codecov.io/gh/datalad/datalad-ria/pull/61?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad#diff-ZGF0YWxhZF9yaWEvdXRpbHMucHk=) | `83.33% <83.33%> (ø)` | | | [datalad\_ria/tests/fixtures.py](https://app.codecov.io/gh/datalad/datalad-ria/pull/61?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad#diff-ZGF0YWxhZF9yaWEvdGVzdHMvZml4dHVyZXMucHk=) | `96.66% <100.00%> (-0.21%)` | :arrow_down: | | [datalad\_ria/tests/test\_fixtures.py](https://app.codecov.io/gh/datalad/datalad-ria/pull/61?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad#diff-ZGF0YWxhZF9yaWEvdGVzdHMvdGVzdF9maXh0dXJlcy5weQ==) | `100.00% <100.00%> (ø)` | | | [datalad\_ria/tests/utils.py](https://app.codecov.io/gh/datalad/datalad-ria/pull/61?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad#diff-ZGF0YWxhZF9yaWEvdGVzdHMvdXRpbHMucHk=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.