Skip to content

Commit

Permalink
Make gitonly mode report OSF node URL
Browse files Browse the repository at this point in the history
fixes #197
  • Loading branch information
adswa committed Feb 14, 2024
1 parent 52545e3 commit 0102b55
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions datalad_osf/create_sibling_osf.py
Expand Up @@ -316,6 +316,12 @@ def custom_result_renderer(res, **kwargs):
action=ac.color_word(res['action'], ac.BOLD),
status=ac.color_status(res['status']))
)
elif res['action'] == "configure-sibling":
ui.message("{action}({status}): {url}".format(
action=ac.color_word(res['action'], ac.BOLD),
status=ac.color_status(res['status']),
url=res.get('url', ''))
)
else:
from datalad.interface.utils import default_result_renderer
default_result_renderer(res)
Expand Down

0 comments on commit 0102b55

Please sign in to comment.