From 245818c79b846b1ccba49bd6cd5736cab5d833a2 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 23 Jun 2026 09:08:42 +0000 Subject: [PATCH] [CI] Update app helpers/resources for debian/13.0.5 --- docs/dev/50.packaging/15.resources.mdx | 9 +- .../20.scripts/20.helpers_v2.0.mdx | 197 ++++++++---------- .../20.scripts/20.helpers_v2.1.mdx | 184 ++++++++-------- docs/dev/80.core/forms.mdx | 2 +- 4 files changed, 181 insertions(+), 211 deletions(-) diff --git a/docs/dev/50.packaging/15.resources.mdx b/docs/dev/50.packaging/15.resources.mdx index 9431a8d737..633d308957 100644 --- a/docs/dev/50.packaging/15.resources.mdx +++ b/docs/dev/50.packaging/15.resources.mdx @@ -4,7 +4,7 @@ toc_max_heading_level: 2 # custom_edit_link: 'https://github.com/YunoHost/yunohost/blob/dev/src/utils/resources.py' --- -Doc auto-generated by [this script](https://github.com/YunoHost/doc/blob/8e6fc8404d42466b00ced76811e3ac61607097e4/scripts/resources_doc_generate.py) on 20/05/2026 (YunoHost version 12.1.40.1) +Doc auto-generated by [this script](https://github.com/YunoHost/doc/blob/a83b35a36f26d6f6c0b6dc626571b1022a6f55eb/scripts/resources_doc_generate.py) on 23/06/2026 (YunoHost version 13.0.5) ## Apt @@ -431,7 +431,6 @@ The infos are used by [this script](https://github.com/YunoHost/apps_tools/blob/ The script will rely on the code repo specified in `code` in the upstream section of the manifest. -##### Strategy The `autoupdate.strategy` is expected to be constructed like this: `latest__` You need to replace the `` in the strategy name by either `github`, `gitlab`, `gitea` or `forgejo`, as the autoupdater supports: @@ -448,13 +447,8 @@ And choose one strategy in the following ones: - `latest__tag` : look for the latest tag (by sorting tags and finding the "largest" version). Then using the corresponding tar.gz url. Tags containing `rc`, `beta`, `alpha`, `start` are ignored, and actually any tag which doesn't look like `x.y.z` or `vx.y.z` - `latest__commit` : will use the latest commit on GitHub, and the corresponding tarball. If this is used for the 'main' source, it will also assume that the version is YYYY.MM.DD corresponding to the date of the commit. -##### Specific branch -You might want the autoupdater to check a specific branch of the upstream repository. In this case, make use of the optional `branch` property, e.g. `autoupdate.branch = "other_branch_than_default"`. - -##### Upstream repository It is also possible to define `autoupdate.upstream` to use a different Git repository instead of the code repository from the upstream section of the manifest. This can be useful when, for example, the app uses other assets such as plugin from a different repository. -##### Regex to match upstream versioning If the upstream project provides non-standard tag or release names, you can fix this, with a regex with a matching group. For example, if tags look like `release-v4.1`, put: @@ -465,7 +459,6 @@ autoupdate.version_regex = "^release-v(.*)$" And the autoupdater will use the matched group (here: `4.1`) as the version. -##### Testing the autoupdate configuration locally You can make sure that your autoupdate strategy is working well immediately (without waiting for the next check on the infra) by doing the following: 1. Clone the apps_tools repository: `https://github.com/YunoHost/apps_tools` diff --git a/docs/dev/50.packaging/20.scripts/20.helpers_v2.0.mdx b/docs/dev/50.packaging/20.scripts/20.helpers_v2.0.mdx index 2b636a8e07..c69284db4a 100644 --- a/docs/dev/50.packaging/20.scripts/20.helpers_v2.0.mdx +++ b/docs/dev/50.packaging/20.scripts/20.helpers_v2.0.mdx @@ -4,7 +4,7 @@ toc_max_heading_level: 4 # custom_edit_link: 'https://github.com/YunoHost/yunohost/tree/dev/helpers/helpers.v2.d' --- -Doc auto-generated by [this script](https://github.com/YunoHost/doc/blob/8e6fc8404d42466b00ced76811e3ac61607097e4/scripts/helpers_doc_generate.py) on 20/05/2026 (YunoHost version 12.1.40.1) +Doc auto-generated by [this script](https://github.com/YunoHost/doc/blob/a83b35a36f26d6f6c0b6dc626571b1022a6f55eb/scripts/helpers_doc_generate.py) on 23/06/2026 (YunoHost version 13.0.5) ## Sources @@ -82,7 +82,7 @@ The helper will: Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/sources#L85) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/sources#L85) --- @@ -116,7 +116,7 @@ Requires YunoHost version 2.6.4 or higher. **Details**: Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/mysql#L33) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/mysql#L33)
@@ -132,7 +132,7 @@ Requires YunoHost version 2.2.4 or higher. **Details**: Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/mysql#L54) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/mysql#L54)
@@ -148,7 +148,7 @@ Requires YunoHost version 2.2.4 or higher. **Details**: Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/mysql#L78) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/mysql#L78)
@@ -160,14 +160,14 @@ Requires YunoHost version 2.2.4 or higher. - `-d`, `--database=`: the database name to dump -**Returns**: The mysqldump output +**Returns**: The mariadb-dump output **Example**: `ynh_mysql_dump_db --database=roundcube > ./dump.sql` **Details**: Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/mysql#L146) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/mysql#L146)
--- @@ -193,7 +193,7 @@ Requires YunoHost version 2.2.4 or higher. **Details**: Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/postgresql#L36) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/postgresql#L36)
@@ -209,7 +209,7 @@ Requires YunoHost version 3.5.0 or higher. **Details**: Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/postgresql#L57) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/postgresql#L57)
@@ -225,7 +225,7 @@ Requires YunoHost version 3.5.0 or higher. **Details**: Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/postgresql#L82) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/postgresql#L82)
@@ -244,7 +244,7 @@ Requires YunoHost version 3.5.0 or higher. **Details**: Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/postgresql#L153) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/postgresql#L153)
@@ -260,7 +260,7 @@ Requires YunoHost version 3.5.0 or higher. **Details**: Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/postgresql#L210) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/postgresql#L210)
--- @@ -285,7 +285,7 @@ example: ynh_mongo_exec --command="db.getMongo().getDBNames().indexOf(\" - `-c`, `--command=`: The command to evaluate - `-e`, `--eval`: Evaluate instead of execute the command. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/mongodb#L35) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/mongodb#L35)
@@ -301,7 +301,7 @@ example: ynh_mongo_exec --command="db.getMongo().getDBNames().indexOf(\" **Example**: `ynh_mongo_dump_db --database=wekan > ./dump.bson` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/mongodb#L144) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/mongodb#L144)
@@ -314,7 +314,7 @@ example: ynh_mongo_exec --command="db.getMongo().getDBNames().indexOf(\" - `-d`, `--database=`: The database for which to check existence -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/mongodb#L189) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/mongodb#L189)
@@ -328,7 +328,7 @@ example: ynh_mongo_exec --command="db.getMongo().getDBNames().indexOf(\" **Example**: `ynh_mongo_restore_db --database=wekan < ./dump.bson` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/mongodb#L212) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/mongodb#L212)
@@ -346,7 +346,7 @@ example: ynh_mongo_exec --command="db.getMongo().getDBNames().indexOf(\" After executing this helper, the password of the created database will be available in $db_pwd It will also be stored as "mongopwd" into the app settings. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/mongodb#L255) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/mongodb#L255)
@@ -359,7 +359,7 @@ It will also be stored as "mongopwd" into the app settings. - `-u`, `--db_user=`: Owner of the database - `-n`, `--db_name=`: Name of the database -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/mongodb#L283) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/mongodb#L283)
@@ -371,7 +371,7 @@ It will also be stored as "mongopwd" into the app settings. - `-m`, `--mongo_version=`: Version of MongoDB to install -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/mongodb#L308) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/mongodb#L308)
@@ -381,7 +381,7 @@ if MongoDB package as been removed **Usage**: `ynh_remove_mongo` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/mongodb#L351) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/mongodb#L351)
--- @@ -395,7 +395,7 @@ if MongoDB package as been removed **Returns**: the database number to use -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/redis#L25) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/redis#L25)
@@ -408,7 +408,7 @@ Please always call this script in install and restore scripts - `database`: the database to erase -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/redis#L52) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/redis#L52)
--- @@ -445,7 +445,6 @@ that should be defined before calling this helper : __NAME__ by $app __NAMETOCHANGE__ by $app __USER__ by $app - __FINALPATH__ by $final_path __PHPVERSION__ by $YNH_PHP_VERSION (packaging v1 only, packaging v2 uses phpversion setting implicitly set by apt resource) __YNH_NODE_LOAD_PATH__ by $ynh_node_load_PATH ``` @@ -477,7 +476,7 @@ into the app settings when configuration is done. Requires YunoHost version 4.1.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/templating#L74) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/templating#L73)
@@ -520,7 +519,7 @@ Example of line this helpers can managed correctly Requires YunoHost version 4.3 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/templating#L240) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/templating#L229)
@@ -538,7 +537,7 @@ Requires YunoHost version 4.3 or higher. **Details**: Requires YunoHost version 4.3 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/templating#L318) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/templating#L307)
--- @@ -564,7 +563,7 @@ location Requires YunoHost version 4.1.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/nginx#L37) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/nginx#L37)
@@ -575,7 +574,7 @@ Requires YunoHost version 4.1.0 or higher. **Details**: Requires YunoHost version 2.7.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/nginx#L64) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/nginx#L64)
@@ -586,7 +585,7 @@ Requires YunoHost version 2.7.2 or higher. **Details**: Requires YunoHost version 11.1.9 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/nginx#L74) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/nginx#L74)
--- @@ -658,7 +657,7 @@ Set as 'high', the process manager will be set at 'static'. There will be always Requires YunoHost version 4.1.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/php#L88) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/php#L88)
@@ -669,7 +668,7 @@ Requires YunoHost version 4.1.0 or higher. **Details**: Requires YunoHost version 2.7.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/php#L223) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/php#L219)
--- @@ -694,7 +693,7 @@ format and how placeholders are replaced with actual variables. Requires YunoHost version 4.1.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/systemd#L33) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/systemd#L33)
@@ -709,7 +708,7 @@ Requires YunoHost version 4.1.0 or higher. **Details**: Requires YunoHost version 2.7.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/systemd#L56) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/systemd#L56)
@@ -729,7 +728,7 @@ Requires YunoHost version 2.7.2 or higher. **Details**: Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/systemd#L85) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/systemd#L85)
--- @@ -796,7 +795,7 @@ fail2ban-regex /var/log/YOUR_LOG_FILE_PATH /etc/fail2ban/filter.d/YOUR_APP.conf Requires YunoHost version 4.1.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/fail2ban#L76) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/fail2ban#L76)
@@ -807,7 +806,7 @@ Requires YunoHost version 4.1.0 or higher. **Details**: Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/fail2ban#L148) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/fail2ban#L148)
--- @@ -830,7 +829,7 @@ If no `--logfile` is provided, `/var/log/$app` will be used as default. Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/logrotate#L33) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/logrotate#L33)
@@ -841,7 +840,7 @@ Requires YunoHost version 2.6.4 or higher. **Details**: Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/logrotate#L113) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/logrotate#L113)
--- @@ -871,7 +870,7 @@ For multiple calls, cookies are persisted between each call for the same app Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/utils#L106) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/utils#L106)
@@ -886,7 +885,7 @@ Requires YunoHost version 2.6.4 or higher. **Details**: Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/utils#L189) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/utils#L189)
@@ -904,7 +903,7 @@ Requires YunoHost version 2.6.4 or higher. **Details**: Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/utils#L223) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/utils#L223)
@@ -927,7 +926,7 @@ For example, if the manifest contains `4.3-2~ynh3` the function will return `4.3 Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/utils#L263) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/utils#L261)
@@ -943,7 +942,7 @@ of it, when it's not needed Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/utils#L315) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/utils#L288)
@@ -973,7 +972,7 @@ fi Requires YunoHost version 3.8.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/utils#L345) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/utils#L318)
@@ -992,7 +991,7 @@ Requires YunoHost version 3.8.0 or higher. **Details**: Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/utils#L422) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/utils#L395)
@@ -1012,7 +1011,7 @@ Requires YunoHost version 2.2.4 or higher. **Details**: Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/utils#L443) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/utils#L416)
@@ -1027,7 +1026,7 @@ Requires YunoHost version 2.2.4 or higher. **Details**: Requires YunoHost version 2.4.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/utils#L463) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/utils#L436)
--- @@ -1047,7 +1046,7 @@ Requires YunoHost version 2.4.0 or higher. **Details**: Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/setting#L28) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/setting#L28)
@@ -1067,7 +1066,7 @@ This is meant to allow sharing the logs while preserving confidential data, but Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/setting#L53) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/setting#L53)
@@ -1096,7 +1095,7 @@ fi Requires YunoHost version 11.1.16 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/setting#L88) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/setting#L88)
@@ -1112,7 +1111,7 @@ Requires YunoHost version 11.1.16 or higher. **Details**: Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/setting#L113) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/setting#L113)
--- @@ -1136,7 +1135,7 @@ Requires YunoHost version 2.2.4 or higher. **Details**: Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/string#L31) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/string#L31)
@@ -1156,7 +1155,7 @@ sub-expressions can be used (see sed manual page for more information) Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/string#L56) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/string#L56)
@@ -1176,7 +1175,7 @@ characters, you can't use some regular expressions and sub-expressions. Requires YunoHost version 2.7.7 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/string#L87) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/string#L87)
--- @@ -1248,7 +1247,7 @@ all backups for this app until the setting is removed. Requires YunoHost version 2.4.0 or higher. Requires YunoHost version 3.5.0 or higher for the argument `--not_mandatory` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/backup#L82) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/backup#L82)
@@ -1259,7 +1258,7 @@ Requires YunoHost version 3.5.0 or higher for the argument `--not_mandatory` **Details**: Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/backup#L197) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/backup#L197)
@@ -1293,7 +1292,7 @@ if no, search for a match in the csv (eg: conf/nginx.conf) and restore it into Requires YunoHost version 2.6.4 or higher. Requires YunoHost version 3.5.0 or higher for the argument --not_mandatory -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/backup#L256) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/backup#L256)
@@ -1310,7 +1309,7 @@ $app should be defined when calling this helper Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/backup#L323) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/backup#L323)
@@ -1330,7 +1329,7 @@ modified config files. Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/backup#L374) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/backup#L374)
@@ -1347,7 +1346,7 @@ $app should be defined when calling this helper Requires YunoHost version 3.3.1 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/backup#L413) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/backup#L413)
--- @@ -1367,7 +1366,7 @@ Requires YunoHost version 3.3.1 or higher. **Details**: Requires YunoHost version 2.4.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/logging#L28) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/logging#L28)
@@ -1382,7 +1381,7 @@ Requires YunoHost version 2.4.0 or higher. **Details**: Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/logging#L48) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/logging#L48)
@@ -1397,7 +1396,7 @@ Requires YunoHost version 3.2.0 or higher. **Details**: Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/logging#L74) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/logging#L74)
@@ -1412,7 +1411,7 @@ Requires YunoHost version 3.2.0 or higher. **Details**: Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/logging#L91) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/logging#L91)
@@ -1429,7 +1428,7 @@ Note that you should NOT quote the command but only prefix it with ynh_exec_err Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/logging#L110) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/logging#L110)
@@ -1446,7 +1445,7 @@ Note that you should NOT quote the command but only prefix it with ynh_exec_warn Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/logging#L130) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/logging#L130)
@@ -1463,7 +1462,7 @@ Note that you should NOT quote the command but only prefix it with ynh_exec_warn Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/logging#L150) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/logging#L150)
@@ -1480,7 +1479,7 @@ Note that you should NOT quote the command but only prefix it with ynh_exec_warn Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/logging#L170) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/logging#L170)
@@ -1497,7 +1496,7 @@ Note that you should NOT quote the command but only prefix it with ynh_exec_quie Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/logging#L190) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/logging#L190)
@@ -1514,7 +1513,7 @@ Note that you should NOT quote the command but only prefix it with ynh_exec_and_ Requires YunoHost version 11.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/logging#L210) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/logging#L210)
@@ -1532,7 +1531,7 @@ Requires YunoHost version 11.2 or higher. **Details**: Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/logging#L270) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/logging#L270)
@@ -1544,7 +1543,7 @@ Requires YunoHost version 3.5.0 or higher. **Details**: Requires YunoHost version 3.6.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/logging#L358) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/logging#L358)
--- @@ -1559,7 +1558,7 @@ Requires YunoHost version 3.6.0 or higher. **Details**: Requires YunoHost version 4.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/multimedia#L29) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/multimedia#L29)
@@ -1577,7 +1576,7 @@ This "directory" will be a symbolic link to a existing directory. Requires YunoHost version 4.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/multimedia#L90) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/multimedia#L90)
@@ -1592,7 +1591,7 @@ Requires YunoHost version 4.2 or higher. **Details**: Requires YunoHost version 4.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/multimedia#L119) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/multimedia#L119)
--- @@ -1665,7 +1664,7 @@ See https://github.com/YunoHost/issues/issues/1420 for more informations Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/permission#L83) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/permission#L83)
@@ -1682,7 +1681,7 @@ Requires YunoHost version 3.7.0 or higher. **Details**: Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/permission#L161) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/permission#L161)
@@ -1698,7 +1697,7 @@ Requires YunoHost version 3.7.0 or higher. **Details**: Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/permission#L178) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/permission#L178)
@@ -1719,7 +1718,7 @@ Requires YunoHost version 3.7.0 or higher. **Details**: Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/permission#L201) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/permission#L201)
@@ -1739,7 +1738,7 @@ Requires YunoHost version 3.7.0 or higher. **Details**: Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/permission#L268) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/permission#L268)
@@ -1758,29 +1757,7 @@ Requires YunoHost version 3.7.0 or higher. **Details**: Requires YunoHost version 3.7.1 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/permission#L331) -
- -
-`ynh_legacy_permissions_exists`
Check if a legacy permissions exist
- -**Usage**: `ynh_legacy_permissions_exists -| exit: Return 1 if the permission doesn't exist, 0 otherwise` - -**Details**: -Requires YunoHost version 4.1.2 or higher. - -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/permission#L361) -
- -
-`ynh_legacy_permissions_delete_all`
Remove all legacy permissions
- -**Usage**: `ynh_legacy_permissions_delete_all` - -**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/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/permission#L381) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/permission#L331)
--- @@ -1803,7 +1780,7 @@ Requires YunoHost version 4.1.2 or higher. **Details**: Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/apt#L71) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/apt#L71)
@@ -1823,7 +1800,7 @@ example : ynh_install_app_dependencies dep1 dep2 "dep3|dep4|dep5" Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/apt#L257) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/apt#L257)
@@ -1836,7 +1813,7 @@ Dependencies will removed only if no other package need them. Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/apt#L386) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/apt#L386)
@@ -1854,7 +1831,7 @@ Requires YunoHost version 2.6.4 or higher. **Details**: Requires YunoHost version 3.8.1 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/apt#L418) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/apt#L418)
--- @@ -1885,7 +1862,7 @@ ynh_system_user_create --username=discourse --home_dir=/var/www/discourse --use_ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/systemuser#L79) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/systemuser#L79)
@@ -1900,7 +1877,7 @@ Requires YunoHost version 2.6.4 or higher. **Details**: Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/systemuser#L121) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/systemuser#L121)
@@ -1911,7 +1888,7 @@ Requires YunoHost version 2.6.4 or higher. **Details**: Requires YunoHost version 4.1.7 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v1.d/systemuser#L147) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v1.d/systemuser#L147)
--- diff --git a/docs/dev/50.packaging/20.scripts/20.helpers_v2.1.mdx b/docs/dev/50.packaging/20.scripts/20.helpers_v2.1.mdx index e274a4e9c9..4329a80660 100644 --- a/docs/dev/50.packaging/20.scripts/20.helpers_v2.1.mdx +++ b/docs/dev/50.packaging/20.scripts/20.helpers_v2.1.mdx @@ -4,7 +4,7 @@ toc_max_heading_level: 4 # custom_edit_link: 'https://github.com/YunoHost/yunohost/tree/dev/helpers/helpers.v2.1.d' --- -Doc auto-generated by [this script](https://github.com/YunoHost/doc/blob/8e6fc8404d42466b00ced76811e3ac61607097e4/scripts/helpers_doc_generate.py) on 20/05/2026 (YunoHost version 12.1.40.1) +Doc auto-generated by [this script](https://github.com/YunoHost/doc/blob/a83b35a36f26d6f6c0b6dc626571b1022a6f55eb/scripts/helpers_doc_generate.py) on 23/06/2026 (YunoHost version 13.0.5) ## Sources @@ -80,7 +80,7 @@ The helper will: - Patches named `patches/${src_id}/*.patch` will be applied to `$dest_dir` - Apply sane default permissions (see _ynh_apply_default_permissions) -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/sources#L83) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/sources#L83) --- @@ -105,7 +105,7 @@ The helper will: - `ynh_mysql_db_shell $db_name <<< "UPDATE ...;"` - `ynh_mysql_db_shell < /path/to/file.sql` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/mysql#L30) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/mysql#L30)
@@ -117,11 +117,11 @@ The helper will: - `database`: the database name to dump (by default, $db_name) -**Returns**: The mysqldump output +**Returns**: The mariadb-dump output **Example**: `ynh_mysql_dump_db "roundcube" > ./dump.sql` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/mysql#L92) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/mysql#L92)
--- @@ -142,7 +142,7 @@ The helper will: - `ynh_psql_db_shell $db_name <<< "UPDATE ...;"` - `ynh_psql_db_shell < /path/to/file.sql` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/postgresql#L34) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/postgresql#L34)
@@ -158,7 +158,7 @@ The helper will: **Example**: `ynh_psql_dump_db 'roundcube' > ./dump.sql` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/postgresql#L89) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/postgresql#L89)
--- @@ -177,7 +177,7 @@ The helper will: **Example**: `ynh_mongo_exec --command='db.getMongo().getDBNames().indexOf("wekan")' example: ynh_mongo_exec --command="db.getMongo().getDBNames().indexOf(\"wekan\")"` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/mongodb#L31) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/mongodb#L31)
@@ -193,7 +193,7 @@ The helper will: **Example**: `ynh_mongo_dump_db --database=wekan > ./dump.bson` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/mongodb#L81) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/mongodb#L81)
@@ -206,7 +206,7 @@ The helper will: - `--database=`: The database for which to check existence -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/mongodb#L124) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/mongodb#L124)
@@ -220,7 +220,7 @@ The helper will: **Example**: `ynh_mongo_restore_db --database=wekan < ./dump.bson` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/mongodb#L146) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/mongodb#L146)
@@ -238,7 +238,7 @@ The helper will: After executing this helper, the password of the created database will be available in $db_pwd It will also be stored as "mongopwd" into the app settings. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/mongodb#L187) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/mongodb#L187)
@@ -251,7 +251,7 @@ It will also be stored as "mongopwd" into the app settings. - `--db_user=`: Owner of the database - `--db_name=`: Name of the database -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/mongodb#L214) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/mongodb#L214)
@@ -262,7 +262,7 @@ It will also be stored as "mongopwd" into the app settings. **Details**: The installed version is defined by $mongo_version which should be defined as global prior to calling this helper -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/mongodb#L238) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/mongodb#L238)
@@ -272,7 +272,7 @@ if MongoDB package as been removed **Usage**: `ynh_remove_mongo` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/mongodb#L279) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/mongodb#L292)
--- @@ -286,7 +286,7 @@ if MongoDB package as been removed **Returns**: the database number to use -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/redis#L25) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/redis#L25)
@@ -298,7 +298,7 @@ if MongoDB package as been removed - `database`: the database to erase -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/redis#L51) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/redis#L51)
--- @@ -379,7 +379,7 @@ if it's different before applying the new template. And it will calculate and store the destination file checksum into the app settings when configuration is done. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/templating#L86) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/templating#L86)
@@ -423,7 +423,7 @@ Example of line this helpers can managed correctly CUSTOM['user'] = 'YunoHost' ``` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/templating#L224) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/templating#L224)
@@ -443,7 +443,7 @@ This helpers replaces several var affectation use case in several languages We don't use jq or equivalent to keep comments and blank space in files This helpers works line by line, and is not made to replace a type by another. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/templating#L304) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/templating#L304)
--- @@ -468,7 +468,7 @@ Additionally, ynh_config_add_nginx will replace: This allows to enable/disable specific behaviors dependenging on the install location -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/nginx#L36) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/nginx#L36)
@@ -476,7 +476,7 @@ location **Usage**: `ynh_config_remove_nginx` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/nginx#L61) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/nginx#L61)
@@ -484,7 +484,7 @@ location **Usage**: `ynh_config_change_url_nginx` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/nginx#L69) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/nginx#L69)
--- @@ -537,7 +537,7 @@ Check PHP-FPM's manual for more info on what these are (: ... - `$php_min_spare_servers` - `$php_max_spare_servers` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/php#L68) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/php#L68)
@@ -545,7 +545,7 @@ Check PHP-FPM's manual for more info on what these are (: ... **Usage**: `ynh_config_remove_phpfpm` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/php#L144) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/php#L144)
--- @@ -569,7 +569,7 @@ This will use the template `../conf/`. See the documentation of `ynh_config_add` for a description of the template format and how placeholders are replaced with actual variables. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/systemd#L32) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/systemd#L32)
@@ -581,7 +581,7 @@ format and how placeholders are replaced with actual variables. - `service`: Service name (optional, $app by default) -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/systemd#L58) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/systemd#L58)
@@ -599,7 +599,7 @@ format and how placeholders are replaced with actual variables. - `--timeout=`: Timeout - The maximum time to wait before ending the watching. Default : 60 seconds. - `--length=`: Length of the error log displayed for debugging : Default : 20 -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/systemd#L84) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/systemd#L84)
--- @@ -663,7 +663,7 @@ To validate your regex you can test with this command: fail2ban-regex /var/log/YOUR_LOG_FILE_PATH /etc/fail2ban/filter.d/YOUR_APP.conf ``` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/fail2ban#L72) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/fail2ban#L72)
@@ -671,7 +671,7 @@ fail2ban-regex /var/log/YOUR_LOG_FILE_PATH /etc/fail2ban/filter.d/YOUR_APP.conf **Usage**: `ynh_config_remove_fail2ban` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/fail2ban#L134) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/fail2ban#L134)
--- @@ -689,7 +689,7 @@ If not argument is provided, `/var/log/$app/*.log` is used as default. The configuration is autogenerated by YunoHost (ie it doesnt come from a specific app template like nginx or systemd conf) -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/logrotate#L31) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/logrotate#L31)
@@ -697,7 +697,7 @@ The configuration is autogenerated by YunoHost **Usage**: `` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/logrotate#L87) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/logrotate#L87)
--- @@ -714,7 +714,7 @@ The configuration is autogenerated by YunoHost **Details**: Note that the $PATH variable is preserved (using env PATH=$PATH) -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/0-utils#L76) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/0-utils#L76)
@@ -736,7 +736,7 @@ For multiple calls, cookies are persisted between each call for the same app `$domain` and `$path` should be defined externally (and correspond to the domain.tld and the /path (of the app?)) -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/0-utils#L97) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/0-utils#L97)
@@ -744,7 +744,7 @@ For multiple calls, cookies are persisted between each call for the same app **Usage**: `ynh_safe_rm path_to_remove` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/0-utils#L177) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/0-utils#L177)
@@ -758,7 +758,7 @@ For multiple calls, cookies are persisted between each call for the same app **Returns**: the value associate to that key -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/0-utils#L203) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/0-utils#L203)
@@ -771,7 +771,7 @@ For multiple calls, cookies are persisted between each call for the same app **Details**: For example, if the manifest contains `4.3-2~ynh3` the function will return `4.3-2` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/0-utils#L213) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/0-utils#L213)
@@ -779,7 +779,7 @@ For example, if the manifest contains `4.3-2~ynh3` the function will return `4.3 **Usage**: `if ynh_app_upstream_version_changed; then ...` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/0-utils#L220) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/0-utils#L220)
@@ -789,7 +789,7 @@ For example, if the manifest contains `4.3-2~ynh3` the function will return `4.3 **Example**: `if ynh_app_upgrading_from_version_before 2.3.2~ynh1; then ...` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/0-utils#L228) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/0-utils#L228)
@@ -799,7 +799,7 @@ For example, if the manifest contains `4.3-2~ynh3` the function will return `4.3 **Example**: `if ynh_app_upgrading_from_version_before_or_equal_to 2.3.2~ynh1; then ...` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/0-utils#L238) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/0-utils#L238)
@@ -811,7 +811,7 @@ For example, if the manifest contains `4.3-2~ynh3` the function will return `4.3 **Example**: `ynh_validate_ip 4 111.222.333.444` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/0-utils#L318) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/0-utils#L318)
@@ -822,7 +822,7 @@ For example, if the manifest contains `4.3-2~ynh3` the function will return `4.3 **Details**: Return 0 if in CI, 1 otherwise -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/0-utils#L382) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/0-utils#L382)
@@ -839,7 +839,7 @@ Return 0 if in CI, 1 otherwise **Example**: `mail=$(ynh_user_get_info --username="toto" --key=mail)` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/0-utils#L394) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/0-utils#L394)
@@ -851,7 +851,7 @@ Return 0 if in CI, 1 otherwise **Example**: `for u in $(ynh_user_list); do ... ; done` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/0-utils#L411) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/0-utils#L411)
@@ -869,7 +869,7 @@ The spawned shell will have environment variables loaded and environment files s from the app's service configuration file (defaults to $app.service, overridable by the packager with `service` setting). If the app relies on a specific PHP version, then `php` will be aliased that version. The PHP command will also be appended with the `phpflags` settings. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/0-utils#L426) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/0-utils#L426)
@@ -881,7 +881,7 @@ If the app relies on a specific PHP version, then `php` will be aliased that ver - `-s`, `--size=`: Amount of SWAP to add in Mb. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/0-utils#L494) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/0-utils#L494)
@@ -889,7 +889,7 @@ If the app relies on a specific PHP version, then `php` will be aliased that ver **Usage**: `ynh_del_swap` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/0-utils#L560) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/0-utils#L560)
@@ -901,7 +901,7 @@ If the app relies on a specific PHP version, then `php` will be aliased that ver - `-s`, `--min_size=`: Minimal size needed for the temporary directory, in Mb -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/0-utils#L597) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/0-utils#L597)
--- @@ -918,7 +918,7 @@ If the app relies on a specific PHP version, then `php` will be aliased that ver - `--app=`: the application id (global $app by default) - `--key=`: the setting to get -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/setting#L26) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/setting#L26)
@@ -936,7 +936,7 @@ If the app relies on a specific PHP version, then `php` will be aliased that ver When choosing the setting key's name, note that including the following keywords will make the associated setting's value appear masked in the debug logs (cf. [related code](https://github.com/YunoHost/yunohost/blob/216210d5e97070b85c96ebb4548c6abf36987771/src/log.py#L571)): `pwd`, `pass`, `passwd`, `password`, `passphrase`, `secret\w*` (regex), `\w+key` (regex), `token`, `PASSPHRASE` This is meant to allow sharing the logs while preserving confidential data, but having this in mind is useful would you expect to see those values while debugging your scripts. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/setting#L48) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/setting#L48)
@@ -963,7 +963,7 @@ then fi ``` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/setting#L80) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/setting#L80)
@@ -976,7 +976,7 @@ fi - `--app=`: the application id (global $app by default) - `--key=`: the setting to delete -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/setting#L102) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/setting#L102)
--- @@ -997,7 +997,7 @@ fi **Example**: `pwd=$(ynh_string_random --length=8)` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/string#L29) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/string#L29)
@@ -1017,7 +1017,7 @@ sub-expressions can be used (see sed manual page for more information). In parti for back-references, as in sed without specific options, you will need to escape the parentheses of the capture group. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/string#L53) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/string#L53)
@@ -1035,7 +1035,7 @@ the parentheses of the capture group. This helper will use ynh_replace, but as you can use special characters, you can't use some regular expressions and sub-expressions. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/string#L81) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/string#L81)
@@ -1055,7 +1055,7 @@ characters, you can't use some regular expressions and sub-expressions. Handle the slash at the beginning of path and its absence at ending Return a normalized url path -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/string#L136) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/string#L136)
--- @@ -1083,7 +1083,7 @@ should NOT) be deleted during remove, unless --purge is used. Hence, if the upgrade fails and the script is removed prior to restoring the backup, the data/logs are not destroyed. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/backup#L42) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/backup#L42)
@@ -1105,7 +1105,7 @@ if `apps/$app/etc/nginx/conf.d/$domain.d/$app.conf` exists, restore it into otheriwse, search for a match in the csv (eg: conf/nginx.conf) and restore it into `/etc/nginx/conf.d/$domain.d/$app.conf` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/backup#L147) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/backup#L147)
@@ -1113,7 +1113,7 @@ otheriwse, search for a match in the csv (eg: conf/nginx.conf) and restore it in **Usage**: `ynh_restore_everything` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/backup#L204) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/backup#L204)
@@ -1121,7 +1121,7 @@ otheriwse, search for a match in the csv (eg: conf/nginx.conf) and restore it in **Usage**: `ynh_store_file_checksum /path/to/file` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/backup#L226) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/backup#L226)
@@ -1133,7 +1133,7 @@ otheriwse, search for a match in the csv (eg: conf/nginx.conf) and restore it in This helper is primarily meant to allow to easily backup personalised/manually modified config files. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/backup#L257) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/backup#L257)
@@ -1141,7 +1141,7 @@ modified config files. **Usage**: `ynh_delete_file_checksum /path/to/file` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/backup#L287) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/backup#L287)
--- @@ -1153,7 +1153,7 @@ modified config files. **Usage**: `ynh_die "Some message"` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/logging#L24) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/logging#L24)
@@ -1161,7 +1161,7 @@ modified config files. **Usage**: `ynh_print_info "Some message"` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/logging#L38) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/logging#L38)
@@ -1169,7 +1169,7 @@ modified config files. **Usage**: `ynh_print_warn "Some message"` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/logging#L45) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/logging#L45)
@@ -1181,7 +1181,7 @@ modified config files. - `command`: command to execute -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/logging#L54) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/logging#L54)
@@ -1196,7 +1196,7 @@ modified config files. **Details**: Note that you should NOT quote the command but only prefix it with ynh_exec_and_print_stderr_only_if_error -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/logging#L65) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/logging#L65)
@@ -1204,7 +1204,7 @@ Note that you should NOT quote the command but only prefix it with ynh_exec_and_ **Usage**: `ynh_return somedata` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/logging#L80) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/logging#L80)
@@ -1212,7 +1212,7 @@ Note that you should NOT quote the command but only prefix it with ynh_exec_and_ **Usage**: `ynh_script_progression "Some message"` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/logging#L98) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/logging#L98)
--- @@ -1224,7 +1224,7 @@ Note that you should NOT quote the command but only prefix it with ynh_exec_and_ **Usage**: `ynh_multimedia_build_main_dir` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/multimedia#L27) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/multimedia#L27)
@@ -1240,7 +1240,7 @@ Note that you should NOT quote the command but only prefix it with ynh_exec_and_ **Details**: This "directory" will be a symbolic link to a existing directory. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/multimedia#L86) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/multimedia#L86)
@@ -1252,7 +1252,7 @@ This "directory" will be a symbolic link to a existing directory. - `user_name`: The name of the user which gain this access. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/multimedia#L112) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/multimedia#L112)
--- @@ -1272,7 +1272,7 @@ This "directory" will be a symbolic link to a existing directory. **Example**: `ynh_permission_delete --permission=editors` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/permission#L158) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/permission#L158)
@@ -1285,7 +1285,7 @@ This "directory" will be a symbolic link to a existing directory. - `--permission=`: the permission to check -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/permission#L173) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/permission#L173)
@@ -1303,7 +1303,7 @@ This "directory" will be a symbolic link to a existing directory. - `--auth_header=`: (optional) Define for the URL of this permission, if SSOwat pass the authentication header to the application - `--clear_urls`: (optional) Clean all urls (url and additional_urls) -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/permission#L194) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/permission#L194)
@@ -1317,7 +1317,7 @@ This "directory" will be a symbolic link to a existing directory. - `--add=`: the list of group or users to enable add to the permission - `--remove=`: the list of group or users to remove from the permission -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/permission#L257) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/permission#L257)
@@ -1333,7 +1333,7 @@ This "directory" will be a symbolic link to a existing directory. **Example**: `ynh_permission_has_user --permission=main --user=visitors` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/permission#L298) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/permission#L298)
--- @@ -1353,7 +1353,7 @@ This "directory" will be a symbolic link to a existing directory. **Details**: example : ynh_apt_install_dependencies dep1 dep2 "dep3|dep4|dep5" -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/apt#L31) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/apt#L31)
@@ -1364,7 +1364,7 @@ example : ynh_apt_install_dependencies dep1 dep2 "dep3|dep4|dep5" **Details**: Dependencies will removed only if no other package need them. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/apt#L177) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/apt#L177)
@@ -1378,7 +1378,7 @@ Dependencies will removed only if no other package need them. - `--package=`: The packages to install from this extra repository - `--key=`: url to get the public key. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/apt#L207) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/apt#L207)
--- @@ -1396,7 +1396,7 @@ Dependencies will removed only if no other package need them. **Returns**: 0 if the user exists, 1 otherwise. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/systemuser#L26) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/systemuser#L26)
@@ -1410,7 +1410,7 @@ Dependencies will removed only if no other package need them. **Returns**: 0 if the group exists, 1 otherwise. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/systemuser#L41) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/systemuser#L41)
@@ -1438,7 +1438,7 @@ Create a discourse user using /var/www/discourse as home directory and the defau ynh_system_user_create --username=discourse --home_dir=/var/www/discourse --use_shell ``` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/systemuser#L70) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/systemuser#L70)
@@ -1450,7 +1450,7 @@ ynh_system_user_create --username=discourse --home_dir=/var/www/discourse --use_ - `--username=`: Name of the system user that will be create -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/systemuser#L108) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/systemuser#L108)
--- @@ -1474,7 +1474,7 @@ is preserved when calling ynh_exec_as_app). Also defines: - `$path_with_nodejs` to be used in the systemd config (`Environment="PATH=__PATH_WITH_NODEJS__"`) - `$nodejs_dir`, the directory containing the specific version of nodejs, which may be used in the systemd config too (e.g. `ExecStart=__NODEJS_DIR__/node foo bar`) -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/nodejs#L73) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/nodejs#L73)
@@ -1488,7 +1488,7 @@ This helper will check if another app uses the same version of node. - If not, this version of node will be removed. - If no other app uses node, n will be also removed. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/nodejs#L107) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/nodejs#L107)
--- @@ -1509,7 +1509,7 @@ is preserved when calling ynh_exec_as_app). Also defines: - `$path_with_ruby` to be used in the systemd config (`Environment="PATH=__PATH_WITH_RUBY__"`) - `$ruby_dir`, the directory containing the specific version of ruby, which may be used in the systemd config too (e.g. `ExecStart=__RUBY_DIR__/ruby foo bar`) -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/ruby#L68) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/ruby#L68)
@@ -1520,7 +1520,7 @@ is preserved when calling ynh_exec_as_app). Also defines: **Details**: This helper will also cleanup unused Ruby versions -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/ruby#L110) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/ruby#L110)
--- @@ -1541,7 +1541,7 @@ is preserved when calling `ynh_exec_as_app`). Also defines: - `$path_with_go` (the value of the modified `$PATH`, but you dont really need it?) - `$go_dir` (the directory containing the specific go version) -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/go#L68) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/go#L68)
@@ -1552,7 +1552,7 @@ is preserved when calling `ynh_exec_as_app`). Also defines: **Details**: This helper will also cleanup Go versions -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/go#L99) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/go#L99)
--- @@ -1570,7 +1570,7 @@ as global prior to calling this helper. Will use `$install_dir` as workdir unless `$composer_workdir` exists (but that shouldnt be necessary) -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/composer#L29) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/composer#L29)
@@ -1584,7 +1584,7 @@ Will use `$install_dir` as workdir unless `$composer_workdir` exists (but that s You may also define `composer_user=root` prior to call this helper if you absolutely need composer to run as root, but this is discouraged... -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/57eb73fac3a865a7d6b666ee0e067b7e6d3b1496/helpers/helpers.v2.1.d/composer#L55) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8fba3ba041bc4f9fe5942ecb3b10c49e488562d6/helpers/helpers.v2.1.d/composer#L55)
--- diff --git a/docs/dev/80.core/forms.mdx b/docs/dev/80.core/forms.mdx index 1c59955d17..f4ce7de8f7 100644 --- a/docs/dev/80.core/forms.mdx +++ b/docs/dev/80.core/forms.mdx @@ -2,7 +2,7 @@ title: Technical details for config panel structure and form option types --- -Doc auto-generated by [this script](https://github.com/YunoHost/doc/blob/8e6fc8404d42466b00ced76811e3ac61607097e4/scripts/forms_doc_generate.py) on 20/05/2026 (YunoHost version 12.1.40.1) +Doc auto-generated by [this script](https://github.com/YunoHost/doc/blob/a83b35a36f26d6f6c0b6dc626571b1022a6f55eb/scripts/forms_doc_generate.py) on 23/06/2026 (YunoHost version 13.0.5) ## Glossary