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

New ria_sshserver fixture #61

Merged
merged 2 commits into from
Sep 13, 2023
Merged

New ria_sshserver fixture #61

merged 2 commits into from
Sep 13, 2023

Conversation

mih
Copy link
Member

@mih mih commented Sep 13, 2023

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

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
@mih mih merged commit c113882 into main Sep 13, 2023
4 checks passed
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 97.22% and project coverage change: -0.48% ⚠️

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
@@            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 Coverage Δ
datalad_ria/utils.py 83.33% <83.33%> (ø)
datalad_ria/tests/fixtures.py 96.66% <100.00%> (-0.21%) ⬇️
datalad_ria/tests/test_fixtures.py 100.00% <100.00%> (ø)
datalad_ria/tests/utils.py 100.00% <100.00%> (ø)

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

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.

Adjust appveyor setup for SSH private key declaration
3 participants