-
-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
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
Snap support #778
Snap support #778
Conversation
Contains additional properties to make the shell commands work from within the strict confinement. JP Desktop uses the SHELL environment variable to launch a shell command and if SHELL is different from what is available in the snap's core (e.g. /usr/bin/zsh), the command would fail. Thus, bash is ensured as the SHELL option
* The snap's confinement mode is switched to classic. Mostly because JL Server creates hidden and temp files in a jupyter notebook directory it has open (e.g. for checkpoints or when it saves the file). Thus, if a user has a notebook stored in $HOME, JLD fails to save it with a permission denied error. It cannot be resolved with the snap's personal-files interface as the interface allows to specify existing paths only.
Snap package
moving the discussion from original PR. from @dmitry-lyfar Hi @mbektas,
Yes, this is because snaps are not distributed as standalone archives. When we publish, a user would be able to do
By default, the data created within snap user directories is snapshotted and stored for, I believe, 30 days (see |
@dmitry-lyfar I think it would be fine if environments can be restored within 30 days and not affected by app updates. now the snap uploads are failing because of classic confinement. is it something you can resolve on your end? |
Yes, I’m awaiting the resolution here: Once approved, the upload will start to be working. |
@mbektas the snap's classic confinement has been approved: https://forum.snapcraft.io/t/request-for-confinement-classic-for-jupyterlab-desktop/39047/5 Could you try if that works for you, please? |
thanks @dmitry-lyfar . I will trigger a publish now. |
@dmitry-lyfar build is succeeding now and snap is uploaded properly. I would like to test the cycle of install -> uninstall -> reinstall -> update. |
@dmitry-lyfar I will go ahead and merge your changes. thanks for your contribution. |
Also, I plan to manually promote from candidate to stable for now. |
No description provided.