plasmabio / tljh-repo2docker

Plugin for The Littlest JupyterHub to build multiple user environments with repo2docker
BSD 3-Clause "New" or "Revised" License
60 stars 15 forks source link

Switch to a JupyterHub service #63

Closed jtpio closed 5 months ago

jtpio commented 10 months ago

Currently the plugin relies on the JupyterHub extra_handlers to add a couple of endpoints for managing environments:

https://github.com/plasmabio/tljh-repo2docker/blob/c42f08a0832a9abdd131be246d339df2c2ce00f3/tljh_repo2docker/__init__.py#L196-L208

However it's been deprecated in JupyterHub for a couple of releases already:

https://jupyterhub.readthedocs.io/en/stable/reference/api/app.html#jupyterhub.app.JupyterHub.extra_handlers

image

Actually it used to be a service before but that was changed in https://github.com/plasmabio/tljh-repo2docker/pull/19 so it would be more integrated with the default JupyterHub UI. At the time this extension point was not deprecated. For reference it was deprecated in https://github.com/jupyterhub/jupyterhub/pull/4236.

This will require some design work to find a way to make it look the same as it is now, so it still feels well integrated with the JupyterHub control panel:

image