From dcea97f6ca059b659ecafef429b9ba423598a045 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 8 Aug 2022 16:48:32 +0000 Subject: [PATCH] [CI] Helper for debian/11.0.9 --- .../11.helpers/packaging_apps_helpers.md | 285 +++++++++--------- 1 file changed, 148 insertions(+), 137 deletions(-) diff --git a/pages/06.contribute/10.packaging_apps/11.helpers/packaging_apps_helpers.md b/pages/06.contribute/10.packaging_apps/11.helpers/packaging_apps_helpers.md index 610a14ec..f9fb6e0e 100644 --- a/pages/06.contribute/10.packaging_apps/11.helpers/packaging_apps_helpers.md +++ b/pages/06.contribute/10.packaging_apps/11.helpers/packaging_apps_helpers.md @@ -7,11 +7,44 @@ routes: default: '/packaging_apps_helpers' --- +Doc auto-generated by [this script](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/doc/generate_helper_doc.py) on 08/08/2022 (YunoHost version 11.0.9) -Doc auto-generated by [this script](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/doc/generate_helper_doc.py) on 03/29/2022 (YunoHost version 4.3.6.3) +## APPS + +#### ynh_install_apps +[details summary="Install others YunoHost apps" class="helper-card-subtitle text-muted"] + +**Usage**: `ynh_install_apps --apps="appfoo?domain=domain.foo&path=/foo appbar?domain=domain.bar&path=/bar&admin=USER&language=fr&is_public=1&pass?word=pass&port=666"` + +**Arguments**: +- `-a`, `--apps=`: apps to install + +**Details**:
+Requires YunoHost version *.*.* or higher. + + + +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/apps#L9) +[/details] +---------------- + +#### ynh_remove_apps +[details summary="Remove other YunoHost apps" class="helper-card-subtitle text-muted"] + +**Usage**: `ynh_remove_apps` + +**Details**:
+Other YunoHost apps will be removed only if no other apps need them. + +Requires YunoHost version *.*.* or higher. + + + +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/apps#L65) +[/details] +---------------- -!!! Tips: if you are not in an app script, you can use a lot of this helpers by running before `source /usr/share/yunohost/helpers ; app=custom` ## APT @@ -32,7 +65,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L53) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/apt#L53) [/details] ---------------- @@ -53,7 +86,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L75) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/apt#L75) [/details] ---------------- @@ -67,7 +100,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L107) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/apt#L107) [/details] ---------------- @@ -84,7 +117,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L117) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/apt#L117) [/details] ---------------- @@ -101,7 +134,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L128) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/apt#L128) [/details] ---------------- @@ -118,7 +151,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L138) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/apt#L138) [/details] ---------------- @@ -135,7 +168,7 @@ Requires YunoHost version 2.7.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L148) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/apt#L148) [/details] ---------------- @@ -157,7 +190,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L224) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/apt#L225) [/details] ---------------- @@ -174,7 +207,7 @@ Requires YunoHost version 3.8.1 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L369) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/apt#L336) [/details] ---------------- @@ -190,7 +223,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L388) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/apt#L355) [/details] ---------------- @@ -210,7 +243,7 @@ Requires YunoHost version 3.8.1 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L419) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/apt#L386) [/details] ---------------- @@ -227,7 +260,6 @@ Requires YunoHost version 3.8.1 or higher. - `-d`, `--dest_path=`: destination file or directory inside the backup dir - `-b`, `--is_big`: Indicate data are big (mail, video, image ...) - `-m`, `--not_mandatory`: Indicate that if the file is missing, the backup can ignore it. -- `arg`: Deprecated arg **Details**:
This helper can be used both in a system backup hook, and in an app backup script @@ -284,7 +316,7 @@ Requires YunoHost version 3.5.0 or higher for the argument `--not_mandatory` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/backup#L65) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/backup#L64) [/details] ---------------- @@ -298,7 +330,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/backup#L180) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/backup#L179) [/details] ---------------- @@ -331,7 +363,7 @@ Requires YunoHost version 2.6.4 or higher. Use the registered path in backup_list by ynh_backup to restore the file at the right place. If `DEST_PATH` already exists and is lighter than 500 Mo, a backup will be made in -`/home/yunohost.conf/backup/`. Otherwise, the existing file is removed. +`/var/cache/yunohost/appconfbackup/`. Otherwise, the existing file is removed. if `apps/$app/etc/nginx/conf.d/$domain.d/$app.conf` exists, restore it into `/etc/nginx/conf.d/$domain.d/$app.conf` @@ -343,7 +375,7 @@ Requires YunoHost version 3.5.0 or higher for the argument --not_mandatory -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/backup#L239) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/backup#L238) [/details] ---------------- @@ -362,7 +394,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/backup#L311) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/backup#L298) [/details] ---------------- @@ -384,7 +416,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/backup#L355) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/backup#L342) [/details] ---------------- @@ -403,7 +435,7 @@ Requires YunoHost version 3.3.1 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/backup#L386) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/backup#L373) [/details] ---------------- @@ -426,7 +458,7 @@ Requires YunoHost version 2.7.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/backup#L421) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/backup#L408) [/details] ---------------- @@ -449,7 +481,7 @@ Requires YunoHost version 2.7.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/backup#L469) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/backup#L456) [/details] ---------------- @@ -463,7 +495,7 @@ Requires YunoHost version 2.7.2 or higher. [details summary="Create a dedicated fail2ban config (jail and filter conf files)" class="helper-card-subtitle text-muted"] **Usage**: `1: ynh_add_fail2ban_config --logpath=log_file --failregex=filter [--max_retry=max_retry] [--ports=ports] -2: ynh_add_fail2ban_config --use_template [--others_var="list of others variables to replace"]` +2: ynh_add_fail2ban_config --use_template` **Arguments**: - `-l`, `--logpath=`: Log file to be checked by fail2ban @@ -471,7 +503,6 @@ Requires YunoHost version 2.7.2 or higher. - `-m`, `--max_retry=`: Maximum number of retries allowed before banning IP address - default: 3 - `-p`, `--ports=`: Ports blocked for a banned IP address - default: http,https - `-t`, `--use_template`: Use this helper in template mode -- `-v`, `--others_var=`: List of others variables to replace separeted by a space for example : 'var_1 var_2 ...' **Details**:
----------------------------------------------------------------------------- @@ -527,7 +558,7 @@ Requires YunoHost version 4.1.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/fail2ban#L65) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/fail2ban#L64) [/details] ---------------- @@ -541,7 +572,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/fail2ban#L124) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/fail2ban#L119) [/details] ---------------- @@ -569,7 +600,7 @@ Requires YunoHost version 3.8.1 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/hardware#L13) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/hardware#L13) [/details] ---------------- @@ -592,7 +623,7 @@ Requires YunoHost version 3.8.1 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/hardware#L75) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/hardware#L75) [/details] ---------------- @@ -613,7 +644,7 @@ Requires YunoHost version 2.4.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L10) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/logging#L10) [/details] ---------------- @@ -630,7 +661,7 @@ Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L30) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/logging#L30) [/details] ---------------- @@ -647,7 +678,7 @@ Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L56) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/logging#L56) [/details] ---------------- @@ -664,7 +695,7 @@ Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L73) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/logging#L73) [/details] ---------------- @@ -683,7 +714,7 @@ Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L92) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/logging#L92) [/details] ---------------- @@ -702,7 +733,7 @@ Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L113) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/logging#L113) [/details] ---------------- @@ -721,7 +752,7 @@ Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L134) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/logging#L134) [/details] ---------------- @@ -740,7 +771,7 @@ Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L155) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/logging#L155) [/details] ---------------- @@ -759,7 +790,7 @@ Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L176) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/logging#L176) [/details] ---------------- @@ -779,7 +810,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L237) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/logging#L237) [/details] ---------------- @@ -794,7 +825,7 @@ Requires YunoHost version 3.6.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L318) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/logging#L325) [/details] ---------------- @@ -823,7 +854,7 @@ Requires YunoHost version 3.2.0 or higher for the argument `--specific_user` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logrotate#L18) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/logrotate#L18) [/details] ---------------- @@ -837,7 +868,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logrotate#L100) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/logrotate#L100) [/details] ---------------- @@ -854,7 +885,7 @@ Requires YunoHost version 4.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/multimedia#L11) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/multimedia#L11) [/details] ---------------- @@ -874,7 +905,7 @@ Requires YunoHost version 4.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/multimedia#L64) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/multimedia#L64) [/details] ---------------- @@ -891,7 +922,7 @@ Requires YunoHost version 4.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/multimedia#L93) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/multimedia#L93) [/details] ---------------- @@ -924,7 +955,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/mysql#L15) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/mysql#L15) [/details] ---------------- @@ -942,7 +973,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/mysql#L36) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/mysql#L36) [/details] ---------------- @@ -960,7 +991,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/mysql#L60) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/mysql#L60) [/details] ---------------- @@ -981,7 +1012,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/mysql#L128) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/mysql#L128) [/details] ---------------- @@ -1000,7 +1031,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/mysql#L160) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/mysql#L160) [/details] ---------------- @@ -1022,7 +1053,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/mysql#L198) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/mysql#L198) [/details] ---------------- @@ -1040,7 +1071,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/mysql#L224) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/mysql#L224) [/details] ---------------- @@ -1064,7 +1095,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/network#L12) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/network#L12) [/details] ---------------- @@ -1085,7 +1116,7 @@ Requires YunoHost version 3.8.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/network#L36) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/network#L36) [/details] ---------------- @@ -1106,7 +1137,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/network#L99) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/network#L99) [/details] ---------------- @@ -1127,7 +1158,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/network#L119) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/network#L119) [/details] ---------------- @@ -1155,7 +1186,7 @@ Requires YunoHost version 4.1.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/nginx#L19) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/nginx#L19) [/details] ---------------- @@ -1169,7 +1200,7 @@ Requires YunoHost version 2.7.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/nginx#L39) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/nginx#L41) [/details] ---------------- @@ -1223,7 +1254,7 @@ Requires YunoHost version 2.7.12 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/nodejs#L73) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/nodejs#L74) [/details] ---------------- @@ -1247,7 +1278,7 @@ Requires YunoHost version 2.7.12 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/nodejs#L113) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/nodejs#L114) [/details] ---------------- @@ -1265,7 +1296,7 @@ Requires YunoHost version 2.7.12 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/nodejs#L190) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/nodejs#L191) [/details] ---------------- @@ -1338,7 +1369,7 @@ Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/permission#L66) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/permission#L66) [/details] ---------------- @@ -1357,7 +1388,7 @@ Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/permission#L152) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/permission#L152) [/details] ---------------- @@ -1375,7 +1406,7 @@ Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/permission#L169) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/permission#L169) [/details] ---------------- @@ -1398,7 +1429,7 @@ Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/permission#L192) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/permission#L192) [/details] ---------------- @@ -1421,7 +1452,7 @@ Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/permission#L260) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/permission#L260) [/details] ---------------- @@ -1442,7 +1473,7 @@ Requires YunoHost version 3.7.1 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/permission#L329) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/permission#L329) [/details] ---------------- @@ -1457,7 +1488,7 @@ Requires YunoHost version 4.1.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/permission#L359) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/permission#L359) [/details] ---------------- @@ -1468,7 +1499,7 @@ Requires YunoHost version 4.1.2 or higher. **Example**: `if ynh_legacy_permissions_exists then ynh_legacy_permissions_delete_all # You can recreate the required permissions here with ynh_permission_create fi Requires YunoHost version 4.1.2 or higher.` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/permission#L379) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/permission#L379) [/details] ---------------- @@ -1526,7 +1557,7 @@ Requires YunoHost version 4.1.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/php#L59) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/php#L59) [/details] ---------------- @@ -1540,7 +1571,7 @@ Requires YunoHost version 2.7.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/php#L250) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/php#L250) [/details] ---------------- @@ -1559,7 +1590,7 @@ Requires YunoHost version 4.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/php#L481) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/php#L483) [/details] ---------------- @@ -1579,7 +1610,7 @@ Requires YunoHost version 4.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/php#L507) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/php#L509) [/details] ---------------- @@ -1612,7 +1643,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/postgresql#L18) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/postgresql#L18) [/details] ---------------- @@ -1630,7 +1661,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/postgresql#L39) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/postgresql#L39) [/details] ---------------- @@ -1648,7 +1679,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/postgresql#L64) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/postgresql#L64) [/details] ---------------- @@ -1669,7 +1700,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/postgresql#L135) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/postgresql#L135) [/details] ---------------- @@ -1687,7 +1718,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/postgresql#L168) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/postgresql#L168) [/details] ---------------- @@ -1705,7 +1736,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/postgresql#L190) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/postgresql#L190) [/details] ---------------- @@ -1727,7 +1758,7 @@ Requires YunoHost version 2.7.13 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/postgresql#L228) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/postgresql#L228) [/details] ---------------- @@ -1745,24 +1776,7 @@ Requires YunoHost version 2.7.13 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/postgresql#L259) -[/details] ----------------- - -#### ynh_psql_test_if_first_run -[details summary="Create a master password and set up global settings" class="helper-card-subtitle text-muted"] - -**Usage**: `ynh_psql_test_if_first_run` - -**Details**:
-It also make sure that postgresql is installed and running -Please always call this script in install and restore scripts - -Requires YunoHost version 2.7.13 or higher. - - - -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/postgresql#L290) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/postgresql#L259) [/details] ---------------- @@ -1783,7 +1797,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/setting#L10) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/setting#L10) [/details] ---------------- @@ -1802,7 +1816,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/setting#L36) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/setting#L36) [/details] ---------------- @@ -1820,7 +1834,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/setting#L62) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/setting#L62) [/details] ---------------- @@ -1840,7 +1854,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/setting#L123) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/setting#L123) [/details] ---------------- @@ -1861,7 +1875,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/setting#L145) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/setting#L145) [/details] ---------------- @@ -1875,6 +1889,7 @@ Requires YunoHost version 2.6.4 or higher. **Arguments**: - `-l`, `--length=`: the string length to generate (default: 24) +- `-f`, `--filter=`: the kind of characters accepted in the output (default: 'A-Za-z0-9') **Returns**: the generated string @@ -1885,7 +1900,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/string#L12) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/string#L13) [/details] ---------------- @@ -1907,7 +1922,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/string#L37) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/string#L40) [/details] ---------------- @@ -1929,7 +1944,7 @@ Requires YunoHost version 2.7.7 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/string#L68) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/string#L71) [/details] ---------------- @@ -1952,7 +1967,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/string#L100) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/string#L103) [/details] ---------------- @@ -1978,7 +1993,7 @@ Requires YunoHost version 4.1.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/systemd#L15) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/systemd#L15) [/details] ---------------- @@ -1995,7 +2010,7 @@ Requires YunoHost version 2.7.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/systemd#L42) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/systemd#L38) [/details] ---------------- @@ -2017,7 +2032,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/systemd#L71) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/systemd#L67) [/details] ---------------- @@ -2041,7 +2056,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/user#L12) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/user#L12) [/details] ---------------- @@ -2056,14 +2071,14 @@ Requires YunoHost version 2.2.4 or higher. **Returns**: the value associate to that key -**Example**: `mail=$(ynh_user_get_info 'toto' 'mail')` +**Example**: `mail=$(ynh_user_get_info --username="toto" --key=mail)` **Details**:
Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/user#L33) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/user#L33) [/details] ---------------- @@ -2081,7 +2096,7 @@ Requires YunoHost version 2.4.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/user#L53) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/user#L53) [/details] ---------------- @@ -2100,7 +2115,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/user#L64) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/user#L64) [/details] ---------------- @@ -2119,7 +2134,7 @@ Requires YunoHost version 3.5.0.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/user#L82) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/user#L82) [/details] ---------------- @@ -2148,7 +2163,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/user#L111) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/user#L111) [/details] ---------------- @@ -2165,7 +2180,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/user#L153) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/user#L153) [/details] ---------------- @@ -2179,7 +2194,7 @@ Requires YunoHost version 4.1.7 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/user#L179) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/user#L179) [/details] ---------------- @@ -2200,7 +2215,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L58) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/utils#L58) [/details] ---------------- @@ -2249,7 +2264,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L102) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/utils#L102) [/details] ---------------- @@ -2275,7 +2290,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L263) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/utils#L263) [/details] ---------------- @@ -2291,11 +2306,7 @@ Requires YunoHost version 2.6.4 or higher. **Examples**: -- ` ynh_add_config --template=".env" --destination="$final_path/.env"` - - - -- ` ynh_add_config --template="../conf/.env" --destination="$final_path/.env"` +- ` ynh_add_config --template=".env" --destination="$final_path/.env" use the template file "../conf/.env"` @@ -2337,7 +2348,7 @@ Requires YunoHost version 4.1.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L348) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/utils#L347) [/details] ---------------- @@ -2381,7 +2392,7 @@ Requires YunoHost version 4.3 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L499) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/utils#L498) [/details] ---------------- @@ -2400,7 +2411,7 @@ Requires YunoHost version 4.3 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L576) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/utils#L575) [/details] ---------------- @@ -2416,7 +2427,7 @@ Requires YunoHost version 2.7.12 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L688) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/utils#L687) [/details] ---------------- @@ -2433,7 +2444,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L740) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/utils#L718) [/details] ---------------- @@ -2453,7 +2464,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L802) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/utils#L752) [/details] ---------------- @@ -2478,7 +2489,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L832) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/utils#L782) [/details] ---------------- @@ -2501,7 +2512,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L861) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/utils#L811) [/details] ---------------- @@ -2524,7 +2535,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L886) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/utils#L836) [/details] ---------------- @@ -2556,7 +2567,7 @@ Requires YunoHost version 3.8.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L916) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a9ed1ed7af94b3585ec2f2e43f49c93f2416110/helpers/utils#L866) [/details] ----------------