datalad / datalad-gooey

A graphical user interface for DataLad (datalad.org)
https://docs.datalad.org/projects/gooey
Other
4 stars 6 forks source link

Helper for `datalad-annex::` URLs #267

Open mih opened 1 year ago

mih commented 1 year ago

This could be connected to a tool button in the clone/sibling-add parameter input. These URL are complicated to craft correctly. I hive no concrete idea yet, how this would need to be done to actually reduce the complexity.

bpoldrack commented 1 year ago

I think the approach depends on the usecase. When would one want to create such a URL? When creating a sibling that is cloneable that way, the URL would/should be part of its result - no need to construct.

However, it would be thinkable to provide the special remote configuration part of such URL, by taking the config of an existing special remote. Say, siblings are listed in a dataset's property tab (or an additional siblings-widget) and one could right click a sibling a say "gimme its config as datalad-annex URL".