[04:54:36]
<Yunohost Git/Infra notifications> [nextcloud_ynh] kay0u approved [pull request #793](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/793#pullrequestreview-2704734302) Testing
[05:09:54]
<Max Koder> > <@nemstudio18:matrix.org> Ok du coup ça va écraser les fichiers par les mêmes ? ok donc faut que j'ajoute un dossier a ne pas écraser lors de la maj pour le package 299ko , plugin/ et themes/ ne devraient pas se faire écraser non plus sinon les utilisateurs vont se retrouver avec un site hs
Je ne comprends pas comment fonctionnent les mises à jour dans ynh.
Il faut fournir un zip complet ou un script d update ?
J'ai de temps en temps 2 fichiers Php à exécuter pour faire des modifs sur les données (travail sur du JSON). Comment intégrer ça ?
Sinon non, je ne pense pas que les dossiers vont être écrasés, sinon ça voudrait dire qu'on va tout perdre tout le temps, même les données ^^
[05:11:24]
<Max Koder> Sinon faut-il que je développe une manière de faire une update en CLI, et ynh de charge de fournir la version à installer ?
[06:52:00]
<Yunohost Git/Infra notifications> [nextcloud_ynh] ericgaspar merged [pull request #793](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/793): Testing
[06:52:00]
<Yunohost Git/Infra notifications> [nextcloud_ynh] ericgaspar pushed 1 commit to master: Testing (#793) ([5bbe70c6](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/5bbe70c66d99023596f44821bd9a39863a2fb3be))
[12:52:41]
<Yunohost Git/Infra notifications> [nextcloud_ynh] ericgaspar pushed 3 commits to 31.0.0 ([9cb4aa734ade...9b8f317a103f](https://github.com/YunoHost-Apps/nextcloud_ynh/compare/9cb4aa734ade...9b8f317a103f))
[12:52:41]
<Yunohost Git/Infra notifications> [nextcloud_ynh/31.0.0] Testing (#793) - eric_G
[12:52:42]
<Yunohost Git/Infra notifications> [nextcloud_ynh/31.0.0] Merge branch master into testing - eric_G
[12:52:42]
<Yunohost Git/Infra notifications> [nextcloud_ynh] ericgaspar pushed 2 commits to testing ([f64623a7bbd8...e20543f5972a](https://github.com/YunoHost-Apps/nextcloud_ynh/compare/f64623a7bbd8...e20543f5972a))
[12:52:43]
<Yunohost Git/Infra notifications> [nextcloud_ynh/31.0.0] Merge branch testing into 31.0.0 - eric_G
[12:54:09]
<Yunohost Git/Infra notifications> [nextcloud_ynh] ericgaspar pushed 1 commit to 31.0.0: Update tests.toml ([ca2466e9](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/ca2466e9bb94dce128decf2fec2a06d6beb205cb))
[13:43:53]
<Salamandar> > <@maxkoder:matrix.org> Je ne comprends pas comment fonctionnent les mises à jour dans ynh.
> Il faut fournir un zip complet ou un script d update ?
> J'ai de temps en temps 2 fichiers Php à exécuter pour faire des modifs sur les données (travail sur du JSON). Comment intégrer ça ?
> Sinon non, je ne pense pas que les dossiers vont être écrasés, sinon ça voudrait dire qu'on va tout perdre tout le temps, même les données ^^
Les updates prennent en compte les dossiers de data, mais écrasent les dossiers de code
[15:08:56]
<Max Koder> Mais ya moyen de lancer un script PHP depuis le fichier update j'imagine.
[15:10:27]
<Émy – OniriCorpe> > <@maxkoder:matrix.org> Mais ya moyen de lancer un script PHP depuis le fichier update j'imagine.
Ça serait plus simple et maintenable par la communauté avec du bash mais oui c’est possible
[15:14:06]
<Émy – OniriCorpe> Et je pense que tu cherches l’option `--keep` pour la commande `ynh_setup_source`
https://doc.yunohost.org/fr/packaging_apps_helpers_v2.1#ynh-setup-source
[15:21:37]
<miro5001> > <@maxkoder:matrix.org> Mais ya moyen de lancer un script PHP depuis le fichier update j'imagine.
Oui, comme https://github.com/YunoHost-Apps/ojs_ynh/blob/998d4855b1017bd66588c0b172efa5f1e9229b5b/scripts/upgrade#L15
Peux-tu détailler ce que le script php fait ?
[15:27:38]
<Max Koder> > <@miro5001:matrix.org> Oui, comme https://github.com/YunoHost-Apps/ojs_ynh/blob/998d4855b1017bd66588c0b172efa5f1e9229b5b/scripts/upgrade#L15
> Peux-tu détailler ce que le script php fait ?
Selon les changements, il va aller chercher des infos dans des fichiers JSON, les modifier ou créer d'autres fichiers JSON voir peut-être supprimer des fichiers JSON ou des autres fichiers (images etc), comme un script de migration. Il se peut aussi qu'il ne fasse rien du tout
[15:29:36]
<Max Koder> > <@oniricorpe:im.emelyne.eu> Et je pense que tu cherches l’option `--keep` pour la commande `ynh_setup_source`
>
> https://doc.yunohost.org/fr/packaging_apps_helpers_v2.1#ynh-setup-source
Oui ça c'était vu, merci, on va mettre en place
[15:31:08]
<Max Koder> > <@oniricorpe:im.emelyne.eu> Ça serait plus simple et maintenable par la communauté avec du bash mais oui c’est possible
Le problème c'est que selon la mise à jour, ce script PHP (yen a 2 en fait, un avant la modification des fichiers et un après) ne fait pas toujours la même chose
[15:31:55]
<Max Koder> Mais ce script PHP c'est moi qui le fourni. Il faut juste que je sache comment le mettre en place pour qu'il puisse être exécuté lors d'une Maj Yunohost
[15:41:49]
<Émy – OniriCorpe> Pourquoi c’est pas géré directement par le logiciel lui-même plutôt ?
[15:43:07]
<Salamandar> toi en tant que packager ou utilisateur ?
[15:44:23]
<Max Koder> > <@oniricorpe:im.emelyne.eu> Pourquoi c’est pas géré directement par le logiciel lui-même plutôt ?
Ben si en l'état les mises à jours se font automatiquement par le logiciel. Mais si Ynh détecte une mise à jour, il va tout écraser non ?
[15:44:36]
<Max Koder> > <@Salamandar:matrix.org> toi en tant que packager ou utilisateur ?
Je suis le développeur du projet
[15:49:03]
<Salamandar> c'est pas "yunohost" qui va écraser systématiquement, c'est juste la commande `ynh_setup_source`
[16:09:49]
<Yunohost Git/Infra notifications> [apps] yunohost-bot opened [pull request #2881](https://github.com/YunoHost/apps/pull/2881): Update app levels according to CI results
[16:23:16]
<NemStudio18> > <@Salamandar:matrix.org> c'est pas "yunohost" qui va écraser systématiquement, c'est juste la commande `ynh_setup_source`
Je pense que max parle d'entité yunohost peut importe le processus qui est appliqué c'est le résultat attendu qui est la préoccupation je pense plutôt. Et oui on s'est déjà dirigé vers --keep mais je crois que j'ai pas tous saisis ce que max veux faire ^^
[16:24:18]
<Salamandar> Oui oui, je voulais juste préciser que ça n'est pas un processus "obligatoire" ou automatique
[16:27:33]
<NemStudio18> > <@Salamandar:matrix.org> Oui oui, je voulais juste préciser que ça n'est pas un processus "obligatoire" ou automatique
C'est a dire il est pas obligatoire ?
[16:27:54]
<Salamandar> Bin c'est le packager qui décide d'appeler ynh_setup_source
[16:28:10]
<Salamandar> Si il décide plutôt d'appeler les commandes custom d'upgrade de l'appli, libre à lui
[16:28:44]
<Salamandar> Bon sur nextcloud on utilise `ynh_setup_source` mais avant on backup le dossier des applis, et après on lance `occ upgrade`
[16:29:16]
<NemStudio18> Haaaaa je savais pas (c'est moi le pakager mais la source d'info (doc)) est limitée faut fouiller sur le fofo ou venir ici ^^
[16:29:24]
<NemStudio18> Enfin mainteneur
[16:29:38]
<Salamandar> la doc peut être améliorée peut-être
[16:39:46]
<NemStudio18> Bha c'est surtout que faut vraiment être multi technique ^^' , la doc est bien 👍 mais j'imagine qu'il y a tellement de choses à savoir que sans te mettre la tête dedans tu apprends pas grand chose ^^ , donc on peut éviter la commande d'upgrade de yunohost pour remplacer par la notre si j'ai bien compris il faut faire notre propre common.sh et l'utiliser a la place des commandes yunohost dans le script upgrade c'est ça ?
[16:41:35]
<Yunohost Git/Infra notifications> [apps] yunohost-bot opened [pull request #2882](https://github.com/YunoHost/apps/pull/2882): Add Webhook to wishlist
[16:41:36]
<Yunohost Git/Infra notifications> [apps] yunohost-bot labeled Wishlist on [pull request #2882](https://github.com/YunoHost/apps/pull/2882): Add Webhook to wishlist
[16:43:06]
<Salamandar> t'es pas obligé de mettre tes commandes dans common.sh
[16:43:12]
<Salamandar> tu peux très bien les mettre dans upgrade
[16:43:21]
<Salamandar> après c'est bien d'éviter de dupliquer le code ;)
[16:46:23]
<Aleks (he/him/il/lui)> https://i.imgflip.com/9o67r8.jpg
[16:47:55]
<Yunohost Git/Infra notifications> [apps] alexAubin [commented](https://github.com/YunoHost/apps/pull/2882#issuecomment-2743920476) on [issue #2882](https://github.com/YunoHost/apps/pull/2882) Add Webhook to wishlist: (Ideally with a config panel to configure hooks :D)
[17:03:46]
<Thomas> Is this a bug? How can I prevent this and automatically backup data, not in pre_upgrade but in the backup section of the webadmin (I thought it was automatic)? https://forum.yunohost.org/t/fittrackee-self-hosted-outdoor-activity-tracker/24141/109?u=tho
[17:09:25]
<Aleks (he/him/il/lui)> backup/restore of the data_dir is not "automatic", just like it's not automatic for the install_dir either, it's declared here : https://github.com/YunoHost-Apps/fittrackee_ynh/blob/master/scripts/backup#L12
[17:10:41]
<Thomas> Oww
[17:11:13]
<Thomas> Is it possible to distinguate between pre_upgrade backups and webadmin backups?
[17:11:44]
<Aleks (he/him/il/lui)> it's done automatically by the core
[17:12:05]
<Aleks (he/him/il/lui)> safety pre-upgrade by the core won't include the data_dir such that they dont get crazy big
[17:12:46]
<Thomas> Oh okay so I’ve just to add the backup of data_dir in my scripts then, thanks.
[17:13:27]
<Thomas> Oh I see it’s what is said in example_ynh, sorry, I must have skipped this step
[17:13:58]
<Aleks (he/him/il/lui)> oooooor let me recheck, there's a --is-big arg, but i think we improved it ? or is it just in helpers 2.1 ?
[17:15:00]
<Aleks (he/him/il/lui)> ah it's only in helpers 2.1
[17:15:43]
<Aleks (he/him/il/lui)> https://doc.yunohost.org/packaging_apps_helpers#ynh-backup versus https://doc.yunohost.org/fr/packaging_apps_helpers_v2.1#ynh-backup
[17:16:13]
<Aleks (he/him/il/lui)> in v2.1 :
>NB 2 : there is a specific behavior for `$data_dir` (or childs of `$data_dir`) and `/var/log/$app` which are NOT backedup during safety-backup-before-upgrade, OR if the setting "do_not_backup_data" is equals 1 for that app
[17:17:26]
<Aleks (he/him/il/lui)> so TL;DR :
- if you're still using v2 helpers, you need to add `ynh_backup $data_dir --is-big`,
- if you're using v2.1, you just need `ynh_backup $data_dir`
[17:17:32]
<Aleks (he/him/il/lui)> (and of course also the restore part in the restore script)
[17:17:39]
<Thomas> Yes okay, thanks :D
[17:25:43]
<Yunohost Git/Infra notifications> [apps] yunohost-bot labeled Wishlist on [pull request #2883](https://github.com/YunoHost/apps/pull/2883): Add Loops to wishlist
[17:25:43]
<Yunohost Git/Infra notifications> [apps] yunohost-bot opened [pull request #2883](https://github.com/YunoHost/apps/pull/2883): Add Loops to wishlist
[17:31:43]
<Yunohost Git/Infra notifications> [apps] OniriCorpe edited [pull request #2883](https://github.com/YunoHost/apps/pull/2883): Add Loops to wishlist
[17:31:43]
<Yunohost Git/Infra notifications> [apps] OniriCorpe edited [pull request #2883](https://github.com/YunoHost/apps/pull/2883): Add Loops to wishlist
[17:31:49]
<Yunohost Git/Infra notifications> [apps] OniriCorpe edited [pull request #2883](https://github.com/YunoHost/apps/pull/2883): Add Loops to wishlist
[17:32:13]
<Yunohost Git/Infra notifications> [apps] OniriCorpe pushed 1 commit to master: Add Loops to wishlist (#2883) ([0e57e996](https://github.com/YunoHost/apps/commit/0e57e99694e83a83d7bcd57d61ca983950e8edd6))
[17:32:13]
<Yunohost Git/Infra notifications> [apps] OniriCorpe merged [pull request #2883](https://github.com/YunoHost/apps/pull/2883): Add Loops to wishlist
[17:32:14]
<Yunohost Git/Infra notifications> [apps] OniriCorpe deleted branch add-to-wishlist-loops
[17:32:43]
<Yunohost Git/Infra notifications> [apps] mjeammet [commented](https://github.com/YunoHost/apps/pull/2876#issuecomment-2744020223) on [issue #2876](https://github.com/YunoHost/apps/pull/2876) Add Docs to wishlist: Poke @fflorent @virgile-dev, maybe
[18:04:39]
<Paprika> I’ve created a pull request for fixing flarum regarding swap issue and switching to v2.1 helpers. If someone could trigger an automatic test, that would be nice.
[18:35:13]
<Yunohost Git/Infra notifications> [apps] yalh76 edited [pull request #2881](https://github.com/YunoHost/apps/pull/2881): Update app levels according to CI results
[18:36:46]
<Yunohost Git/Infra notifications> [apps] yalh76 pushed 1 commit to update_app_levels: kiwix level ([ef59a488](https://github.com/YunoHost/apps/commit/ef59a488c7ba6c98843c4f506e14a374c0eeb6eb))
[18:36:54]
<Yunohost Git/Infra notifications> [apps] yalh76 edited [pull request #2881](https://github.com/YunoHost/apps/pull/2881): Update app levels according to CI results
[18:42:10]
<Yunohost Git/Infra notifications> [apps] yalh76 pushed 1 commit to update_app_levels: Revert "kiwix level" This reverts commit ef59a488c7ba6c98843c4f506e14a374c0eeb6eb. ([5ec1b68f](https://github.com/YunoHost/apps/commit/5ec1b68fd6b998ffd8b56863331a90172383ae5f))
[18:42:18]
<Yunohost Git/Infra notifications> [apps] yalh76 edited [pull request #2881](https://github.com/YunoHost/apps/pull/2881): Update app levels according to CI results
[22:12:40]
<Thomas> http://ci-apps-dev.yunohost.org/ is down?
[22:14:20]
<tituspijean> It is down indeed
[22:18:45]
<tituspijean> Fixed with a good ol' service restart
[22:39:45]
<Yunohost Git/Infra notifications> [apps] ericgaspar closed [pull request #2882](https://github.com/YunoHost/apps/pull/2882): Add Webhook to wishlist
[22:39:46]
<Yunohost Git/Infra notifications> [apps] ericgaspar [commented](https://github.com/YunoHost/apps/pull/2882#issuecomment-2744607398) on [issue #2882](https://github.com/YunoHost/apps/pull/2882) Add Webhook to wishlist: Already part of the catalog :) https://github.com/YunoHost-Apps/yunohost_webhooks_ynh
[22:46:01]
<Yunohost Git/Infra notifications> ericgaspar renamed repository webhook_ynh: Webhook package for YunoHost https://github.com/YunoHost-Apps/webhook_ynh
[22:59:47]
<Yunohost Git/Infra notifications> [apps] OniriCorpe [commented](https://github.com/YunoHost/apps/pull/2882#issuecomment-2744638183) on [issue #2882](https://github.com/YunoHost/apps/pull/2882) Add Webhook to wishlist: Still wip
[22:59:51]
<Yunohost Git/Infra notifications> [apps] OniriCorpe deleted branch add-to-wishlist-webhook
[23:05:24]
<Émy – OniriCorpe> > <@yunohostinfra:matrix.org> [apps] ericgaspar [commented](https://github.com/YunoHost/apps/pull/2882#issuecomment-2744607398) on [issue #2882](https://github.com/YunoHost/apps/pull/2882) Add Webhook to wishlist: Already part of the catalog :) https://github.com/YunoHost-Apps/yunohost_webhooks_ynh
It would really be great but I struggled A LOT and gave out lol
[23:25:14]
<Yunohost Git/Infra notifications> [stirling-pdf_ynh] yunohost-bot opened [pull request #42](https://github.com/YunoHost-Apps/stirling-pdf_ynh/pull/42): Upgrade to v0.44.3
[23:27:38]
<Yunohost Git/Infra notifications> [synapse_ynh] Thatoo [commented](https://github.com/YunoHost-Apps/synapse_ynh/issues/521#issuecomment-2744671570) on [issue #521](https://github.com/YunoHost-Apps/synapse_ynh/issues/521) ensure proper MatrixRTC/Element Call deployment: And today, its written : "soon™ is around early next week"
What does that currently mean @Josue-T for yunohost synapse...
[23:29:12]
<Yunohost Git/Infra notifications> Autoupdater just ran, here are the results:
- 12 pending update PRs
- 15 new apps PRs
- 14 failed apps updates: appflowy, dynamicqrcode, findmydevice, firefish, gancio, ihatemoney, jenkins, lemmy, localai, ofbiz, phpldapadmin, pixelfedglitch, stremio, swingmusic
See the full log here: https://paste.yunohost.org/raw/pedofipoxo