diff --git a/pages/06.contribute/10.packaging_apps/10.manifest/10.appresources/packaging_app_manifest_resources.md b/pages/06.contribute/10.packaging_apps/10.manifest/10.appresources/packaging_app_manifest_resources.md index 454aeb96..f6e77328 100644 --- a/pages/06.contribute/10.packaging_apps/10.manifest/10.appresources/packaging_app_manifest_resources.md +++ b/pages/06.contribute/10.packaging_apps/10.manifest/10.appresources/packaging_app_manifest_resources.md @@ -7,7 +7,7 @@ routes: default: '/packaging_apps_resources' --- -Doc auto-generated by [this script](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/doc/generate_resource_doc.py) on 25/06/2024 (YunoHost version 11.2.17.1) +Doc auto-generated by [this script](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/doc/generate_resource_doc.py) on 29/06/2024 (YunoHost version 11.2.18) --- diff --git a/pages/06.contribute/10.packaging_apps/20.scripts/10.helpers/packaging_app_scripts_helpers.md b/pages/06.contribute/10.packaging_apps/20.scripts/10.helpers/packaging_app_scripts_helpers.md index c49c47d6..ad549fe0 100644 --- a/pages/06.contribute/10.packaging_apps/20.scripts/10.helpers/packaging_app_scripts_helpers.md +++ b/pages/06.contribute/10.packaging_apps/20.scripts/10.helpers/packaging_app_scripts_helpers.md @@ -7,7 +7,7 @@ routes: default: '/packaging_apps_helpers' --- -Doc auto-generated by [this script](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/doc/generate_helper_doc.py) on 25/06/2024 (YunoHost version 11.2.17.1) +Doc auto-generated by [this script](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/doc/generate_helper_doc.py) on 29/06/2024 (YunoHost version 11.2.18) @@ -90,7 +90,7 @@ The helper will: Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/sources#L67) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/sources#L67) [/details] --- @@ -151,7 +151,7 @@ You will replace __YNH_NODE__ with $ynh_node Requires YunoHost version 2.7.12 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/nodejs#L52) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/nodejs#L52) [/details] #### ynh_install_nodejs @@ -174,7 +174,7 @@ Refer to `ynh_use_nodejs` for more information about available commands and vari Requires YunoHost version 2.7.12 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/nodejs#L94) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/nodejs#L94) [/details] #### ynh_remove_nodejs @@ -191,7 +191,7 @@ This helper will check if another app uses the same version of node. Requires YunoHost version 2.7.12 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/nodejs#L164) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/nodejs#L164) [/details] --- @@ -240,7 +240,7 @@ one other variable is also available Requires YunoHost version 3.2.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/ruby#L53) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/ruby#L53) [/details] #### ynh_install_ruby @@ -266,7 +266,7 @@ to rbenv shims (e.g. $RBENV_ROOT/shims/bundle) Requires YunoHost version 3.2.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/ruby#L98) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/ruby#L98) [/details] #### ynh_remove_ruby @@ -279,7 +279,7 @@ Requires YunoHost version 3.2.2 or higher. This helper will also cleanup Ruby versions -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/ruby#L240) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/ruby#L240) [/details] #### ynh_cleanup_ruby @@ -294,7 +294,7 @@ and uninstall them If no app uses Ruby, rbenv will be also removed. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/ruby#L265) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/ruby#L265) [/details] --- @@ -343,7 +343,7 @@ one other variable is also available Requires YunoHost version 3.2.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/go#L54) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/go#L54) [/details] #### ynh_install_go @@ -369,7 +369,7 @@ to goenv shims (e.g. $goenv_ROOT/shims/bundle) Requires YunoHost version 3.2.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/go#L96) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/go#L96) [/details] #### ynh_remove_go @@ -382,7 +382,7 @@ Requires YunoHost version 3.2.2 or higher. This helper will also cleanup Go versions -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/go#L185) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/go#L185) [/details] #### ynh_cleanup_go @@ -397,7 +397,7 @@ and uninstall them If no app uses Go, goenv will be also removed. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/go#L208) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/go#L208) [/details] --- @@ -420,7 +420,7 @@ If no app uses Go, goenv will be also removed. Requires YunoHost version 4.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/composer#L16) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/composer#L16) [/details] #### ynh_install_composer @@ -439,7 +439,7 @@ Requires YunoHost version 4.2 or higher. Requires YunoHost version 4.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/composer#L48) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/composer#L48) [/details] --- @@ -479,7 +479,7 @@ Requires YunoHost version 4.2 or higher. Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/mysql#L15) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/mysql#L15) [/details] #### ynh_mysql_execute_as_root @@ -496,7 +496,7 @@ Requires YunoHost version 2.2.4 or higher. Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/mysql#L36) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/mysql#L36) [/details] #### ynh_mysql_execute_file_as_root @@ -513,7 +513,7 @@ Requires YunoHost version 2.2.4 or higher. Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/mysql#L60) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/mysql#L60) [/details] #### ynh_mysql_dump_db @@ -533,7 +533,7 @@ Requires YunoHost version 2.2.4 or higher. Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/mysql#L128) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/mysql#L128) [/details] --- @@ -567,7 +567,7 @@ Requires YunoHost version 2.2.4 or higher. Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/postgresql#L18) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/postgresql#L18) [/details] #### ynh_psql_execute_as_root @@ -584,7 +584,7 @@ Requires YunoHost version 3.5.0 or higher. Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/postgresql#L39) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/postgresql#L39) [/details] #### ynh_psql_execute_file_as_root @@ -601,7 +601,7 @@ Requires YunoHost version 3.5.0 or higher. Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/postgresql#L64) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/postgresql#L64) [/details] #### ynh_psql_dump_db @@ -621,7 +621,7 @@ Requires YunoHost version 3.5.0 or higher. Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/postgresql#L135) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/postgresql#L135) [/details] #### ynh_psql_database_exists @@ -638,7 +638,7 @@ Requires YunoHost version 3.5.0 or higher. Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/postgresql#L192) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/postgresql#L192) [/details] --- @@ -668,7 +668,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/mongodb#L19) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/mongodb#L19) [/details] #### ynh_mongo_dump_db @@ -688,7 +688,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/mongodb#L136) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/mongodb#L136) [/details] #### ynh_mongo_database_exists @@ -705,7 +705,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/mongodb#L181) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/mongodb#L181) [/details] #### ynh_mongo_restore_db @@ -723,7 +723,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/mongodb#L205) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/mongodb#L205) [/details] #### ynh_mongo_setup_db @@ -744,7 +744,7 @@ It will also be stored as "mongopwd" into the app settings. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/mongodb#L248) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/mongodb#L248) [/details] #### ynh_mongo_remove_db @@ -761,7 +761,7 @@ It will also be stored as "mongopwd" into the app settings. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/mongodb#L276) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/mongodb#L276) [/details] #### ynh_install_mongo @@ -777,7 +777,7 @@ It will also be stored as "mongopwd" into the app settings. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/mongodb#L301) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/mongodb#L301) [/details] #### ynh_remove_mongo @@ -792,7 +792,7 @@ if MongoDB package as been removed" class="helper-card-subtitle text-muted"] -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/mongodb#L344) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/mongodb#L344) [/details] --- @@ -807,7 +807,7 @@ if MongoDB package as been removed" class="helper-card-subtitle text-muted"] **Usage**: `ynh_redis_get_free_db` **Returns**: the database number to use -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/redis#L7) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/redis#L7) [/details] #### ynh_redis_remove_db @@ -819,7 +819,7 @@ Please always call this script in install and restore scripts" class="helper **Arguments**: - `database`: the database to erase -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/redis#L36) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/redis#L36) [/details] --- @@ -900,7 +900,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/templating#L56) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/templating#L56) [/details] #### ynh_read_var_in_file @@ -944,7 +944,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/templating#L222) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/templating#L222) [/details] #### ynh_write_var_in_file @@ -963,7 +963,7 @@ Requires YunoHost version 4.3 or higher. Requires YunoHost version 4.3 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/templating#L300) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/templating#L300) [/details] --- @@ -992,7 +992,7 @@ location Requires YunoHost version 4.1.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/nginx#L19) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/nginx#L19) [/details] #### ynh_remove_nginx_config @@ -1005,7 +1005,7 @@ Requires YunoHost version 4.1.0 or higher. Requires YunoHost version 2.7.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/nginx#L41) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/nginx#L41) [/details] #### ynh_change_url_nginx_config @@ -1018,7 +1018,7 @@ Requires YunoHost version 2.7.2 or higher. Requires YunoHost version 11.1.9 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/nginx#L52) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/nginx#L52) [/details] --- @@ -1093,7 +1093,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/php#L70) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/php#L70) [/details] #### ynh_remove_fpm_config @@ -1106,7 +1106,7 @@ Requires YunoHost version 4.1.0 or higher. Requires YunoHost version 2.7.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/php#L284) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/php#L284) [/details] --- @@ -1133,7 +1133,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/systemd#L15) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/systemd#L15) [/details] #### ynh_remove_systemd_config @@ -1149,7 +1149,7 @@ Requires YunoHost version 4.1.0 or higher. Requires YunoHost version 2.7.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/systemd#L38) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/systemd#L38) [/details] #### ynh_systemd_action @@ -1170,7 +1170,7 @@ Requires YunoHost version 2.7.2 or higher. Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/systemd#L67) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/systemd#L67) [/details] --- @@ -1239,7 +1239,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/fail2ban#L58) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/fail2ban#L58) [/details] #### ynh_remove_fail2ban_config @@ -1252,7 +1252,7 @@ Requires YunoHost version 4.1.0 or higher. Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/fail2ban#L130) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/fail2ban#L130) [/details] --- @@ -1277,7 +1277,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/logrotate#L15) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/logrotate#L15) [/details] #### ynh_remove_logrotate @@ -1290,7 +1290,7 @@ Requires YunoHost version 2.6.4 or higher. Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/logrotate#L99) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/logrotate#L99) [/details] --- @@ -1326,7 +1326,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/utils#L90) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/utils#L90) [/details] #### ynh_secure_remove @@ -1342,7 +1342,7 @@ Requires YunoHost version 2.6.4 or higher. Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/utils#L173) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/utils#L173) [/details] #### ynh_read_manifest @@ -1361,7 +1361,7 @@ Requires YunoHost version 2.6.4 or higher. Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/utils#L207) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/utils#L207) [/details] #### ynh_app_upstream_version @@ -1385,7 +1385,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/utils#L250) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/utils#L250) [/details] #### ynh_check_app_version_changed @@ -1403,7 +1403,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/utils#L302) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/utils#L302) [/details] #### ynh_compare_current_package_version @@ -1434,7 +1434,7 @@ fi Requires YunoHost version 3.8.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/utils#L332) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/utils#L332) [/details] #### ynh_user_exists @@ -1454,7 +1454,7 @@ Requires YunoHost version 3.8.0 or higher. Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/utils#L414) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/utils#L414) [/details] #### ynh_user_get_info @@ -1475,7 +1475,7 @@ Requires YunoHost version 2.2.4 or higher. Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/utils#L435) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/utils#L435) [/details] #### ynh_user_list @@ -1492,7 +1492,7 @@ Requires YunoHost version 2.2.4 or higher. Requires YunoHost version 2.4.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/utils#L455) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/utils#L455) [/details] --- @@ -1514,7 +1514,7 @@ Requires YunoHost version 2.4.0 or higher. Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/setting#L10) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/setting#L10) [/details] #### ynh_app_setting_set @@ -1532,7 +1532,7 @@ Requires YunoHost version 2.2.4 or higher. Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/setting#L36) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/setting#L36) [/details] #### ynh_app_setting_set_default @@ -1560,7 +1560,7 @@ fi Requires YunoHost version 11.1.16 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/setting#L73) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/setting#L73) [/details] #### ynh_app_setting_delete @@ -1577,7 +1577,7 @@ Requires YunoHost version 11.1.16 or higher. Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/setting#L98) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/setting#L98) [/details] --- @@ -1603,7 +1603,7 @@ Requires YunoHost version 2.2.4 or higher. Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/string#L13) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/string#L13) [/details] #### ynh_replace_string @@ -1624,7 +1624,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/string#L40) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/string#L40) [/details] #### ynh_replace_special_string @@ -1645,7 +1645,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/string#L71) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/string#L71) [/details] --- @@ -1719,7 +1719,7 @@ 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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/backup#L64) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/backup#L64) [/details] #### ynh_restore @@ -1732,7 +1732,7 @@ Requires YunoHost version 3.5.0 or higher for the argument `--not_mandatory` Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/backup#L179) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/backup#L179) [/details] #### ynh_restore_file @@ -1776,7 +1776,7 @@ 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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/backup#L238) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/backup#L238) [/details] #### ynh_store_file_checksum @@ -1794,7 +1794,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/backup#L306) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/backup#L306) [/details] #### ynh_backup_if_checksum_is_different @@ -1815,7 +1815,7 @@ modified config files. Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/backup#L357) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/backup#L357) [/details] #### ynh_delete_file_checksum @@ -1833,7 +1833,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/backup#L397) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/backup#L397) [/details] --- @@ -1855,7 +1855,7 @@ Requires YunoHost version 3.3.1 or higher. Requires YunoHost version 2.4.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/logging#L10) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/logging#L10) [/details] #### ynh_print_info @@ -1871,7 +1871,7 @@ Requires YunoHost version 2.4.0 or higher. Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/logging#L30) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/logging#L30) [/details] #### ynh_print_warn @@ -1887,7 +1887,7 @@ Requires YunoHost version 3.2.0 or higher. Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/logging#L56) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/logging#L56) [/details] #### ynh_print_err @@ -1903,7 +1903,7 @@ Requires YunoHost version 3.2.0 or higher. Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/logging#L73) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/logging#L73) [/details] #### ynh_exec_err @@ -1921,7 +1921,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/logging#L92) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/logging#L92) [/details] #### ynh_exec_warn @@ -1939,7 +1939,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/logging#L113) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/logging#L113) [/details] #### ynh_exec_warn_less @@ -1957,7 +1957,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/logging#L134) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/logging#L134) [/details] #### ynh_exec_quiet @@ -1975,7 +1975,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/logging#L155) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/logging#L155) [/details] #### ynh_exec_fully_quiet @@ -1993,7 +1993,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/logging#L176) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/logging#L176) [/details] #### ynh_exec_and_print_stderr_only_if_error @@ -2011,7 +2011,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/logging#L197) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/logging#L197) [/details] #### ynh_script_progression @@ -2030,7 +2030,7 @@ Requires YunoHost version 11.2 or higher. Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/logging#L257) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/logging#L257) [/details] #### ynh_return @@ -2044,7 +2044,7 @@ Requires YunoHost version 3.5.0 or higher. Requires YunoHost version 3.6.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/logging#L345) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/logging#L345) [/details] --- @@ -2062,7 +2062,7 @@ Requires YunoHost version 3.6.0 or higher. Requires YunoHost version 4.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/multimedia#L11) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/multimedia#L11) [/details] #### ynh_multimedia_addfolder @@ -2081,7 +2081,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/multimedia#L64) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/multimedia#L64) [/details] #### ynh_multimedia_addaccess @@ -2097,7 +2097,7 @@ Requires YunoHost version 4.2 or higher. Requires YunoHost version 4.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/multimedia#L93) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/multimedia#L93) [/details] --- @@ -2177,7 +2177,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/permission#L66) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/permission#L66) [/details] #### ynh_permission_delete @@ -2195,7 +2195,7 @@ Requires YunoHost version 3.7.0 or higher. Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/permission#L152) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/permission#L152) [/details] #### ynh_permission_exists @@ -2212,7 +2212,7 @@ Requires YunoHost version 3.7.0 or higher. Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/permission#L169) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/permission#L169) [/details] #### ynh_permission_url @@ -2234,7 +2234,7 @@ Requires YunoHost version 3.7.0 or higher. Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/permission#L192) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/permission#L192) [/details] #### ynh_permission_update @@ -2256,7 +2256,7 @@ Requires YunoHost version 3.7.0 or higher. Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/permission#L260) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/permission#L260) [/details] #### ynh_permission_has_user @@ -2276,7 +2276,7 @@ Requires YunoHost version 3.7.0 or higher. Requires YunoHost version 3.7.1 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/permission#L329) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/permission#L329) [/details] #### ynh_legacy_permissions_exists @@ -2290,7 +2290,7 @@ Requires YunoHost version 3.7.1 or higher. Requires YunoHost version 4.1.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/permission#L359) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/permission#L359) [/details] #### ynh_legacy_permissions_delete_all @@ -2300,7 +2300,7 @@ Requires YunoHost version 4.1.2 or higher. **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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/permission#L379) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/permission#L379) [/details] --- @@ -2325,7 +2325,7 @@ Requires YunoHost version 4.1.2 or higher. Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/apt#L53) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/apt#L53) [/details] #### ynh_install_app_dependencies @@ -2346,7 +2346,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/apt#L236) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/apt#L236) [/details] #### ynh_remove_app_dependencies @@ -2361,7 +2361,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/apt#L370) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/apt#L370) [/details] #### ynh_install_extra_app_dependencies @@ -2380,7 +2380,7 @@ Requires YunoHost version 2.6.4 or higher. Requires YunoHost version 3.8.1 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/apt#L404) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/apt#L404) [/details] --- @@ -2413,7 +2413,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/systemuser#L61) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/systemuser#L61) [/details] #### ynh_system_user_delete @@ -2429,7 +2429,7 @@ Requires YunoHost version 2.6.4 or higher. Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/systemuser#L103) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/systemuser#L103) [/details] #### ynh_exec_as @@ -2442,7 +2442,7 @@ Requires YunoHost version 2.6.4 or higher. Requires YunoHost version 4.1.7 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v1.d/systemuser#L129) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v1.d/systemuser#L129) [/details] --- diff --git a/pages/06.contribute/10.packaging_apps/20.scripts/12.helpers21/packaging_app_scripts_helpers_v21.md b/pages/06.contribute/10.packaging_apps/20.scripts/12.helpers21/packaging_app_scripts_helpers_v21.md index 32cffa43..1de66b63 100644 --- a/pages/06.contribute/10.packaging_apps/20.scripts/12.helpers21/packaging_app_scripts_helpers_v21.md +++ b/pages/06.contribute/10.packaging_apps/20.scripts/12.helpers21/packaging_app_scripts_helpers_v21.md @@ -7,7 +7,7 @@ routes: default: '/packaging_apps_helpers_v2.1' --- -Doc auto-generated by [this script](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/doc/generate_helper_doc.py) on 25/06/2024 (YunoHost version 11.2.17.1) +Doc auto-generated by [this script](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/doc/generate_helper_doc.py) on 29/06/2024 (YunoHost version 11.2.18) @@ -87,7 +87,7 @@ The helper will: - Patches named `patches/${src_id}-*.patch` will be applied to `$dest_dir` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/sources#L64) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/sources#L64) [/details] --- @@ -119,7 +119,7 @@ is preserved when calling ynh_exec_as_app). Also defines: - `$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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/nodejs#L42) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/nodejs#L42) [/details] #### ynh_nodejs_remove @@ -134,7 +134,7 @@ This helper will check if another app uses the same version of node. - If no other app uses node, n will be also removed. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/nodejs#L107) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/nodejs#L107) [/details] --- @@ -159,7 +159,7 @@ is preserved when calling ynh_exec_as_app). Also defines: This helper also creates a /etc/profile.d/rbenv.sh that configures PATH environment for rbenv -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/ruby#L44) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/ruby#L44) [/details] #### ynh_ruby_remove @@ -172,7 +172,7 @@ This helper also creates a /etc/profile.d/rbenv.sh that configures PATH environm This helper will also cleanup unused Ruby versions -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/ruby#L185) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/ruby#L185) [/details] --- @@ -197,7 +197,7 @@ is preserved when calling `ynh_exec_as_app`). Also defines: This helper also creates a /etc/profile.d/goenv.sh that configures PATH environment for goenv -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/go#L42) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/go#L42) [/details] #### ynh_go_remove @@ -210,7 +210,7 @@ This helper also creates a /etc/profile.d/goenv.sh that configures PATH environm This helper will also cleanup Go versions -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/go#L129) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/go#L129) [/details] --- @@ -231,7 +231,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/composer#L11) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/composer#L11) [/details] #### ynh_composer_exec @@ -247,7 +247,7 @@ 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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/composer#L37) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/composer#L37) [/details] --- @@ -280,7 +280,7 @@ absolutely need composer to run as root, but this is discouraged... - ` ynh_mysql_db_shell < /path/to/file.sql` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/mysql#L12) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/mysql#L12) [/details] #### ynh_mysql_dump_db @@ -295,7 +295,7 @@ absolutely need composer to run as root, but this is discouraged... **Returns**: The mysqldump output **Example**: `ynh_mysql_dump_db "roundcube" > ./dump.sql` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/mysql#L65) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/mysql#L65) [/details] --- @@ -322,7 +322,7 @@ absolutely need composer to run as root, but this is discouraged... - ` ynh_psql_db_shell < /path/to/file.sql` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/postgresql#L15) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/postgresql#L15) [/details] #### ynh_psql_dump_db @@ -337,7 +337,7 @@ absolutely need composer to run as root, but this is discouraged... **Returns**: the psqldump output **Example**: `ynh_psql_dump_db 'roundcube' > ./dump.sql` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/postgresql#L70) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/postgresql#L70) [/details] --- @@ -361,7 +361,7 @@ absolutely need composer to run as root, but this is discouraged... -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/mongodb#L13) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/mongodb#L13) [/details] #### ynh_mongo_dump_db @@ -381,7 +381,7 @@ absolutely need composer to run as root, but this is discouraged... -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/mongodb#L64) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/mongodb#L64) [/details] #### ynh_mongo_database_exists @@ -398,7 +398,7 @@ absolutely need composer to run as root, but this is discouraged... -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/mongodb#L107) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/mongodb#L107) [/details] #### ynh_mongo_restore_db @@ -416,7 +416,7 @@ absolutely need composer to run as root, but this is discouraged... -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/mongodb#L130) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/mongodb#L130) [/details] #### ynh_mongo_setup_db @@ -437,7 +437,7 @@ It will also be stored as "mongopwd" into the app settings. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/mongodb#L171) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/mongodb#L171) [/details] #### ynh_mongo_remove_db @@ -454,7 +454,7 @@ It will also be stored as "mongopwd" into the app settings. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/mongodb#L198) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/mongodb#L198) [/details] #### ynh_install_mongo @@ -467,7 +467,7 @@ It will also be stored as "mongopwd" into the app settings. 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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/mongodb#L222) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/mongodb#L222) [/details] #### ynh_remove_mongo @@ -482,7 +482,7 @@ if MongoDB package as been removed" class="helper-card-subtitle text-muted"] -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/mongodb#L260) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/mongodb#L263) [/details] --- @@ -497,7 +497,7 @@ if MongoDB package as been removed" class="helper-card-subtitle text-muted"] **Usage**: `ynh_redis_get_free_db` **Returns**: the database number to use -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/redis#L7) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/redis#L7) [/details] #### ynh_redis_remove_db @@ -509,7 +509,7 @@ Please always call this script in install and restore scripts" class="helper **Arguments**: - `database`: the database to erase -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/redis#L36) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/redis#L36) [/details] --- @@ -578,7 +578,7 @@ 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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/templating#L44) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/templating#L44) [/details] #### ynh_read_var_in_file @@ -620,7 +620,7 @@ Example of line this helpers can managed correctly CUSTOM['user'] = 'YunoHost' -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/templating#L172) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/templating#L172) [/details] #### ynh_write_var_in_file @@ -634,7 +634,7 @@ Example of line this helpers can managed correctly - `--key=`: the key to set - `--value=`: the value to set - `--after=`: the line just before the key (in case of multiple lines with the name of the key in the file) -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/templating#L247) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/templating#L247) [/details] --- @@ -661,7 +661,7 @@ This allows to enable/disable specific behaviors dependenging on the install location -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/nginx#L17) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/nginx#L17) [/details] #### ynh_config_remove_nginx @@ -669,7 +669,7 @@ location [details summary="Remove the dedicated nginx config" class="helper-card-subtitle text-muted"] **Usage**: `ynh_config_remove_nginx` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/nginx#L37) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/nginx#L37) [/details] #### ynh_config_change_url_nginx @@ -677,7 +677,7 @@ location [details summary="Regen the nginx config in a change url context" class="helper-card-subtitle text-muted"] **Usage**: `ynh_config_change_url_nginx` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/nginx#L46) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/nginx#L46) [/details] --- @@ -733,7 +733,7 @@ Check PHP-FPM's manual for more info on what these are (: ... - `$php_max_spare_servers` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/php#L62) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/php#L62) [/details] #### ynh_config_remove_phpfpm @@ -741,7 +741,7 @@ Check PHP-FPM's manual for more info on what these are (: ... [details summary="Remove the dedicated PHP-FPM config" class="helper-card-subtitle text-muted"] **Usage**: `ynh_config_remove_phpfpm` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/php#L138) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/php#L138) [/details] --- @@ -766,7 +766,7 @@ 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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/systemd#L13) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/systemd#L13) [/details] #### ynh_config_remove_systemd @@ -777,7 +777,7 @@ format and how placeholders are replaced with actual variables. **Arguments**: - `service`: Service name (optionnal, $app by default) -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/systemd#L33) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/systemd#L33) [/details] #### ynh_systemctl @@ -793,7 +793,7 @@ format and how placeholders are replaced with actual variables. - `--log_path=`: Log file - Path to the log file. Default : `/var/log/$app/$app.log` - `--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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/systemd#L52) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/systemd#L52) [/details] --- @@ -857,7 +857,7 @@ 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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/fail2ban#L52) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/fail2ban#L52) [/details] #### ynh_config_remove_fail2ban @@ -865,7 +865,7 @@ fail2ban-regex /var/log/YOUR_LOG_FILE_PATH /etc/fail2ban/filter.d/YOUR_APP.conf [details summary="Remove the dedicated fail2ban config (jail and filter conf files)" class="helper-card-subtitle text-muted"] **Usage**: `ynh_config_remove_fail2ban` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/fail2ban#L114) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/fail2ban#L114) [/details] --- @@ -886,7 +886,7 @@ 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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/logrotate#L13) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/logrotate#L13) [/details] #### ynh_config_remove_logrotate @@ -894,7 +894,7 @@ The configuration is autogenerated by YunoHost [details summary="Remove the app's logrotate config." class="helper-card-subtitle text-muted"] **Usage**: `ynh_remove_logrotate` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/logrotate#L69) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/logrotate#L71) [/details] --- @@ -918,7 +918,7 @@ The configuration is autogenerated by YunoHost Note that the $PATH variable is preserved (using --preserve-env=PATH) -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/utils#L76) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/utils#L76) [/details] #### ynh_local_curl @@ -941,7 +941,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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/utils#L93) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/utils#L93) [/details] #### ynh_safe_rm @@ -949,7 +949,7 @@ For multiple calls, cookies are persisted between each call for the same app [details summary="Remove a file or a directory, checking beforehand that it's not a disastrous location to rm such as entire /var or /home" class="helper-card-subtitle text-muted"] **Usage**: `ynh_safe_rm path_to_remove` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/utils#L161) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/utils#L161) [/details] #### ynh_read_manifest @@ -962,7 +962,7 @@ For multiple calls, cookies are persisted between each call for the same app - `key`: Name of the key to find **Returns**: the value associate to that key -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/utils#L187) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/utils#L187) [/details] #### ynh_app_upstream_version @@ -977,7 +977,7 @@ For multiple calls, cookies are persisted between each call for the same app 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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/utils#L197) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/utils#L197) [/details] #### ynh_app_upstream_version_changed @@ -985,7 +985,7 @@ For example, if the manifest contains `4.3-2~ynh3` the function will return `4.3 [details summary="Return 0 if the "upstream" part of the version changed, or 1 otherwise (ie only the ~ynh suffix changed)" class="helper-card-subtitle text-muted"] **Usage**: `if ynh_app_upstream_version_changed; then ...` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/utils#L204) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/utils#L204) [/details] #### ynh_app_upgrading_from_version_before @@ -995,7 +995,7 @@ For example, if the manifest contains `4.3-2~ynh3` the function will return `4.3 **Usage**: `` **Example**: `if ynh_app_upgrading_from_version_before 2.3.2~ynh1; then ...` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/utils#L212) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/utils#L212) [/details] #### ynh_app_upgrading_from_version_before_or_equal_to @@ -1005,7 +1005,7 @@ For example, if the manifest contains `4.3-2~ynh3` the function will return `4.3 **Usage**: `` **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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/utils#L222) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/utils#L222) [/details] #### ynh_validate_ip @@ -1017,7 +1017,7 @@ For example, if the manifest contains `4.3-2~ynh3` the function will return `4.3 **Returns**: 0 for valid ip addresses, 1 otherwise **Example**: `ynh_validate_ip 4 111.222.333.444` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/utils#L280) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/utils#L300) [/details] #### ynh_in_ci_tests @@ -1030,7 +1030,7 @@ For example, if the manifest contains `4.3-2~ynh3` the function will return `4.3 Return 0 if in CI, 1 otherwise -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/utils#L344) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/utils#L364) [/details] #### ynh_user_get_info @@ -1046,7 +1046,7 @@ Return 0 if in CI, 1 otherwise **Returns**: the value associate to that key **Example**: `mail=$(ynh_user_get_info --username="toto" --key=mail)` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/utils#L356) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/utils#L376) [/details] #### ynh_user_list @@ -1058,7 +1058,7 @@ Return 0 if in CI, 1 otherwise **Returns**: one username per line as strings **Example**: `for u in $(ynh_user_list); do ... ; done` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/utils#L373) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/utils#L393) [/details] --- @@ -1075,7 +1075,7 @@ Return 0 if in CI, 1 otherwise **Arguments**: - `--app=`: the application id (global $app by default) - `--key=`: the setting to get -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/setting#L8) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/setting#L8) [/details] #### ynh_app_setting_set @@ -1088,7 +1088,7 @@ Return 0 if in CI, 1 otherwise - `--app=`: the application id (global $app by default) - `--key=`: the setting name to set - `--value=`: the setting value to set -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/setting#L27) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/setting#L27) [/details] #### ynh_app_setting_set_default @@ -1114,7 +1114,7 @@ then fi -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/setting#L57) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/setting#L57) [/details] #### ynh_app_setting_delete @@ -1126,7 +1126,7 @@ fi **Arguments**: - `--app=`: the application id (global $app by default) - `--key=`: the setting to delete -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/setting#L79) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/setting#L79) [/details] --- @@ -1147,7 +1147,7 @@ fi **Returns**: the generated string **Example**: `pwd=$(ynh_string_random --length=8)` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/string#L11) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/string#L11) [/details] #### ynh_replace @@ -1166,7 +1166,7 @@ As this helper is based on sed command, regular expressions and references to sub-expressions can be used (see sed manual page for more information) -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/string#L35) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/string#L35) [/details] #### ynh_replace_regex @@ -1185,7 +1185,7 @@ 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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/string#L63) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/string#L63) [/details] #### ynh_normalize_url_path @@ -1222,7 +1222,7 @@ 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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/string#L118) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/string#L118) [/details] --- @@ -1253,7 +1253,7 @@ 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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/backup#L24) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/backup#L24) [/details] #### ynh_restore @@ -1280,7 +1280,7 @@ otheriwse, search for a match in the csv (eg: conf/nginx.conf) and restore it in `/etc/nginx/conf.d/$domain.d/$app.conf` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/backup#L131) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/backup#L131) [/details] #### ynh_restore_everything @@ -1288,7 +1288,7 @@ otheriwse, search for a match in the csv (eg: conf/nginx.conf) and restore it in [details summary="Restore all files that were previously backuped in an app backup script" class="helper-card-subtitle text-muted"] **Usage**: `ynh_restore_everything` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/backup#L187) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/backup#L187) [/details] #### ynh_store_file_checksum @@ -1296,7 +1296,7 @@ otheriwse, search for a match in the csv (eg: conf/nginx.conf) and restore it in [details summary="Calculate and store a file checksum into the app settings" class="helper-card-subtitle text-muted"] **Usage**: `ynh_store_file_checksum /path/to/file` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/backup#L209) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/backup#L209) [/details] #### ynh_backup_if_checksum_is_different @@ -1310,7 +1310,7 @@ 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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/backup#L240) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/backup#L240) [/details] #### ynh_delete_file_checksum @@ -1318,7 +1318,7 @@ modified config files. [details summary="Delete a file checksum from the app settings" class="helper-card-subtitle text-muted"] **Usage**: `ynh_delete_file_checksum /path/to/file` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/backup#L271) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/backup#L271) [/details] --- @@ -1331,7 +1331,7 @@ modified config files. [details summary="Print a message to stderr and terminate the current script" class="helper-card-subtitle text-muted"] **Usage**: `ynh_die "Some message"` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/logging#L6) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/logging#L6) [/details] #### ynh_print_info @@ -1339,7 +1339,7 @@ modified config files. [details summary="Print an "INFO" message" class="helper-card-subtitle text-muted"] **Usage**: `ynh_print_info "Some message"` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/logging#L14) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/logging#L14) [/details] #### ynh_print_warn @@ -1347,7 +1347,7 @@ modified config files. [details summary="Print a warning on stderr" class="helper-card-subtitle text-muted"] **Usage**: `ynh_print_warn "Some message"` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/logging#L21) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/logging#L21) [/details] #### ynh_hide_warnings @@ -1358,7 +1358,7 @@ modified config files. **Arguments**: - `command`: command to execute -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/logging#L30) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/logging#L30) [/details] #### ynh_exec_and_print_stderr_only_if_error @@ -1374,7 +1374,7 @@ modified config files. 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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/logging#L41) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/logging#L41) [/details] #### ynh_return @@ -1383,7 +1383,7 @@ Note that you should NOT quote the command but only prefix it with ynh_exec_and_ (to be used by special hooks like app config panel and core diagnosis)" class="helper-card-subtitle text-muted"] **Usage**: `ynh_return somedata` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/logging#L57) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/logging#L57) [/details] #### ynh_script_progression @@ -1391,7 +1391,7 @@ Note that you should NOT quote the command but only prefix it with ynh_exec_and_ [details summary="Print a progress bar showing the progression of an app script" class="helper-card-subtitle text-muted"] **Usage**: `ynh_script_progression "Some message"` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/logging#L75) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/logging#L75) [/details] --- @@ -1404,7 +1404,7 @@ Note that you should NOT quote the command but only prefix it with ynh_exec_and_ [details summary="Initialize the multimedia directory system" class="helper-card-subtitle text-muted"] **Usage**: `ynh_multimedia_build_main_dir` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/multimedia#L9) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/multimedia#L9) [/details] #### ynh_multimedia_addfolder @@ -1421,7 +1421,7 @@ Note that you should NOT quote the command but only prefix it with ynh_exec_and_ This "directory" will be a symbolic link to a existing directory. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/multimedia#L60) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/multimedia#L60) [/details] #### ynh_multimedia_addaccess @@ -1432,7 +1432,7 @@ This "directory" will be a symbolic link to a existing directory. **Arguments**: - `--user_name=`: The name of the user which gain this access. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/multimedia#L86) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/multimedia#L86) [/details] --- @@ -1456,7 +1456,7 @@ This "directory" will be a symbolic link to a existing directory. - `--permission=`: the name for the permission (by default a permission named "main" is removed automatically when the app is removed) **Example**: `ynh_permission_delete --permission=editors` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/permission#L149) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/permission#L149) [/details] #### ynh_permission_exists @@ -1468,7 +1468,7 @@ This "directory" will be a symbolic link to a existing directory. **Arguments**: - `--permission=`: the permission to check -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/permission#L164) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/permission#L164) [/details] #### ynh_permission_url @@ -1485,7 +1485,7 @@ This "directory" will be a symbolic link to a existing directory. - `--remove_url=`: (optional) List of additional url to remove for which access will be allowed/forbidden - `--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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/permission#L185) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/permission#L185) [/details] #### ynh_permission_update @@ -1498,7 +1498,7 @@ This "directory" will be a symbolic link to a existing directory. - `--permission=`: the name for the permission (by default a permission named "main" already exist) - `--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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/permission#L248) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/permission#L248) [/details] #### ynh_permission_has_user @@ -1513,7 +1513,7 @@ This "directory" will be a symbolic link to a existing directory. - `--user=`: the user seek in the permission **Example**: `ynh_permission_has_user --permission=main --user=visitors` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/permission#L289) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/permission#L289) [/details] --- @@ -1535,7 +1535,7 @@ This "directory" will be a symbolic link to a existing directory. example : ynh_install_app_dependencies dep1 dep2 "dep3|dep4|dep5" -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/apt#L13) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/apt#L13) [/details] #### ynh_apt_remove_dependencies @@ -1548,7 +1548,7 @@ example : ynh_install_app_dependencies dep1 dep2 "dep3|dep4|dep5" Dependencies will removed only if no other package need them. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/apt#L159) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/apt#L159) [/details] #### ynh_apt_install_dependencies_from_extra_repository @@ -1561,7 +1561,7 @@ Dependencies will removed only if no other package need them. - `--repo=`: Complete url of the extra repository. - `--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/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/apt#L191) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/apt#L191) [/details] --- @@ -1579,7 +1579,7 @@ Dependencies will removed only if no other package need them. - `--username=`: the username to check **Returns**: 0 if the user exists, 1 otherwise. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/systemuser#L8) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/systemuser#L8) [/details] #### ynh_system_group_exists @@ -1592,7 +1592,7 @@ Dependencies will removed only if no other package need them. - `--group=`: the group to check **Returns**: 0 if the group exists, 1 otherwise. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/systemuser#L23) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/systemuser#L23) [/details] #### ynh_system_user_create @@ -1618,7 +1618,7 @@ ynh_system_user_create --username=discourse --home_dir=/var/www/discourse --use_ ``` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/systemuser#L49) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/systemuser#L49) [/details] #### ynh_system_user_delete @@ -1629,7 +1629,7 @@ ynh_system_user_create --username=discourse --home_dir=/var/www/discourse --use_ **Arguments**: - `--username=`: Name of the system user that will be create -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/87eedc2a369baa72c9b8d46154924f667885c085/helpers/helpers.v2.1.d/systemuser#L87) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/1ab3a79d3951ce9f062110361b9643495a90ac86/helpers/helpers.v2.1.d/systemuser#L87) [/details] ---