Closed josevalim closed 4 days ago
Note: we want to default to personal hub id, if teams auth is not specified.
The default today is nothing, no? So we don't check the hub id at all. Shouldn't we stick to that?
When generating the Dockerfile for airgapped deployment with personal hub we set ENV LIVEBOOK_APPS_PATH_HUB_ID "personal-hub"
. If we get the id from LIVEBOOK_TEAMS_AUTH
, then there is no option to set it for personal hub.
Right, but I am not sure we would be losing anything here. Personal-hub does not identify a particular individual, so it does not exclude you from running a third party notebook. And enforcing everything to be "personal-hub" may break some deployments. So I think it is easier and more straight-forward to say there is no filtering unless you use teams.
And enforcing everything to be "personal-hub" may break some deployments.
WDYM?
so it does not exclude you from running a third party notebook
It skips teams notebooks in the same directory (deploying which would fail anyway), though we still warn. So yeah, I think making it teams specific is fine :)
Instead, we will build the ID from
LIVEBOOK_TEAMS_AUTH
.