-
Notifications
You must be signed in to change notification settings - Fork 398
Description
Firstly I should clear that with "launch paths" I mean the data in the optional file or url path field in binder form.
Proposed change
When a launch happens, some launch data (namely image
, token
, repo_url
, binder_ref_url
, binder_launch_host
, binder_request
and binder_persistent_request
) are saved in user_options
field of Spawner
table. And AFAIK for example JupyterHub uses this data (for named servers) to re-launch user server.
image
, token
and repo_url
are also really useful if you have a BinderHub with authentication (also with or without named servers) and want to remember exactly what user launched last time. But launch paths are missing and this means that we cant really start the user server same as user did. For example if user launches with /lab
url via binder form and later starts the server via the button in JupyterHub home page, user will be welcomed by the notebook UI, not Juypter Lab. So thats why we thought it would be good to save launch paths together with other data in user_options
.
Alternative options
This would be also good to know.
Who would use this feature?
People who wants to deploy a BinderHub with authentication and/or wants to have more/other customizations. For us we would use it in our persistent BinderHub.
(Optional): Suggest a solution
What do you think, about saving them in database and also about how to implement it?