From 7b036f9c219b26abf466e12d773ac503a1902fac Mon Sep 17 00:00:00 2001 From: Leandro Noferini Date: Fri, 23 Aug 2024 15:28:59 +0200 Subject: [PATCH 1/5] Italian translation for email_configure_relay.md (#2482) Co-authored-by: OniriCorpe --- pages/02.administer/20.backups/backups.it.md | 18 +-- .../email_configure_relay.it.md | 109 ++++++++++++++++++ 2 files changed, 118 insertions(+), 9 deletions(-) create mode 100644 pages/02.administer/45.tutorials/35.email_relay/email_configure_relay.it.md diff --git a/pages/02.administer/20.backups/backups.it.md b/pages/02.administer/20.backups/backups.it.md index d3e45a67..fe470de7 100644 --- a/pages/02.administer/20.backups/backups.it.md +++ b/pages/02.administer/20.backups/backups.it.md @@ -165,22 +165,22 @@ Potete seguire questo tutorial sul forum per impostare Borg fra due server: -#### For ARM boards: full backup with USBimager or `dd` +#### Per le schede ARM: backup completo usando USBimager o `dd` -If you are using an ARM board, another method for doing a full backup can be to create an image of the SD card. +Se state usando una scheda ARM un altro sistema per fare backup completi può essere la creazione di un'immagine della card SD. -This can be done easily using [USBimager](https://bztsrc.gitlab.io/usbimager/) (N.B. be sure to get the Read-Write version! Not the write-only version!). The process is basically the *reverse* of flashing the SD card. +Questo può essere fare facilmente usando [USBimager](https://bztsrc.gitlab.io/usbimager/) (N.B.: accertatevi di usare la versione Read-Write! Non la versione write-only!) Il processo è fondamentalmente il *contrario* della copia sulla card SD. -- Poweroff your server -- Get the SD card and plug it into your computer -- Using USBimager, click the *Read* button to create an image (snapshot) of the sd card. You can use it later to restore the entire system. +- Spegnete il vostro server +- Prendete la card SD ed inseritela nel vostro computer +- Usande USBimager, cliccate sul bottone *Read* per creare un'immagine (snapshot) della card SD. Potete usarla poi più tardi per recuperare l'intero sistema. -More details [in the USBimager doc](https://gitlab.com/bztsrc/usbimager/#creating-backup-image-file-from-device) +Maggiori dettagli [nella documentazione di USBimager](https://gitlab.com/bztsrc/usbimager/#creating-backup-image-file-from-device) -Alternatively you can use `dd` if you're comfortable with the command line with something like: +Alternativamente potete usare `dd` se vi trovate bene ad usare la riga di comando come: ```bash dd if=/dev/mmcblk0 | gzip > ./my_snapshot.gz ``` -(replace `/dev/mmcblk0` with the actual device of your SD card) +(rimpiazzate `/dev/mmcblk0` con il device reale della vostra card SD) diff --git a/pages/02.administer/45.tutorials/35.email_relay/email_configure_relay.it.md b/pages/02.administer/45.tutorials/35.email_relay/email_configure_relay.it.md new file mode 100644 index 00000000..ea15508b --- /dev/null +++ b/pages/02.administer/45.tutorials/35.email_relay/email_configure_relay.it.md @@ -0,0 +1,109 @@ +--- +title: Configurare un relay SMTP +template: docs +taxonomy: + category: docs +routes: + default: '/email_configure_relay' + aliases: + - '/smtp_relay' +--- + +Se il vostro internet provider blocca la porta 25, o nel caso riscontriate dei problemi nell'uso del server SMTP nativo di YunoHost, potere configurare il vostro server YunoHost affinché utilizzi un relay SMTP. + +## Cos'è un relay SMTP + +Si tratta di un server SMTP che si occupa dell'invio della posta elettronica in luogo del server SMTP locale (il servizio postfix di YunoHost). +Una volta configurato correttamente l'utilizzo è trasparente per gli utenti e i vostri corrispondenti visualizzeranno i messaggi di posta, come se arrivassero dal vostro server YunoHost. In realtà sarà il server relay SMTP che si occuperà dell'invio. + +## [fa=exclamation-triangle /] Svantaggi del server relay + +È importante sottolineare che in un sistema di selfhosting, utilizzare un relay SMTP rappresenta un importante compromesso. In effetti non solo il RELAY SMTP sarà in grado di inviare le email per conto vostro, ma avrà accesso al contenuto e potrebbe anche modificarlo. (Ad esempio MailJet di default analizza i link HTML presenti nei messaggi per profilare l'attività degli utilizzatori del servizio.) Inoltre questa configurazione riguarderà tutto il server YunoHost: non sarà quindi possibile scegliere quale utente o quale indirizzo debba utilizzare il relay e quale no. + +Oltre alle considerazioni sulla privacy discusse sopra, un relay SMTP può imporre dei limiti tecnici che non avremmo se la nostra porta 25 fosse aperta. Ad esempio, per la maggior parte dei server relay, se un utente del vostro server YunoHost imposta **un indirizzo di "reindirizzamento automatico"** delle mail ricevute, **questo non funzionerà** per i messaggi proveniente dall'esterno senza comunicare niente all'utente. Questo perché i relay richiedono, generalmente, che i messaggi che reinviano abbiano l'indirizzo di invio del vostro dominio (al fine di combattere lo spam e mantenere la reputazione del loro servizio), situazione che non si presenta in caso di "reindirizzamento automatico", dove l'indirizzo originale di spedizione viene conservato: il messaggio viene quindi bloccato dal relay (che normalmente, avvisa l'amministratore del server YunoHost). + +## Come utilizzare un relay SMTP con YunoHost? + +YunoHost supporta dalla versione 4.1 la configurazione di un relay SMTP. Al momento la configurazione non è disponibile dall'interfaccia di amministrazione ma solo da linea di comando. + +### Primo punto: creare un account presso un relay SMTP + +Esistono molti fornitori di relay SMTP. Alcuni sono gratuiti e altri propongono il servizio a pagamento in diverse opzioni. Come detto sopra, dovete essere sicuri di potervi fidare del provider, considerazione che spetta solo a voi. + +### Secondo punto: Configurare correttamente i DNS + +Dopo aver creato l'account, le impostazioni del relay SMTP prevedono la modifica del DNS. +La procedura normale, prevede l'aggiunta di una chiave DKIM e SPF al record DNS. +I parametri da inserire e le modalità di modifica variano in base al fornitore dei servizi di DNS e relay SMTP che avete scelto. + +Normalmente i provider di relay SMTP forniscono le guide per modificare questi record insieme a programmi di controllo automatico della correttezza delle impostazioni del DNS. Questo passo è obbligatorio per assicurare "al mondo" che voi, gestori del vostro nome di dominio, autorizzate esplicitamente il vostro provider di relay SMTP ad inviare le email al vostro posto. + +Notate che la modifica dei record DNS può avere effetto anche dopo 24 ore per cui siate pazienti! + +! [fa=exclamation-triangle /] Attenzione! dopo aver registrato la zona DNS, il relay SMTP può inviare mail a nome vostro, senza avvisarvi. + +### Terzo punto: configurare YunoHost + +La configurazione può avvenire sia attraverso l'interfaccia web di amministrazione che da linea di comando. + +[ui-tabs position="top-left" active="0" theme="lite"] +[ui-tab title="Da interfaccia web di amministrazione"] +Dalla pagina web di amministrazione scegliere `Strumenti` > `Impostazioni` e scegliere la scheda `Email`. +Attivate l'opzione e compilate i campi necessari: + +- **SMTP relay host** : l'indirizzo del server SMTP. +- **SMTP relay port** : La porta utilizzata dal relay SMTP. +- **SMTP relay user** : Utente del vostro account sul relay SMTP. +- **SMTP relay password** : La password del vostro account sul relay SMTP. + +! [fa=exclamation-triangle /] Le password contenenti il carattere `#` non funzioneranno correttamente a causa di una regola di postfix (altri caratteri potrebbero non essere riconosciuti, se li scoprite comunicatelo agli sviluppatori di YunoHost affiché possano aggiornare questa guida). + +![Option-Relais-Smtp](image://relay_smtp_option_webadmin_en.png?resize=800) + +[/ui-tab] +[ui-tab title="Da linea di comando"] +Per configurare YunoHost per usare il relay, bisogna configurare questi quattro punti: + +1. L'indirizzo del relay SMTP (per questo documento utilizzeremo `smtprelay.tld`) +2. La porta che utilizzeremo per accedere al relay (per questo documento utilizzeremo la porta 2525) +3. Il vostro nome utente SMTP (per questo documento utilizzeremo `username`) +4. La password SMTP (per questo documento utilizzeremo password) + +! [fa=exclamation-triangle /] Le password contenenti il carattere `#` non funzioneranno correttamente a causa di una regola di postfix (altri caratteri potrebbero non essere riconosciuti, se li scoprite comunicatelo agli sviluppatori di YunoHost affiché possano aggiornare questa guida). + +Questi parametri devono essere ovviamente forniti dal provider relay SMTP e dovrebbero trovarsi in un pannello di controllo o che altro. + +Per prima cosa colleghiamoci al proprio server via SSH: + +```bash +ssh admin@domain.tld +``` + +Aggiorniamo le impostazioni seguenti: + +```bash +sudo yunohost settings set email.smtp.smtp_relay_enabled -v yes +sudo yunohost settings set smtp.relay.host -v smtprelay.tld +sudo yunohost settings set smtp.relay.port -v 2525 +sudo yunohost settings set smtp.relay.user -v username +sudo yunohost settings set smtp.relay.password -v password +``` + +Possiamo controllare le impostazioni con il comando: + +```bash +sudo yunohost settings list +``` + +[/ui-tab] +[/ui-tabs] + +La configurazione del relay SMTP è terminata! + +! [fa=exclamation-triangle /] Da questo momento il relay SMTP è in grado di leggere e utilizzare le informazioni contenute nelle mail che inviate, senza il vostro consenso (Ma non sarà in grado di leggere le informazioni delle mail che riceverete). + +### Quarto passo: Verificare la configurazione + +Potete verificare la configurazione inviando una mail e assicurarvi che arrivi a destinazione. +Alcuni relay SMTP vi inviano dei report a proposito delle amil che inviate così che possiate controllare che tutto funzioni regolarmente. +Oppure potete utilizzare [mail-tester.com](https://www.mail-tester.com/) per scoprire errori o problemi nel vostro relay SMTP. From f8fe7662d7dba6242377f80f3dbb1e6864df6994 Mon Sep 17 00:00:00 2001 From: narF <3538115+narFnarF@users.noreply.github.com> Date: Fri, 23 Aug 2024 09:30:19 -0400 Subject: [PATCH 2/5] Add link to guide on how to install Debian for Yunohost (#2481) --- pages/02.administer/10.install/install.fr.md | 2 +- pages/02.administer/10.install/install.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/02.administer/10.install/install.fr.md b/pages/02.administer/10.install/install.fr.md index 10a9af12..ceb2c6b3 100644 --- a/pages/02.administer/10.install/install.fr.md +++ b/pages/02.administer/10.install/install.fr.md @@ -468,7 +468,7 @@ Ne perdez pas de vue que: [/ui-tab] [/ui-tabs] -!!! Si l'installation de YunoHost échoue sur votre machine et que vous n'arrivez pas à résoudre le problème, sachez qu'il est aussi possible d'installer Debian et ensuite d'installer YunoHost dessus. Pour les instructions, au sommet de cette page, sélectionnez "Serveur distant" puis "VPS ou serveur dédié avec Debian". +!!! Si l'installation de YunoHost échoue sur votre machine et que vous n'arrivez pas à résoudre le problème, sachez qu'il est aussi possible d'installer Debian et ensuite d'installer YunoHost dessus. Voir ces instructions: https://yunohost.org/fr/administer/install/installing_debian {% endif %} {% if rpi012 %} diff --git a/pages/02.administer/10.install/install.md b/pages/02.administer/10.install/install.md index 4e3d4c2c..6d43df61 100644 --- a/pages/02.administer/10.install/install.md +++ b/pages/02.administer/10.install/install.md @@ -613,7 +613,7 @@ Keep in mind that: [/ui-tab] [/ui-tabs] -!!! If the YunoHost installer fails and you can't solve the issue, know that it's also possible to install Debian and then install YunoHost on top. For instructions, at the top of this page, select "Remote server", then "VPS or dedicated server with Debian". +!!! If the YunoHost installer fails and you can't solve the issue, know that it's also possible to install Debian and then install YunoHost on top. See these instructions: https://yunohost.org/en/installing_debian {% endif %} {% if rpi012 %} From d99381eb42d62e75d681b2751f80d346afe09e6e Mon Sep 17 00:00:00 2001 From: MarcJumelle <62717495+MarcJumelle@users.noreply.github.com> Date: Mon, 11 Mar 2024 16:10:25 +0100 Subject: [PATCH 3/5] Update chat_rooms.fr.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ajout de l'information sur la priorisation de matrix VS IRC qui est déprécié --- pages/05.community/10.chat_rooms/chat_rooms.fr.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pages/05.community/10.chat_rooms/chat_rooms.fr.md b/pages/05.community/10.chat_rooms/chat_rooms.fr.md index d292c7c0..0b7c86de 100644 --- a/pages/05.community/10.chat_rooms/chat_rooms.fr.md +++ b/pages/05.community/10.chat_rooms/chat_rooms.fr.md @@ -10,26 +10,27 @@ routes: Parmi d’autres outils, le projet YunoHost se sert de salons de discussions pour communiquer. Vous pouvez rejoindre ces salons avec : - -- un [Client IRC](https://fr.wikipedia.org/wiki/Liste_de_clients_IRC) par exemple [KiwiIRC](https://web.libera.chat/#yunohost) -- un [Client XMPP](https://fr.wikipedia.org/wiki/Clients_XMPP) - un [Client Matrix](https://linuxfr.org/news/matrix-pour-decentraliser-skype-whatsapp-signal-slack-et-discord) +- un [Client XMPP](https://fr.wikipedia.org/wiki/Clients_XMPP) +- un [Client IRC](https://fr.wikipedia.org/wiki/Liste_de_clients_IRC) par exemple [KiwiIRC](https://web.libera.chat/#yunohost) (attention, le salon IRC est déprécié, préférez Matrix) + + #### Salon d'entraide et de support Le salon d’[entraide](/help) est là pour permettre aux utilisateurs de YunoHost de s'aider mutuellement. -- IRC : **`#yunohost`** sur libera.chat (voir KiwiIRC ci-dessus) - Matrix : **[`#yunohost:matrix.org`](https://matrix.to/#/#yunohost:matrix.org)** - XMPP : **[`support@conference.yunohost.org`](xmpp:support@conference.yunohost.org?join)** +- IRC : **`#yunohost`** sur libera.chat (voir KiwiIRC ci-dessus) (attention, le salon IRC est déprécié, préférez Matrix) #### Développement Salon de développement du cœur de YunoHost : -- IRC : **`#yunohost-dev`** sur libera.chat - Matrix : **[`#yunohost-dev:matrix.org`](https://matrix.to/#/#yunohost-dev:matrix.org)** - XMPP : **[`dev@conference.yunohost.org`](xmpp:dev@conference.yunohost.org?join)** +- IRC : **`#yunohost-dev`** sur libera.chat (attention, le salon IRC est déprécié, préférez Matrix) C'est le salon principal pour les contributions autour du projet. Pour chercher de l’aide, merci d'aller sur le salon d’entraide ci-dessus. @@ -39,15 +40,15 @@ Pour chercher de l’aide, merci d'aller sur le salon d’entraide ci-dessus. Salon de développement du packaging d’application. Il permet aux packageurs de s’entraider. Il sert également à discuter de l’évolution du packaging, des outils d’intégration continue sur les applications. -- IRC : **`#yunohost-apps`** sur libera.chat - Matrix : **[`#yunohost-apps:matrix.org`](https://matrix.to/#/#yunohost-apps:matrix.org)** - XMPP : **[`apps@conference.yunohost.org`](xmpp:apps@conference.yunohost.org?join)** +- IRC : **`#yunohost-apps`** sur libera.chat (attention, le salon IRC est déprécié, préférez Matrix) #### Documentation Le salon de documentation du projet YunoHost. Il permet aux contributeurs d'échanger, pour synchroniser et maintenir une documentation à jour sur les différents aspects du projet : backend, frontend, apps, projet, communauté... Vous pouvez aussi y partager vos communications au public à propos de YunoHost (présentations, vidéos...) pour permettre leur référencement dans la documentation. -- IRC : **`#yunohost-doc`** sur libera.chat - Matrix : **[`#yunohost-doc:matrix.org`](https://matrix.to/#/#yunohost-doc:matrix.org)** - XMPP : **[`doc@conference.yunohost.org`](xmpp:doc@conference.yunohost.org?join)** +- IRC : **`#yunohost-doc`** sur libera.chat (attention, le salon IRC est déprécié, préférez Matrix) From 7ce8982f316ae271bb4b9ad465bd16315d6f3e4b Mon Sep 17 00:00:00 2001 From: selfhoster1312 Date: Sat, 24 Aug 2024 19:08:22 +0200 Subject: [PATCH 4/5] Add manifest integration.helpers_version to the docs --- pages/06.contribute/10.packaging_apps/10.manifest/docs.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/06.contribute/10.packaging_apps/10.manifest/docs.md b/pages/06.contribute/10.packaging_apps/10.manifest/docs.md index c9563b87..ff7e9df2 100644 --- a/pages/06.contribute/10.packaging_apps/10.manifest/docs.md +++ b/pages/06.contribute/10.packaging_apps/10.manifest/docs.md @@ -66,6 +66,7 @@ This section is meant to contain info related to the relation between the app an ```toml [integration] yunohost = ">= 11.1" +helpers_version = "2.1" architectures = "all" multi_instance = false ldap = "not_relevant" @@ -76,6 +77,7 @@ ram.runtime = "1M" ``` - `yunohost` (`str`) contains the minimum YunoHost version required for this app to work. +- `helpers_version` (`str`) contains the version of the package helpers used by the application; supported versions are [2.0](https://yunohost.org/fr/packaging_apps_helpers) and [2.1](https://yunohost.org/fr/packaging_apps_helpers_v2.1) - `architectures` : `"all"` OR a list of supported archs using the `dpkg --print-architecture` nomenclature, i.e. among : `amd64` (= x86 64bit), `i386` (= x86 32bit), `armhf` (= ARM 32bit), `arm64` (= ARM 64bit) - `multi_instance` (`bool`) : wether or not the app supports being installed multiple time (in which case, during installation, the actual app id is not just the `id` of the manifest, but something like `hellowold__2`, `helloworld__3`, etc. for subsequent installs) - `ldap` (`bool` OR `"not_relevant"`) : not to confused with the `sso` key : this corresponds to wether or not the app is configured to use YunoHost's LDAP DB as the user account DB. This should be set to `"not_relevant"` if and only if there is no notion of user account for this app (for example, Hextris). LDAP integration is often a prerequisite for the SSO to work. From 35177d407b5c76bb114a1508a5191da84a80bae2 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 25 Aug 2024 12:17:26 +0000 Subject: [PATCH 5/5] [CI] Update app helpers/resources for debian/11.2.28 --- .../packaging_app_manifest_resources.md | 2 +- .../packaging_app_scripts_helpers.md | 202 +++++++++--------- .../packaging_app_scripts_helpers_v21.md | 176 +++++++-------- 3 files changed, 190 insertions(+), 190 deletions(-) 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 db054575..a4d73cc8 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/9915559c40a4846c5390fe89500c6dae271d1467/doc/generate_resource_doc.py) on 03/08/2024 (YunoHost version 11.2.27) +Doc auto-generated by [this script](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/doc/generate_resource_doc.py) on 25/08/2024 (YunoHost version 11.2.28) --- 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 742b47d8..b3686ee2 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/9915559c40a4846c5390fe89500c6dae271d1467/doc/generate_helper_doc.py) on 03/08/2024 (YunoHost version 11.2.27) +Doc auto-generated by [this script](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/doc/generate_helper_doc.py) on 25/08/2024 (YunoHost version 11.2.28) @@ -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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/sources#L67) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/nodejs#L52) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/nodejs#L94) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/nodejs#L164) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/ruby#L53) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/ruby#L98) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/ruby#L240) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/ruby#L265) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/go#L54) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/go#L96) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/go#L185) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/go#L208) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/composer#L16) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/composer#L48) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/mysql#L15) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/mysql#L36) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/mysql#L60) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/mysql#L128) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/postgresql#L18) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/postgresql#L39) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/postgresql#L64) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/postgresql#L135) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/postgresql#L192) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/mongodb#L19) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/mongodb#L136) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/mongodb#L181) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/mongodb#L205) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/mongodb#L248) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/mongodb#L276) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/mongodb#L301) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/mongodb#L344) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/redis#L7) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/redis#L36) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/templating#L56) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/templating#L222) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/templating#L300) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/nginx#L19) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/nginx#L41) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/nginx#L52) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/php#L70) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/php#L284) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/systemd#L15) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/systemd#L38) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/systemd#L67) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/fail2ban#L58) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/fail2ban#L130) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/logrotate#L15) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/logrotate#L99) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/utils#L90) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/utils#L173) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/utils#L207) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/utils#L250) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/utils#L302) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/utils#L332) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/utils#L414) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/utils#L435) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/utils#L455) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/setting#L10) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/setting#L36) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/setting#L73) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/setting#L98) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/string#L13) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/string#L40) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/string#L71) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/backup#L64) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/backup#L179) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/backup#L238) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/backup#L306) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/backup#L357) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/backup#L397) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/logging#L10) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/logging#L30) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/logging#L56) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/logging#L73) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/logging#L92) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/logging#L113) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/logging#L134) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/logging#L155) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/logging#L176) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/logging#L197) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/logging#L257) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/logging#L345) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/multimedia#L11) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/multimedia#L64) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/multimedia#L93) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/permission#L66) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/permission#L152) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/permission#L169) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/permission#L192) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/permission#L260) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/permission#L329) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/permission#L359) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/permission#L379) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/apt#L53) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/apt#L239) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v1.d/apt#L239) [/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/apt#L374) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v1.d/apt#L374) [/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/apt#L408) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v1.d/apt#L408) [/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/systemuser#L61) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/systemuser#L103) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v1.d/systemuser#L129) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/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 e81436e6..21734c65 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/9915559c40a4846c5390fe89500c6dae271d1467/doc/generate_helper_doc.py) on 03/08/2024 (YunoHost version 11.2.27) +Doc auto-generated by [this script](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/doc/generate_helper_doc.py) on 25/08/2024 (YunoHost version 11.2.28) @@ -86,7 +86,7 @@ The helper will: - Apply sane default permissions (see _ynh_apply_default_permissions) -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/sources#L63) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/sources#L63) [/details] --- @@ -118,7 +118,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/nodejs#L42) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/nodejs#L42) [/details] #### ynh_nodejs_remove @@ -133,7 +133,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/nodejs#L107) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/nodejs#L107) [/details] --- @@ -158,7 +158,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/ruby#L44) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/ruby#L44) [/details] #### ynh_ruby_remove @@ -171,7 +171,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/ruby#L185) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/ruby#L185) [/details] --- @@ -196,7 +196,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/go#L42) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/go#L42) [/details] #### ynh_go_remove @@ -209,7 +209,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/go#L129) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/go#L129) [/details] --- @@ -230,7 +230,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/composer#L11) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/composer#L11) [/details] #### ynh_composer_exec @@ -246,7 +246,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/composer#L37) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/composer#L37) [/details] --- @@ -279,7 +279,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/mysql#L12) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/mysql#L12) [/details] #### ynh_mysql_dump_db @@ -294,7 +294,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/mysql#L65) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/mysql#L65) [/details] --- @@ -321,7 +321,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/postgresql#L15) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/postgresql#L15) [/details] #### ynh_psql_dump_db @@ -336,7 +336,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/postgresql#L70) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/postgresql#L70) [/details] --- @@ -360,7 +360,7 @@ absolutely need composer to run as root, but this is discouraged... -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/mongodb#L13) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/mongodb#L13) [/details] #### ynh_mongo_dump_db @@ -380,7 +380,7 @@ absolutely need composer to run as root, but this is discouraged... -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/mongodb#L64) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/mongodb#L64) [/details] #### ynh_mongo_database_exists @@ -397,7 +397,7 @@ absolutely need composer to run as root, but this is discouraged... -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/mongodb#L107) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/mongodb#L107) [/details] #### ynh_mongo_restore_db @@ -415,7 +415,7 @@ absolutely need composer to run as root, but this is discouraged... -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/mongodb#L130) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/mongodb#L130) [/details] #### ynh_mongo_setup_db @@ -436,7 +436,7 @@ It will also be stored as "mongopwd" into the app settings. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/mongodb#L171) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/mongodb#L171) [/details] #### ynh_mongo_remove_db @@ -453,7 +453,7 @@ It will also be stored as "mongopwd" into the app settings. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/mongodb#L198) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/mongodb#L198) [/details] #### ynh_install_mongo @@ -466,7 +466,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/mongodb#L222) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/mongodb#L222) [/details] #### ynh_remove_mongo @@ -481,7 +481,7 @@ if MongoDB package as been removed" class="helper-card-subtitle text-muted"] -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/mongodb#L263) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/mongodb#L263) [/details] --- @@ -496,7 +496,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/redis#L7) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/redis#L7) [/details] #### ynh_redis_remove_db @@ -508,7 +508,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/redis#L36) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/redis#L36) [/details] --- @@ -577,7 +577,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/templating#L44) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/templating#L44) [/details] #### ynh_read_var_in_file @@ -619,7 +619,7 @@ Example of line this helpers can managed correctly CUSTOM['user'] = 'YunoHost' -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/templating#L172) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/templating#L172) [/details] #### ynh_write_var_in_file @@ -633,7 +633,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/templating#L247) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/templating#L247) [/details] --- @@ -660,7 +660,7 @@ This allows to enable/disable specific behaviors dependenging on the install location -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/nginx#L17) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/nginx#L17) [/details] #### ynh_config_remove_nginx @@ -668,7 +668,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/nginx#L37) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/nginx#L37) [/details] #### ynh_config_change_url_nginx @@ -676,7 +676,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/nginx#L46) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/nginx#L46) [/details] --- @@ -732,7 +732,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/php#L50) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/php#L50) [/details] #### ynh_config_remove_phpfpm @@ -740,7 +740,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/php#L126) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/php#L126) [/details] --- @@ -765,7 +765,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/systemd#L13) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/systemd#L13) [/details] #### ynh_config_remove_systemd @@ -776,7 +776,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/systemd#L33) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/systemd#L33) [/details] #### ynh_systemctl @@ -792,7 +792,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/systemd#L52) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/systemd#L52) [/details] --- @@ -856,7 +856,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/fail2ban#L52) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/fail2ban#L52) [/details] #### ynh_config_remove_fail2ban @@ -864,7 +864,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/fail2ban#L114) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/fail2ban#L114) [/details] --- @@ -885,7 +885,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/logrotate#L13) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/logrotate#L13) [/details] #### ynh_config_remove_logrotate @@ -893,7 +893,7 @@ The configuration is autogenerated by YunoHost [details summary="Remove the app's logrotate config." class="helper-card-subtitle text-muted"] **Usage**: `` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/logrotate#L71) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/logrotate#L71) [/details] --- @@ -917,7 +917,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/utils#L60) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/utils#L60) [/details] #### ynh_local_curl @@ -940,7 +940,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/utils#L77) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/utils#L77) [/details] #### ynh_safe_rm @@ -948,7 +948,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/utils#L145) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/utils#L145) [/details] #### ynh_read_manifest @@ -961,7 +961,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/utils#L171) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/utils#L171) [/details] #### ynh_app_upstream_version @@ -976,7 +976,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/utils#L181) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/utils#L181) [/details] #### ynh_app_upstream_version_changed @@ -984,7 +984,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/utils#L188) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/utils#L188) [/details] #### ynh_app_upgrading_from_version_before @@ -994,7 +994,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/utils#L196) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/utils#L196) [/details] #### ynh_app_upgrading_from_version_before_or_equal_to @@ -1004,7 +1004,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/utils#L206) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/utils#L206) [/details] #### ynh_validate_ip @@ -1016,7 +1016,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/utils#L284) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/utils#L284) [/details] #### ynh_in_ci_tests @@ -1029,7 +1029,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/utils#L348) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/utils#L348) [/details] #### ynh_user_get_info @@ -1045,7 +1045,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/utils#L360) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/utils#L360) [/details] #### ynh_user_list @@ -1057,7 +1057,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/utils#L377) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/utils#L377) [/details] #### ynh_spawn_app_shell @@ -1083,7 +1083,7 @@ from the app's service configuration file (defaults to $app.service, overridable 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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/utils#L392) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/utils#L392) [/details] --- @@ -1100,7 +1100,7 @@ If the app relies on a specific PHP version, then `php` will be aliased that ver **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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/setting#L8) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/setting#L8) [/details] #### ynh_app_setting_set @@ -1113,7 +1113,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 name to set - `--value=`: the setting value to set -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/setting#L27) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/setting#L27) [/details] #### ynh_app_setting_set_default @@ -1139,7 +1139,7 @@ then fi -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/setting#L57) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/setting#L57) [/details] #### ynh_app_setting_delete @@ -1151,7 +1151,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/setting#L79) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/setting#L79) [/details] --- @@ -1172,7 +1172,7 @@ fi **Returns**: the generated string **Example**: `pwd=$(ynh_string_random --length=8)` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/string#L11) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/string#L11) [/details] #### ynh_replace @@ -1191,7 +1191,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/string#L35) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/string#L35) [/details] #### ynh_replace_regex @@ -1210,7 +1210,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/string#L63) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/string#L63) [/details] #### ynh_normalize_url_path @@ -1247,7 +1247,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/string#L118) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/string#L118) [/details] --- @@ -1278,7 +1278,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/backup#L24) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/backup#L24) [/details] #### ynh_restore @@ -1305,7 +1305,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/backup#L131) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/backup#L131) [/details] #### ynh_restore_everything @@ -1313,7 +1313,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/backup#L189) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/backup#L189) [/details] #### ynh_store_file_checksum @@ -1321,7 +1321,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/backup#L211) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/backup#L211) [/details] #### ynh_backup_if_checksum_is_different @@ -1335,7 +1335,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/backup#L242) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/backup#L242) [/details] #### ynh_delete_file_checksum @@ -1343,7 +1343,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/backup#L273) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/backup#L273) [/details] --- @@ -1356,7 +1356,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/logging#L6) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/logging#L6) [/details] #### ynh_print_info @@ -1364,7 +1364,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/logging#L22) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/logging#L22) [/details] #### ynh_print_warn @@ -1372,7 +1372,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/logging#L29) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/logging#L29) [/details] #### ynh_hide_warnings @@ -1383,7 +1383,7 @@ modified config files. **Arguments**: - `command`: command to execute -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/logging#L38) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/logging#L38) [/details] #### ynh_exec_and_print_stderr_only_if_error @@ -1399,7 +1399,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/logging#L49) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/logging#L49) [/details] #### ynh_return @@ -1408,7 +1408,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/logging#L65) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/logging#L65) [/details] #### ynh_script_progression @@ -1416,7 +1416,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/logging#L83) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/logging#L83) [/details] --- @@ -1429,7 +1429,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/multimedia#L9) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/multimedia#L9) [/details] #### ynh_multimedia_addfolder @@ -1446,7 +1446,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/multimedia#L60) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/multimedia#L60) [/details] #### ynh_multimedia_addaccess @@ -1457,7 +1457,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/multimedia#L86) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/multimedia#L86) [/details] --- @@ -1481,7 +1481,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/permission#L149) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/permission#L149) [/details] #### ynh_permission_exists @@ -1493,7 +1493,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/permission#L164) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/permission#L164) [/details] #### ynh_permission_url @@ -1510,7 +1510,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/permission#L185) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/permission#L185) [/details] #### ynh_permission_update @@ -1523,7 +1523,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/permission#L248) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/permission#L248) [/details] #### ynh_permission_has_user @@ -1538,7 +1538,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/permission#L289) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/permission#L289) [/details] --- @@ -1560,7 +1560,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/apt#L13) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/apt#L13) [/details] #### ynh_apt_remove_dependencies @@ -1573,7 +1573,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/apt#L160) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/apt#L160) [/details] #### ynh_apt_install_dependencies_from_extra_repository @@ -1586,7 +1586,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/apt#L192) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/apt#L192) [/details] --- @@ -1604,7 +1604,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/systemuser#L8) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/systemuser#L8) [/details] #### ynh_system_group_exists @@ -1617,7 +1617,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/systemuser#L23) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/systemuser#L23) [/details] #### ynh_system_user_create @@ -1643,7 +1643,7 @@ ynh_system_user_create --username=discourse --home_dir=/var/www/discourse --use_ ``` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/systemuser#L49) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/systemuser#L49) [/details] #### ynh_system_user_delete @@ -1654,7 +1654,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/9915559c40a4846c5390fe89500c6dae271d1467/helpers/helpers.v2.1.d/systemuser#L87) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/bc2ed45e9dac06309d0b1c2a238243c9e6d45ccc/helpers/helpers.v2.1.d/systemuser#L87) [/details] ---