Monday, October 24, 2022
dev@conference.yunohost.org
October
Mon Tue Wed Thu Fri Sat Sun
          1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 23
24
25
26
27
28
29
30
31
           

[00:25:53] <Aleks (he/him/il/lui)> Wut
[08:52:18] <Yunohost Git/Infra notifications> [doc.yunohost.org] @yunohost-bot pushed 1 commit to master: docs: create servers/ci-apps-dev https://github.com/YunoHost/doc.yunohost.org/commit/326a1625b885ddbe0f781105600199910db2c9ca
[10:04:29] <Tag> Qu'est-ce que vous pensez de basculer ci-apps-unstable chez Aquilenet aussi ?
[10:59:21] <ljf[m]> Perso j'ai du mal à suivre les histoires de CI, donc je laisse ce qui savent mieux se prononcer
[11:22:03] <Guillaume Bouzige> des fois d'avoir differents dc ca aide quand yen as un qui brule...
[11:26:05] <Tag> (Je crois que ça va se voir que j'essaye de vider scaleway 😅)
[13:47:25] <Aleks (he/him/il/lui)> you mean in 11.1 ?
[13:48:00] <Aleks (he/him/il/lui)> https://framablog.org/2022/10/24/deux-ans-en-tout-doux-cratie-bilan-et-perspectives/
[13:52:18] <ljf[m]> it's because tags are transformed into string seperated by comma
[13:54:17] <ljf[m]> but it seems if you have several elements you can use the values as a list, but if there is just one element, it's a string...
[13:56:58] <Aleks (he/him/il/lui)> https://www.textualize.io/ o_o
[13:58:24] <ljf[m]> About the bug, it's not a regression, and it seems not to be a problem for the current features in 11.1
[14:27:08] <Yunohost Git/Infra notifications> [yunohost] @zamentur pushed 2 commits to enh-backup-repo: https://github.com/YunoHost/yunohost/compare/ad5c0f0cc624...5d9b91af965c
[14:27:14] <Yunohost Git/Infra notifications> [yunohost/enh-backup-repo] [fix] Store tags as list if default is a list - ljf
[14:27:17] <Yunohost Git/Infra notifications> [yunohost/enh-backup-repo] [enh] Pause and start a timer - ljf
[15:21:03] <Yunohost Git/Infra notifications> [yunohost] Pipeline failed on GitLab https://gitlab.com/yunohost/yunohost/-/pipelines/675425537 on commit https://github.com/YunoHost/yunohost/commit/5d9b91af965cfc166a19b87b84c0e0b077c7516e "[enh] Pause and start a timer" by @ljf on branches enh-backup-repo
[15:56:10] <Yunohost Git/Infra notifications> [yunohost-admin] @alexAubin commented on pull request #468 11.1: suggestion <img alt="YunoHost logo" src="./assets/logo_light.png" width="40"> https://github.com/YunoHost/yunohost-admin/pull/468#discussion_r1003487227
[15:56:27] <Yunohost Git/Infra notifications> [yunohost-admin] @alexAubin pushed 1 commit to 11.1: Yunohost -> YunoHost Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> https://github.com/YunoHost/yunohost-admin/commit/4d5a8cdfa891759786738cb2428a7eafe8f44065
[15:58:04] <Yunohost Git/Infra notifications> [yunohost-admin] @alexAubin merged pull request #468: 11.1 https://github.com/YunoHost/yunohost-admin/pull/468
[15:58:05] <Yunohost Git/Infra notifications> [yunohost-admin] @alexAubin pushed 85 commits to dev: https://github.com/YunoHost/yunohost-admin/compare/1a1c5bd5858a...027c2640fc15
[15:58:08] <Yunohost Git/Infra notifications> [yunohost-admin/dev] Merge pull request #463 from YunoHost/dark-mode [WIP] Add dark theme setting - Alexandre Aubin
[15:58:10] <Yunohost Git/Infra notifications> [yunohost] @alexAubin merged pull request #1502: 11.1 https://github.com/YunoHost/yunohost/pull/1502
[15:58:12] <Yunohost Git/Infra notifications> [yunohost-admin/dev] Yunohost -> YunoHost Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> - Alexandre Aubin
[15:58:18] <Yunohost Git/Infra notifications> [yunohost] @alexAubin edited pull request #531: [wip] Backup location https://github.com/YunoHost/yunohost/pull/531
[15:58:18] <Yunohost Git/Infra notifications> [yunohost-admin/dev] Merge pull request #468 from YunoHost/11.1 11.1 - Alexandre Aubin
[15:58:18] <Yunohost Git/Infra notifications> [yunohost] @alexAubin deleted branch 11.1
[15:58:19] <Yunohost Git/Infra notifications> [yunohost] @alexAubin pushed 212 commits to dev: https://github.com/YunoHost/yunohost/compare/933603ae1ecd...55baa2aa4aed
[15:58:20] <Yunohost Git/Infra notifications> [yunohost] @alexAubin closed pull request #1451: Add a global setting for IPv6 only https://github.com/YunoHost/yunohost/pull/1451
[15:58:20] <Yunohost Git/Infra notifications> [yunohost-admin] @alexAubin closed pull request #453: Allowing to unsubscribe from DynDNS domains https://github.com/YunoHost/yunohost-admin/pull/453
[15:58:20] <Yunohost Git/Infra notifications> [yunohost] @alexAubin closed pull request #1471: [enh] Use multiple servers behind get_public_ip to prevent a single point of failure when ip.yunohost.org is down https://github.com/YunoHost/yunohost/pull/1471
[15:58:20] <Yunohost Git/Infra notifications> [yunohost-admin] @alexAubin deleted branch 11.1
[15:58:26] <Yunohost Git/Infra notifications> [yunohost/dev] Merge pull request #1502 from YunoHost/11.1 11.1 - Alexandre Aubin
[15:58:48] <Yunohost Git/Infra notifications> [yunohost] @alexAubin created new branch 11.1
[15:58:55] <Yunohost Git/Infra notifications> [yunohost] @alexAubin reopened pull request #1451: Add a global setting for IPv6 only https://github.com/YunoHost/yunohost/pull/1451
[15:59:01] <Yunohost Git/Infra notifications> [yunohost] @alexAubin edited pull request #1451: Add a global setting for IPv6 only https://github.com/YunoHost/yunohost/pull/1451
[15:59:11] <Yunohost Git/Infra notifications> [yunohost] @alexAubin reopened pull request #1471: [enh] Use multiple servers behind get_public_ip to prevent a single point of failure when ip.yunohost.org is down https://github.com/YunoHost/yunohost/pull/1471
[15:59:20] <Yunohost Git/Infra notifications> [yunohost] @alexAubin edited pull request #1471: [enh] Use multiple servers behind get_public_ip to prevent a single point of failure when ip.yunohost.org is down https://github.com/YunoHost/yunohost/pull/1471
[15:59:42] <Yunohost Git/Infra notifications> [yunohost-admin] @yunohost-bot opened pull request #478: Translations update from Weblate https://github.com/YunoHost/yunohost-admin/pull/478
[16:00:38] <Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost/11.0.10.1+202210241600 for bullseye/unstable/all ...
[16:01:55] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost/11.0.10.1+202210241600 for bullseye/unstable/all.
[16:02:16] <Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost-admin/11.0.11+202210241600 for bullseye/unstable/all ...
[16:07:27] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost-admin/11.0.11+202210241600 for bullseye/unstable/all.
[16:59:19] <Yunohost Git/Infra notifications> [yunohost] @yunohost-bot pushed 1 commit to ci-format-dev: [CI] Format code with Black https://github.com/YunoHost/yunohost/commit/7c05df05b748a88143936bdae7f82bc00ea5efdc
[16:59:19] <Yunohost Git/Infra notifications> [yunohost] @yunohost-bot opened pull request #1520: [CI] Format code with Black https://github.com/YunoHost/yunohost/pull/1520
[16:59:19] <Yunohost Git/Infra notifications> [yunohost] @yunohost-bot created new branch ci-format-dev
[17:03:06] <Salamandar> Hey, i was using yunohost 11 unstable, and yunohost/admin/update tells me there are migrations waiting… but there are none
[17:03:22] <Salamandar> ¯\_(ツ)_/¯
[17:03:40] <Salamandar> `sudo yunohost tools migrations list` shows 0021_migrate_to_bullseye, 0022_php73_to_php74_pools and 0023_postgresql_11_to_13 skipped, that makes sense
[17:03:50] <Salamandar> but the web UI doesn't seem to understand skipped migrations
[17:04:45] <Aleks (he/him/il/lui)> cf https://forum.yunohost.org/t/after-update-from-11-0-9-15-to-11-0-10-there-are-some-pending-migrations-waiting-to-be-run/21720/2
[17:05:01] <Salamandar> If i edit /etc/yunohost/migrations.yml to replace skipped with done, it doesn't change
[17:05:01] <Salamandar> a
[17:05:02] <Salamandar> ah
[17:06:13] <Salamandar> OK that makes the trick, thanks ! didn't think of checking the forum
[17:06:40] <Aleks (he/him/il/lui)> but also : don't use yunohost unstable except for dev purpose @_@
[17:06:55] <Salamandar> it was unstable at the very beginning of yunohost 11 :)
[17:07:10] <Salamandar> I switched on stable as soon as possible
[17:07:23] <Aleks (he/him/il/lui)> 😬
[17:13:47] <Yunohost Git/Infra notifications> [yunohost] Pipeline failed on GitLab https://gitlab.com/yunohost/yunohost/-/pipelines/675533788 on commit https://github.com/YunoHost/yunohost/commit/55baa2aa4aedf36f5d63eec8cc6ebf364236ef49 "Merge pull request #1502 from YunoHost/11.1 11.1" by @GitHub on branches dev, ci-format-dev
[18:07:18] <Yunohost Git/Infra notifications> [yunohost] Pipeline failed on GitLab https://gitlab.com/yunohost/yunohost/-/pipelines/675584810 on commit https://github.com/YunoHost/yunohost/commit/7c05df05b748a88143936bdae7f82bc00ea5efdc "[CI] Format code with Black" by @yunohost-bot on branches ci-format-dev
[18:47:27] <eric_G> Aleks (he/him/il/lui): Is there a sample app impementing manifest v2?
[19:04:08] <Aleks (he/him/il/lui)> eric_G:
[19:04:12] <Aleks (he/him/il/lui)> yes there is https://github.com/YunoHost-Apps/helloworld_ynh
[19:04:24] <Aleks (he/him/il/lui)> and also https://github.com/YunoHost/test_apps/tree/master/manifestv2_app_ynh
[19:04:47] <Aleks (he/him/il/lui)> (which is ~basically hextris though tweaked to add dummy apt dependencies for tests)
[19:06:08] <Aleks (he/him/il/lui)> and there's also the `convert_app_to_packaging_v2.py` script : https://github.com/YunoHost/apps/tree/master/tools/packaging_v2 which is meant to be used with `python3 convert_app_to_packaging_v2.py /path/to/your/app/folder` and will attempt to transform what it can from v1 to v2
[19:06:33] <Aleks (he/him/il/lui)> including creating a `manifest.toml` with was it was able to parse from script, and commenting out now-uncessary lines in the scripts
[19:07:22] <Aleks (he/him/il/lui)> but i should try to provide a more detailed explanation of all the stuff to be aware of about packaging v2 during next meeting ideally ;P
[19:07:58] <Aleks (he/him/il/lui)> basically https://github.com/YunoHost/test_apps/tree/master/manifestv2_app_ynh was created from running `convert_app_to_packaging_v2.py` on hextris + me re-tweaking a bunch of stuff after this
[19:10:42] <eric_G> and this script? `convert_v1_manifest_to_v2_for_catalog.py`
[19:11:45] <Aleks (he/him/il/lui)> it's only meant for the catalog build, because the new catalog version will include all apps with the new manifest structure, which is easier to handle from the code, even though the packaging is still v1
[19:12:56] <eric_G> Thanks, I am gonna look into this 👍️
[19:13:46] <Aleks (he/him/il/lui)> https://i.imgflip.com/6y4b1u.jpg
[19:37:22] <eric_G> Ok I have migrate my first v2 app. It's much lighter on lines!
[19:38:18] <Aleks (he/him/il/lui)> yup :D
[19:38:43] <eric_G> so we are moving from `__FINALPATH__` to `__INSTALL_DIR__`
[19:42:28] <eric_G> I guess all the apps are now installed in the `/var/www/$app` path by default now
[19:44:45] <eric_G> One thing that is somehow hard to set are `disk`, `ram.build`, `ram.runtime` values...
[19:46:13] <Aleks (he/him/il/lui)> > <@ericg:matrix.org> I guess all the apps are now installed in the `/var/www/$app` path by default now

hmm yup though you can override this in the "install_dir" resource using `dir = "/foo/bar/__APP__"`
[19:47:17] <Aleks (he/him/il/lui)> > <@ericg:matrix.org> so we are moving from `__FINALPATH__` to `__INSTALL_DIR__`

yeah because hmgn "finalpath" was not really meaningful and there as some inconsitencies with `FINALPATH` being replaced with `$final_path` (not the extra `_`) and hmpf
[19:47:39] <Aleks (he/him/il/lui)> and did some auto-homogeneistation(?) for DATA_DIR too (instead of datadir)
[19:48:33] <Aleks (he/him/il/lui)> (the core should automagically pick up the old datadir / data_dir value, there's nothing to handle in the upgrade script about this)
[19:48:37] <Aleks (he/him/il/lui)> (same for install_dir / finalpath)
[19:49:41] <Aleks (he/him/il/lui)> ah there's supposed to be some doc about resources autogenerated somewhere
[19:53:32] <eric_G> one more question
[19:53:50] <eric_G> ```
[resources.database]
type = "mysql"
```
[19:55:19] <Aleks (he/him/il/lui)> (yolo commited the autogenerated doc here : https://github.com/YunoHost/doc/blob/resources-doc/pages/06.contribute/10.packaging_apps/11.helpers/packaging_apps_resources.md )
[19:55:58] <eric_G> i guess `resources.database` accepts PostgreSQL and MongoDB
[19:56:43] <Aleks (he/him/il/lui)> eeeh
[19:56:49] <Aleks (he/him/il/lui)> only mysql and postgresql for now
[19:57:01] <Aleks (he/him/il/lui)> maybe we could add support for mongodb yeah
[19:57:15] <Aleks (he/him/il/lui)> i don't know if I digged into this, I wonder if there's really that many apps using mongodb
[19:57:35] <Aleks (he/him/il/lui)> and maybe it's not trivial to adapt because maybe there's no user / password to create ?
[19:57:42] <eric_G> a bunch but not many
[19:58:08] <eric_G> rocket.chat
[19:58:33] <eric_G> and maybe 2 or 3 more
[19:58:46] <eric_G> maybe not woth the timr
[19:58:50] <eric_G> *time
[19:58:55] <eric_G> *worth
[20:00:54] <Aleks (he/him/il/lui)> ah also FYI the linter doesnt really handle v2 apps at all for now @_@
[20:01:30] <Aleks (he/him/il/lui)> it will probably miserably crash because it will expect a manifest.json and not a manifest.toml
[20:03:37] <eric_G> ok, I will wait for the 11.1 to be released to test
[20:25:42] <eric_G> I noticed the the PHP dependencies got removed `#REMOVEME? pkg_dependencies="php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-tidy php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-gd"` during the migration
[20:36:52] <Yunohost Git/Infra notifications> @ericgaspar forked yunohost to ericgaspar/yunohost: https://github.com/ericgaspar/yunohost
[20:46:25] <Aleks (he/him/il/lui)> > <@ericg:matrix.org> I noticed the the PHP dependencies got removed `#REMOVEME? pkg_dependencies="php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-tidy php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-gd"` during the migration

hmyeah now they should be in the `apt` resources ... though I don't know what happens regarding the use of ${YNH_PHP_VERSION}
[20:46:42] <Aleks (he/him/il/lui)> i probably thought about that several times but don't remember the conclusion @_@
[20:51:59] <eric_G>
ah ok, apparently the migration script did not create
`[resources.apt]
packages = ""` with the PHP dependencies.

[20:54:10] <Aleks (he/him/il/lui)> 🙀
[20:57:56] <Tag> https://github.com/juanfont/headscale :o
[20:58:02] <Tag> cc tituspijean
[20:58:50] <tituspijean> yup: https://matrix.to/#/!vfnaMAlPfAFMEJcjJo:matrix.org/$ZmTkM6YzIEciXoF1:pijean.ovh?via=matrix.org&via=aria-net.org&via=libera.chat
[20:59:33] <Tag> oupsi je suis passé à côté de celui là
[20:59:50] <Aleks (he/him/il/lui)> gotta dig into it but clearly the code looks a bit funky especially the maybequote definition 😅 https://github.com/YunoHost/apps/blob/master/tools/packaging_v2/convert_app_to_packaging_v2.py#L107
[21:00:13] <Tag> (envie de tester ça pour mettre à côté du ovpn chez aquilenet)
[21:00:57] <tituspijean> si tu arrives à faire fonctionner le reverse proxy, je suis preneur de tes lumières 😅
[21:03:54] <Tag> vouip ! est-ce que tu as déjà une ébauche de package ou qqchose, ou c'était juste comme ça ?
[21:18:46] <Yunohost Git/Infra notifications> [yunohost] @zamentur pushed 1 commit to enh-backup-repo: [enh] Prune and keep options https://github.com/YunoHost/yunohost/commit/3a6f1bd6127865c626829f9af6031ab888555fe9
[21:25:17] <Yunohost Git/Infra notifications> [yunohost] @zamentur edited pull request #531: [wip] Backup location https://github.com/YunoHost/yunohost/pull/531
[21:34:11] <tituspijean> > <@tag:lostpod.me> vouip ! est-ce que tu as déjà une ébauche de package ou qqchose, ou c'était juste comme ça ?

J'ai juste téléchargé la binaire et installé une app redirect:

```
location / {
proxy_pass http://127.0.0.1:8888;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Forwarded-Port $server_port;

proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";

proxy_set_header Host $server_name;
proxy_redirect http:// https://;
proxy_buffering off;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;

# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
more_clear_input_headers 'Accept-Encoding';
}
```
[21:34:38] <tituspijean> (et modifié le port évidemment ^^)
[21:36:39] <Tag> wokay je jetterai un coup d'oeil o/
[22:30:48] <Yunohost Git/Infra notifications> [yunohost] Pipeline failed on GitLab https://gitlab.com/yunohost/yunohost/-/pipelines/675759561 on commit https://github.com/YunoHost/yunohost/commit/3a6f1bd6127865c626829f9af6031ab888555fe9 "[enh] Prune and keep options" by @ljf on branches enh-backup-repo
[23:07:32] <Yunohost Git/Infra notifications> [yunohost] @alexAubin pushed 1 commit to dev: Cleanup stale i18n strings https://github.com/YunoHost/yunohost/commit/1971495f45300ca1f706b04361da1b2910d10fb7
[23:07:53] <Yunohost Git/Infra notifications> [yunohost] @alexAubin pushed 2 commits to dev: https://github.com/YunoHost/yunohost/compare/1971495f4530...b27908a454b8
[23:07:54] <Yunohost Git/Infra notifications> [yunohost] @alexAubin merged pull request #1520: [CI] Format code with Black https://github.com/YunoHost/yunohost/pull/1520
[23:07:55] <Yunohost Git/Infra notifications> [yunohost] @alexAubin deleted branch ci-format-dev
[23:07:56] <Yunohost Git/Infra notifications> [yunohost/dev] [CI] Format code with Black - yunohost-bot
[23:07:59] <Yunohost Git/Infra notifications> [yunohost/dev] Merge pull request #1520 from YunoHost/ci-format-dev [CI] Format code with Black - Alexandre Aubin
[23:14:10] <Yunohost Git/Infra notifications> [yunohost] Pipeline canceled on GitLab https://gitlab.com/yunohost/yunohost/-/pipelines/675815090 on commit https://github.com/YunoHost/yunohost/commit/1971495f45300ca1f706b04361da1b2910d10fb7 "Cleanup stale i18n strings" by @Alexandre Aubin on branches dev
[23:15:25] <Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost/11.0.10.1+202210242315 for bullseye/unstable/all ...
[23:16:25] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost/11.0.10.1+202210242315 for bullseye/unstable/all.
[23:23:11] <Yunohost Git/Infra notifications> [yunohost] @zamentur edited pull request #531: [wip] Backup location https://github.com/YunoHost/yunohost/pull/531
[23:24:20] <Yunohost Git/Infra notifications> [yunohost] @zamentur edited pull request #531: [wip] Backup location https://github.com/YunoHost/yunohost/pull/531