diff --git a/README.md b/README.md index 43d5e4e..f1c6d4e 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ It shall NOT be edited by hand. # JupyterLab for YunoHost -[![Integration level](https://dash.yunohost.org/integration/jupyterlab.svg)](https://dash.yunohost.org/appci/app/jupyterlab) ![](https://ci-apps.yunohost.org/ci/badges/jupyterlab.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/jupyterlab.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/jupyterlab.svg)](https://dash.yunohost.org/appci/app/jupyterlab) ![Working status](https://ci-apps.yunohost.org/ci/badges/jupyterlab.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/jupyterlab.maintain.svg) [![Install JupyterLab with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=jupyterlab) *[Lire ce readme en français.](./README_fr.md)* @@ -18,31 +18,33 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in JupyterLab is the next-generation user interface for Project Jupyter offering all the familiar building blocks of the classic Jupyter Notebook (notebook, terminal, text editor, file browser, rich outputs, etc.) in a flexible and powerful user interface. JupyterLab will eventually replace the classic Jupyter Notebook. -**Shipped version:** 3.4.2~ynh1 +**Shipped version:** 3.4.5~ynh1 + **Demo:** https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/master?urlpath=lab/tree/demo ## Screenshots -![](./doc/screenshots/jupyterlab.png) +![Screenshot of JupyterLab](./doc/screenshots/jupyterlab.png) ## Documentation and resources -* Official app website: https://jupyterlab.readthedocs.io/en/stable/ -* Official admin documentation: https://jupyterlab.readthedocs.io/en/stable/ -* Upstream app code repository: https://github.com/jupyterhub/jupyterhub -* YunoHost documentation for this app: https://yunohost.org/app_jupyterlab -* Report a bug: https://github.com/YunoHost-Apps/jupyterlab_ynh/issues +* Official app website: +* Official admin documentation: +* Upstream app code repository: +* YunoHost documentation for this app: +* Report a bug: ## Developer info Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/jupyterlab_ynh/tree/testing). To try the testing branch, please proceed like that. -``` + +``` bash sudo yunohost app install https://github.com/YunoHost-Apps/jupyterlab_ynh/tree/testing --debug or sudo yunohost app upgrade jupyterlab -u https://github.com/YunoHost-Apps/jupyterlab_ynh/tree/testing --debug ``` -**More info regarding app packaging:** https://yunohost.org/packaging_apps \ No newline at end of file +**More info regarding app packaging:** diff --git a/README_fr.md b/README_fr.md index b818815..5953c25 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,10 +1,14 @@ + + # JupyterLab pour YunoHost -[![Niveau d'intégration](https://dash.yunohost.org/integration/jupyterlab.svg)](https://dash.yunohost.org/appci/app/jupyterlab) ![](https://ci-apps.yunohost.org/ci/badges/jupyterlab.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/jupyterlab.maintain.svg) +[![Niveau d'intégration](https://dash.yunohost.org/integration/jupyterlab.svg)](https://dash.yunohost.org/appci/app/jupyterlab) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/jupyterlab.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/jupyterlab.maintain.svg) [![Installer JupyterLab avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=jupyterlab) *[Read this readme in english.](./README.md)* -*[Lire ce readme en français.](./README_fr.md)* > *Ce package vous permet d'installer JupyterLab rapidement et simplement sur un serveur YunoHost. Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.* @@ -14,31 +18,33 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour JupyterLab is the next-generation user interface for Project Jupyter offering all the familiar building blocks of the classic Jupyter Notebook (notebook, terminal, text editor, file browser, rich outputs, etc.) in a flexible and powerful user interface. JupyterLab will eventually replace the classic Jupyter Notebook. -**Version incluse :** 3.4.2~ynh1 +**Version incluse :** 3.4.5~ynh1 + **Démo :** https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/master?urlpath=lab/tree/demo ## Captures d'écran -![](./doc/screenshots/jupyterlab.png) +![Capture d'écran de JupyterLab](./doc/screenshots/jupyterlab.png) ## Documentations et ressources -* Site officiel de l'app : https://jupyterlab.readthedocs.io/en/stable/ -* Documentation officielle de l'admin : https://jupyterlab.readthedocs.io/en/stable/ -* Dépôt de code officiel de l'app : https://github.com/jupyterhub/jupyterhub -* Documentation YunoHost pour cette app : https://yunohost.org/app_jupyterlab -* Signaler un bug : https://github.com/YunoHost-Apps/jupyterlab_ynh/issues +* Site officiel de l'app : +* Documentation officielle de l'admin : +* Dépôt de code officiel de l'app : +* Documentation YunoHost pour cette app : +* Signaler un bug : ## Informations pour les développeurs Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/jupyterlab_ynh/tree/testing). Pour essayer la branche testing, procédez comme suit. -``` + +``` bash sudo yunohost app install https://github.com/YunoHost-Apps/jupyterlab_ynh/tree/testing --debug ou sudo yunohost app upgrade jupyterlab -u https://github.com/YunoHost-Apps/jupyterlab_ynh/tree/testing --debug ``` -**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps \ No newline at end of file +**Plus d'infos sur le packaging d'applications :** diff --git a/manifest.json b/manifest.json index e49d014..8b4c153 100644 --- a/manifest.json +++ b/manifest.json @@ -6,14 +6,15 @@ "en": "Code console environment for running Python code interactively.", "fr": "Console de code pour exécuter du code Python de manière interactive." }, - "version": "3.4.2~ynh1", - "url": "https://jupyterlab.readthedocs.io/en/stable/", + "version": "3.4.5~ynh1", + "url": "https://jupyter.org", "upstream": { "license": "BSD-3-Clause", - "website": "https://jupyterlab.readthedocs.io/en/stable/", + "website": "https://jupyter.org", "demo": "https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/master?urlpath=lab/tree/demo", "admindoc": "https://jupyterlab.readthedocs.io/en/stable/", - "code": "https://github.com/jupyterhub/jupyterhub" + "code": "https://github.com/jupyterhub/jupyterhub", + "cpe": "cpe:2.3:a:jupyter:nbdime-jupyterlab" }, "license": "BSD-3-Clause", "maintainer": { @@ -21,7 +22,7 @@ "email": "pierre@kayou.io" }, "requirements": { - "yunohost": ">= 4.3.0" + "yunohost": ">= 11.0.9" }, "multi_instance": true, "services": [ @@ -59,4 +60,4 @@ } ] } -} +} \ No newline at end of file diff --git a/scripts/_common.sh b/scripts/_common.sh index 12e6cc4..13d815a 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,11 +5,11 @@ #================================================= # dependencies used by the app -pkg_dependencies="python3-dev python3-pip libffi-dev libzmq3-dev" +pkg_dependencies="python3-dev python3-pip" nodejs_version="16" -jupyterlab_version="3.4.2" +jupyterlab_version="3.4.5" #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index 567c138..bb929f8 100644 --- a/scripts/install +++ b/scripts/install @@ -100,7 +100,7 @@ mkdir -p "$final_path" pushd $final_path mkdir -p .venv - PIPENV_VENV_IN_PROJECT="enabled" PIPENV_SKIP_LOCK=true ynh_exec_warn_less python3 -m pipenv install jupyterlab==$jupyterlab_version jupyterhub notebook jupyterhub-ldapauthenticator pyzmq --three + PIPENV_VENV_IN_PROJECT="enabled" PIPENV_SKIP_LOCK=true ynh_exec_warn_less python3 -m pipenv install jupyterlab==$jupyterlab_version jupyterhub notebook jupyterhub-ldapauthenticator pyzmq jupyterlab-language-pack-fr-FR --three popd #================================================= diff --git a/scripts/remove b/scripts/remove index a4d5e6e..71f2e5b 100644 --- a/scripts/remove +++ b/scripts/remove @@ -28,7 +28,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) # Remove the service from the list of services known by YunoHost (added from `yunohost service add`) if ynh_exec_warn_less yunohost service status $app >/dev/null then - ynh_script_progression --message="Removing $app service integration..."--weight=2 + ynh_script_progression --message="Removing $app service integration..." --weight=2 yunohost service remove $app fi