We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The scene of execution and launching of interactive content in MyST is complex (because the scene is complex!).
At the heart of this, I think there are three possible ways a user might want to provide launch and/or execution support for their content:
nbgitpuller
The above strategies should work for both Jupyter and JupyterLite distributions, both for execution (Thebe) and launch links.
I think our config probably needs a re-work to reflect this, and Thebe might need some more support to facilitate it.
Here's a sketch of how our config might change:
project: jupyter: undefined(false) | boolean | object | 'lite' | 'binder' lite: boolean binder: undefined(false) | boolean | object url: string (url) provider: string (git | gitlab | github | or custom) repo: string (org-name/repo-name | url | string) ref: string (undefined | string) server: undefined | object url: string (url) token: string (any)
project: jupyter: lite: # JupyterLite can build custom environment environment: url: string (url) provider: string (git | gitlab | github | or custom) repo: string (org-name/repo-name | url | string) ref: string (undefined | string) # Does it make sense to pull content at runtime? # Binder does this because images are ephemeral # We have to build the env at build-time anyway # content: binder: # Binder can build images environment: url: string (url) provider: string (git | gitlab | github | or custom) repo: string (org-name/repo-name | url | string) ref: string (undefined | string) # nbgitpuller can provision image content: url: string (url) provider: string (git | gitlab | github | or custom) repo: string (org-name/repo-name | url | string) ref: string (undefined | string) hub: # Hubs can't build images # environment: # But can configure spawn options: ... # nbgitpuller can provision image content: url: string (url) provider: string (git | gitlab | github | or custom) repo: string (org-name/repo-name | url | string) ref: string (undefined | string) server: ...
This only makes sense for Thebe, probably. But perhaps not. ↩
The text was updated successfully, but these errors were encountered:
content
provisioning
Sorry, something went wrong.
This needs more work, but I don't have cycles in this very moment to undertake it.
More notes:
Hubs can actually support image building. There are actually the following deployment types:
Therefore, we might want to interrogate the deployment target to determine whether the defined launch information is valid.
Some targets can accept an image name, others an image definition. Some accept spawn args, others not?
Lite can use litegitpuller, so we should support that. For now, we can only use a single provisioner. (nbgitpuller is limited)
No branches or pull requests
The scene of execution and launching of interactive content in MyST is complex (because the scene is complex!).
At the heart of this, I think there are three possible ways a user might want to provide launch and/or execution support for their content:
nbgitpuller
nbgitpuller
on a JupyterHubThe above strategies should work for both Jupyter and JupyterLite distributions, both for execution (Thebe) and launch links.
I think our config probably needs a re-work to reflect this, and Thebe might need some more support to facilitate it.
Here's a sketch of how our config might change:
Existing configuration (simplified)
Suggested configuration (simplified)
Footnotes
This only makes sense for Thebe, probably. But perhaps not. ↩
The text was updated successfully, but these errors were encountered: