From aac5d8c0271342cca8b764a73d9c758bde39b60f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sun, 30 Jul 2023 22:23:42 +0200 Subject: [PATCH 1/4] Rename 'intro to packaging' to 'packaging applications' : it's no intro, it's the chapter that contains all the info about packaging --- .../{packaging_apps_intro.fr.md => packaging_apps.fr.md} | 6 +++--- .../{packaging_apps_intro.md => packaging_apps.md} | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) rename pages/06.contribute/10.packaging_apps/{packaging_apps_intro.fr.md => packaging_apps.fr.md} (97%) rename pages/06.contribute/10.packaging_apps/{packaging_apps_intro.md => packaging_apps.md} (98%) diff --git a/pages/06.contribute/10.packaging_apps/packaging_apps_intro.fr.md b/pages/06.contribute/10.packaging_apps/packaging_apps.fr.md similarity index 97% rename from pages/06.contribute/10.packaging_apps/packaging_apps_intro.fr.md rename to pages/06.contribute/10.packaging_apps/packaging_apps.fr.md index cd3591ee..6c4d69ea 100644 --- a/pages/06.contribute/10.packaging_apps/packaging_apps_intro.fr.md +++ b/pages/06.contribute/10.packaging_apps/packaging_apps.fr.md @@ -1,12 +1,12 @@ --- -title: Introduction au packaging +title: Packaging d'applications template: docs taxonomy: category: docs routes: - default: '/packaging_apps_intro' + default: '/packaging_apps' aliases: - - '/packaging_apps' + - '/packaging_apps_intro' --- Cette documentation a pour but de fournir tous les concepts de base et le vocabulaire nécessaire pour comprendre le packaging d'applications. diff --git a/pages/06.contribute/10.packaging_apps/packaging_apps_intro.md b/pages/06.contribute/10.packaging_apps/packaging_apps.md similarity index 98% rename from pages/06.contribute/10.packaging_apps/packaging_apps_intro.md rename to pages/06.contribute/10.packaging_apps/packaging_apps.md index 4175018e..770973b9 100644 --- a/pages/06.contribute/10.packaging_apps/packaging_apps_intro.md +++ b/pages/06.contribute/10.packaging_apps/packaging_apps.md @@ -1,12 +1,12 @@ --- -title: Introduction to packaging +title: Packaging applications template: docs taxonomy: category: docs routes: - default: '/packaging_apps_intro' + default: '/packaging_apps' aliases: - - '/packaging_apps' + - '/packaging_apps_intro' --- This documentation is here to provide all the basic concepts and vocabulary needed to understand app packaging. From a58dbe6801c679c01f4c27018875ca3654d2f11b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sun, 30 Jul 2023 22:26:25 +0200 Subject: [PATCH 2/4] Move packaging_apps/resources/appresources/packaging_apps_resources to packaging_apps/manifest/app_manifest_resources --- .../10.appresources/packaging_app_manifest_resources.md} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename pages/06.contribute/10.packaging_apps/{80.resources/15.appresources/packaging_apps_resources.md => 10.manifest/10.appresources/packaging_app_manifest_resources.md} (99%) diff --git a/pages/06.contribute/10.packaging_apps/80.resources/15.appresources/packaging_apps_resources.md b/pages/06.contribute/10.packaging_apps/10.manifest/10.appresources/packaging_app_manifest_resources.md similarity index 99% rename from pages/06.contribute/10.packaging_apps/80.resources/15.appresources/packaging_apps_resources.md rename to pages/06.contribute/10.packaging_apps/10.manifest/10.appresources/packaging_app_manifest_resources.md index c78275be..4adfd90c 100644 --- a/pages/06.contribute/10.packaging_apps/80.resources/15.appresources/packaging_apps_resources.md +++ b/pages/06.contribute/10.packaging_apps/10.manifest/10.appresources/packaging_app_manifest_resources.md @@ -1,5 +1,5 @@ --- -title: App resources +title: App manifest resources template: docs taxonomy: category: docs @@ -342,4 +342,3 @@ Provision a system user to be used by the app. The username is exactly equal to ### Deprovision - deletes the user and group - From e48a1e64d56b5995c909f2ef55f660f450bfa98c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sun, 30 Jul 2023 22:27:30 +0200 Subject: [PATCH 3/4] Move resources/helpers/packaging_apps_helpers to scripts/helpers/app_scripts_helpers --- pages/02.administer/60.extend/20.helpers/helpers.md | 2 +- .../10.helpers/packaging_app_scripts_helpers.md} | 9 ++++----- .../10.packaging_apps/20.scripts/scripts.md | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) rename pages/06.contribute/10.packaging_apps/{80.resources/11.helpers/packaging_apps_helpers.md => 20.scripts/10.helpers/packaging_app_scripts_helpers.md} (99%) diff --git a/pages/02.administer/60.extend/20.helpers/helpers.md b/pages/02.administer/60.extend/20.helpers/helpers.md index a7cb0340..9869ed97 100644 --- a/pages/02.administer/60.extend/20.helpers/helpers.md +++ b/pages/02.administer/60.extend/20.helpers/helpers.md @@ -1,5 +1,5 @@ --- title: App helpers template: docs -redirect: '/packaging_apps_helpers' +redirect: '/packaging_apps_scripts_helpers' --- diff --git a/pages/06.contribute/10.packaging_apps/80.resources/11.helpers/packaging_apps_helpers.md b/pages/06.contribute/10.packaging_apps/20.scripts/10.helpers/packaging_app_scripts_helpers.md similarity index 99% rename from pages/06.contribute/10.packaging_apps/80.resources/11.helpers/packaging_apps_helpers.md rename to pages/06.contribute/10.packaging_apps/20.scripts/10.helpers/packaging_app_scripts_helpers.md index 04c790da..5420003d 100644 --- a/pages/06.contribute/10.packaging_apps/80.resources/11.helpers/packaging_apps_helpers.md +++ b/pages/06.contribute/10.packaging_apps/20.scripts/10.helpers/packaging_app_scripts_helpers.md @@ -1,10 +1,12 @@ --- -title: App helpers +title: App scripts helpers template: docs taxonomy: category: docs routes: - default: '/packaging_apps_helpers' + default: '/packaging_apps_scripts_helpers' + aliases: + - '/packaging_apps_helpers' --- Doc auto-generated by [this script](https://github.com/YunoHost/yunohost/blob/7d0d82ae016ae3e7cdb06423b67678d7f7a5d9ca/doc/generate_helper_doc.py) on 11/04/2024 (YunoHost version 11.2.11.2) @@ -2680,6 +2682,3 @@ Requires YunoHost version 3.8.0 or higher. [Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/7d0d82ae016ae3e7cdb06423b67678d7f7a5d9ca/helpers/utils#L1027) [/details] - ---- - diff --git a/pages/06.contribute/10.packaging_apps/20.scripts/scripts.md b/pages/06.contribute/10.packaging_apps/20.scripts/scripts.md index 69910348..705a03ec 100644 --- a/pages/06.contribute/10.packaging_apps/20.scripts/scripts.md +++ b/pages/06.contribute/10.packaging_apps/20.scripts/scripts.md @@ -85,7 +85,7 @@ ynh_app_setting_set --app=$app --key=db_name --value=$db_name ## Helper system -We call helpers a set of custom bash function created by the YunoHost project to standardize common operations accross all apps. They are all prefixed with `ynh_`. The full list and documentation of these helpers is available on [this page](/packaging_apps_helpers). Some of these helpers are now partially obsolete as they are now handled by the core via app resources. +We call helpers a set of custom bash function created by the YunoHost project to standardize common operations accross all apps. They are all prefixed with `ynh_`. The full list and documentation of these helpers is available on [this page](/packaging_apps_scripts_helpers). Some of these helpers are now partially obsolete as they are now handled by the core via app resources. Here is the list of the major ones: From 7cd7ec8a90197a1590cce467b25827e0722d48a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sun, 30 Jul 2023 23:39:46 +0200 Subject: [PATCH 4/4] Move packaging_apps/resources/bash_tips/ to packaging_apps/scripts/bash_tips --- .../20.bash_tips/shell_variables_scope.fr.md | 0 .../20.bash_tips/shell_variables_scope.md | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename pages/06.contribute/10.packaging_apps/{80.resources => 20.scripts}/20.bash_tips/shell_variables_scope.fr.md (100%) rename pages/06.contribute/10.packaging_apps/{80.resources => 20.scripts}/20.bash_tips/shell_variables_scope.md (100%) diff --git a/pages/06.contribute/10.packaging_apps/80.resources/20.bash_tips/shell_variables_scope.fr.md b/pages/06.contribute/10.packaging_apps/20.scripts/20.bash_tips/shell_variables_scope.fr.md similarity index 100% rename from pages/06.contribute/10.packaging_apps/80.resources/20.bash_tips/shell_variables_scope.fr.md rename to pages/06.contribute/10.packaging_apps/20.scripts/20.bash_tips/shell_variables_scope.fr.md diff --git a/pages/06.contribute/10.packaging_apps/80.resources/20.bash_tips/shell_variables_scope.md b/pages/06.contribute/10.packaging_apps/20.scripts/20.bash_tips/shell_variables_scope.md similarity index 100% rename from pages/06.contribute/10.packaging_apps/80.resources/20.bash_tips/shell_variables_scope.md rename to pages/06.contribute/10.packaging_apps/20.scripts/20.bash_tips/shell_variables_scope.md