You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While doing #1390, I realize that our DoiProvider is actually a HandleProvider because doi.org resolves all handles, not just DOIs! So the lift here is not super high.
yuvipanda
changed the title
support Handles (similar to DOIs)
Support Handles more consistently, rather than just DOIs (which are a subset of handles)
Dec 20, 2024
Also we already support a subset of handles that exist on dataverse. So while jupyter-repo2docker hdl:11529/10549105 doesn't work, that handle redirects to https://data.cimmyt.org/dataset.xhtml?persistentId=hdl:11529/10549105. And jupyter-repo2docker 'https://data.cimmyt.org/dataset.xhtml?persistentId=hdl:11529/10549105'does work.
So we kinda support handles, but only on accident.
Proposed change
Support Handles (similar to DOIs)
That is, perhaps something like this should work:
jupyter-repo2docker hdl:11529/10549105
However, I'm not sure if you want https://mybinder.org/v2/dataverse/11529/10549105 to work? 🤔 Right now DOIs are assumed. As a URL https://mybinder.org/v2/hdl:11529/10549105 makes more sense to me.
Alternative options
From the command line, using the full URL works:
jupyter-repo2docker 'https://data.cimmyt.org/dataset.xhtml?persistentId=hdl:11529/10549105'
Who would use this feature?
I'm not 100% sure this feature would be used but last I checked the following Dataverse installations use Handles instead of DOIs
Perhaps some of them would like to use Binder. 🤷
How much effort will adding it take?
Not sure.
Who can do this work?
Someone who knows Python.
The text was updated successfully, but these errors were encountered: