Thursday, September 21, 2023
apps@conference.yunohost.org
September
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
 
             

[02:50:23] <Yunohost Git/Infra notifications> App sutom rises from level 6 to 8 in job [#18726](https://ci-apps.yunohost.org/ci/job/18726) !
[05:37:08] <Yunohost Git/Infra notifications> App dex goes down from level 8 to 2 in job [#18729](https://ci-apps.yunohost.org/ci/job/18729)
[07:42:12] <tituspijean> I have just discovered `node --max_old_space_size=1536` (for 1.5GB RAM) to limit memory usage during node commands. It works with Tooljet for example!

`$ynh_node --max_old_space_size=1536 $ynh_npm run build` (or whatever command needed)

That will limit the infarious out-of-memory `Killed` that often times happens. I guess we could update the nodejs helper to automagically calculate the allocated max memory.
[08:46:43] <orhtej2> > <@titus:pijean.ovh> I have just discovered `node --max_old_space_size=1536` (for 1.5GB RAM) to limit memory usage during node commands. It works with Tooljet for example!
>
> `$ynh_node --max_old_space_size=1536 $ynh_npm run build` (or whatever command needed)
>
> That will limit the infarious out-of-memory `Killed` that often times happens. I guess we could update the nodejs helper to automagically calculate the allocated max memory.

Was going to say better make sure you have enough swap space but what's it going to do, crash with oom? How's that different from current behaviour
[08:48:13] <orhtej2> Word of caution is: Default max is computed from available ram ,once you push pass that value node starts using swap and performance tanks
[08:49:25] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar pushed 1 commit to oldstable: 26.0.7 ([f8ee99b1](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/f8ee99b10e070515c1acb785612ce287946da9ec))
[08:49:28] <Yunohost Git/Infra notifications> [nextcloud_ynh] @yunohost-bot pushed 1 commit to oldstable: Auto-update README ([cbc5f913](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/cbc5f91305eced5466b7450cde3a2dbf6bada947))
[08:49:41] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar edited [pull request #592](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/592): 26.0.7 (Oldstable)
[08:49:49] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar [commented](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/592#issuecomment-1729132582) on [issue #592](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/592) 26.0.7 (Oldstable): testme
[08:49:51] <Yunohost Git/Infra notifications> [nextcloud_ynh] @yunohost-bot [commented](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/592#issuecomment-1729132631) on [issue #592](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/592) 26.0.7 (Oldstable): :rocket:
[[Test Badge](https://img.shields.io/endpoint?url=https://ci-apps-dev.yunohost.org/ci/api/job/9736/badge)](htt...
[08:53:40] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar pushed 1 commit to v2_PostgreSQL: Update tests.toml ([3812b23f](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/3812b23fd8627ac446a15726c21aa2c522604407))
[08:54:00] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar [commented](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/597#issuecomment-1729139222) on [issue #597](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/597) V2 postgresql: testme
[08:54:03] <Yunohost Git/Infra notifications> [nextcloud_ynh] @yunohost-bot [commented](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/597#issuecomment-1729139289) on [issue #597](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/597) V2 postgresql: May the CI gods be with you
[[Test Badge](https://img.shields.io/endpoint?url=https://ci-apps-dev.yunohost.org/ci/api/...
[09:11:51] <tituspijean> > Word of caution is: Default max is computed from available ram ,once you push pass that value node starts using swap and performance tanks

here I don't care about performance, it's the build process of the app. I had 1GB RAM, 2GB swap, and the build process was always killed ; with the flag, now the app is nicely installed with no hiccup :)
[09:51:12] <orhtej2> > <@titus:pijean.ovh> here I don't care about performance, it's the build process of the app. I had 1GB RAM, 2GB swap, and the build process was always killed ; with the flag, now the app is nicely installed with no hiccup :)

I managed to build element with 1GB RAM + 6GB swap although it took over an hour,most of the time was wasted by system memory manager and at multiple points even sshd was on verge of dying , offering real sluggish console refreshes
[10:47:08] <lapineige> That could be tried with a lot of zram
[10:47:30] <lapineige> Virtually you would get 2-4GB of RAM before it swaps
[11:07:02] <orhtej2> where were variables available in `install` documented? I'm looking for what's replaced as `__DB_NAME__`
[11:08:53] <orhtej2> I'm guessing `$db_name`
[11:09:12] <orhtej2> https://github.com/YunoHost/yunohost/blob/465f6da5cd4d716bbcb802dfd742114083034235/helpers/utils#L535C1-L535C3
[11:12:41] <Tag> db\_name is handled by the DatabaseRessource thing, not install question
[11:12:58] <Tag> But I don't understand fully your question. What are you trying to do ? orhtej2
[11:21:39] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar pushed 1 commit to v2_PostgreSQL: 27.1.1 ([a87205bb](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/a87205bb211b066d34e31f3136774521807faa04))
[11:21:42] <Yunohost Git/Infra notifications> [nextcloud_ynh] @yunohost-bot pushed 1 commit to v2_PostgreSQL: Auto-update README ([afc3084a](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/afc3084ae465ad8cac304ac4dfbceab0cbb5a11d))
[11:22:25] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar pushed 1 commit to v2: 27.1.1 ([cc605dc4](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/cc605dc4eb39f972a112c517948ff236eef45e47))
[11:22:25] <Yunohost Git/Infra notifications> [nextcloud_ynh] @yunohost-bot pushed 1 commit to v2: Auto-update README ([4fd1ef1b](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/4fd1ef1b3b5a1a2b6b541b035412aa2ecdb30f75))
[11:22:45] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar pushed 1 commit to 27.1.0: 27.1.1 ([a5964f1f](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/a5964f1fdf559205211038626bf772ba8ad3b75a))
[11:22:48] <Yunohost Git/Infra notifications> [nextcloud_ynh] @yunohost-bot pushed 1 commit to 27.1.0: Auto-update README ([9489634b](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/9489634b1d43a393487847bb46956ab9d1384189))
[11:22:58] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar edited [pull request #604](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/604): 27.1.1
[11:23:04] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar [commented](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/604#issuecomment-1729371844) on [issue #604](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/604) 27.1.1: testme
[11:23:06] <Yunohost Git/Infra notifications> [nextcloud_ynh] @yunohost-bot [commented](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/604#issuecomment-1729371888) on [issue #604](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/604) 27.1.1: May the CI gods be with you
[[Test Badge](https://img.shields.io/endpoint?url=https://ci-apps-dev.yunohost.org/ci/api/...
[11:24:23] <Tag> > <@tag:lostpod.me> But I don't understand fully your question. What are you trying to do ? orhtej2

I re-read it and yes, it's $db_name (you were talking about the install script, not the install category of the manifest)
[13:07:14] <Yunohost Git/Infra notifications> [nextcloud_ynh] @TheTrveAnthony closed [issue #601](https://github.com/YunoHost-Apps/nextcloud_ynh/issues/601): Cannot update due to back up fail
[13:09:40] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar pushed 1 commit to 27.1.0: Update check_process ([e9971f97](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/e9971f976bc6c742edfd73a92df614e6572a9282))
[13:09:58] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar [commented](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/604#issuecomment-1729536971) on [issue #604](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/604) 27.1.1: testme
[13:10:03] <Yunohost Git/Infra notifications> [nextcloud_ynh] @yunohost-bot [commented](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/604#issuecomment-1729537329) on [issue #604](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/604) 27.1.1: :carousel_horse:
[[Test Badge](https://img.shields.io/endpoint?url=https://ci-apps-dev.yunohost.org/ci/api/job/9744/bad...
[13:57:07] <Salamandar> Hello !
[13:57:24] <Salamandar> Do you think the manifest (and yunohost) supports having two urls for upstream / code / etc ?
[13:57:39] <orhtej2> > <@Salamandar:matrix.org> Do you think the manifest (and yunohost) supports having two urls for upstream / code / etc ?

As different assets yes
[13:57:39] <Salamandar> I’m writing a package for httpsh, that is a "simple script" called by ttyd
[13:57:49] <Salamandar> so it’s actually two projects in one
[13:58:08] <Salamandar> I was mostly thinking about the readme / app list
[13:58:22] <Salamandar> also for the "fund" url ^^
[13:58:33] <Salamandar> both projects have a fund page
[13:59:37] <Salamandar> maybe if I write `fund = "url1>, <url2"` the final markdown file will be valid 😆
[14:01:29] <orhtej2> > <@Salamandar:matrix.org> I was mostly thinking about the manifest / app list

Ah,so not installation files but rather upstream URL?
[14:01:33] <orhtej2> No clue then
[14:01:44] <Salamandar> yeah
[14:02:00] <Salamandar> actually ttyd will be installed via apt, and httpsh will be downloaded from github
[14:02:25] <Salamandar> initially I wanted to just package ttyd that does the "heavy lifting", but httpsh provides a nice helper script, so I wanted to credit both projects
[14:03:46] <Aleks (he/him/il/lui)> > <@Salamandar:matrix.org> Do you think the manifest (and yunohost) supports having two urls for upstream / code / etc ?

uuugh no please god no the content is mean to be used in `href` etc, dont try to multiplex stuff it will be nonsense x_x
[14:04:19] <Salamandar> haha alright alright
[14:04:25] <Aleks (he/him/il/lui)> and idk how to handle this in your case but really we aint gonna complexify the format just for some random case where multiple stuff are packaged as one app for some reason x_x
[14:04:55] <Aleks (he/him/il/lui)> of you can create 2 apps with some sort of dependency mechanism (like there is for eg mautrix bridges which requires synapse) but hmpf
[14:05:08] <Salamandar> > <@Alekswag:matrix.org> of you can create 2 apps with some sort of dependency mechanism (like there is for eg mautrix bridges which requires synapse) but hmpf

very meh
[14:05:22] <Salamandar> I’ll just fill the description.md with all that
[14:06:02] <Salamandar> httpsh even comes with a properly configured fail2ban config. The guy really did all the job.
[14:06:13] <Salamandar> https://github.com/leshniak/httpsh/tree/7d80fac0d48f30e29eaff9a7471399c19ad31518
[14:23:32] <orhtej2> Generator does not seem to like multiple upstreams: https://github.com/YunoHost/apps/blob/ca1828caee1bd58417e1ff4e2f455bdb1f33b230/tools/README-generator/templates/README.md.j2#L67
[14:26:35] <Salamandar> could be changed though. But the issue is that it should be changed in the yunohost admin dashboard source code too…
[14:30:52] <Salamandar> And as Aleks said, this is such a rare corner case I won’t spend too much time working on that 😄
[14:32:48] <orhtej2> > <@Salamandar:matrix.org> And as Aleks said, this is such a rare corner case I won’t spend too much time working on that 😄

That was my point, I believe @Tag has (un)official schema for manifest.toml somewhere and we're not that happy about changing it at this point. Packaging v3 when? 😜
[14:33:00] <Salamandar> 😆
[14:48:48] <Salamandar> tag does not agree
[14:54:33] <orhtej2> > <@Salamandar:matrix.org> tag does not agree

Noticed,must have been someone else but Fluffychat does not support search
[14:55:04] <Salamandar> 😄
[14:55:09] <Salamandar> most matrix clients don’t
[14:55:17] <Salamandar> this is the number 1 feature i’m still waiting
[15:34:41] <Tag> C'est pas toi Salamandar pour les toml schema ?
[15:34:53] <Salamandar> si c’est moi ^^
[15:35:03] <Tag> Je confond les contributeurices /o\
[15:35:05] <Salamandar> et ya des améliorations à faire je sais 😛
[15:35:11] <Salamandar> ah ah
[15:35:27] <Salamandar> d’ailleurs si vous avez moyen de tourner le linter sur toutes les applis et m’envoyer les résultats je veux bien résoudre les bugs
[15:35:41] <Salamandar> flemme de scripter le DL de tous les manifest.toml 😄
[15:35:54] <Salamandar> même si ça serait pas très long à faire ne fait
[15:36:50] <Tag> Mmmh je pense que la CI-apps fait déjà ça
[15:38:48] <Salamandar> oui mais va récupérer tous les résultats 😛
[15:38:56] <Salamandar> moi j’ai pas accès à l’infra
[15:39:10] <Salamandar> je sais pas si les résultats sont stockés quelque part?
[15:41:07] <Tag> Mmh oui il doit y avoir des .log un peu sales (qui doivent être aussi exposés via http?), je regarde ça une fois ma migraine passée et je te fais signe
[15:45:53] <Salamandar> 😄
[15:45:56] <Salamandar> courage
[15:58:18] <Yunohost Git/Infra notifications> App mybb rises from level 6 to 8 in job [#18741](https://ci-apps.yunohost.org/ci/job/18741) !
[16:05:57] <Salamandar> Tag: don’t bother, i made a script to mass download the files
[16:06:15] <Salamandar> 1s per repo, gonna be slow though. If only I knew multiprocess python…
[16:06:49] <Tag> ouch
[16:17:14] <Salamandar> well
[16:18:16] <Salamandar> ```
~/t/y/manifests ❯❯❯ ./check_manifests.sh 2>&1 | grep '^error:' | sort | uniq -c | sort -rn
227 error: Additional properties are not allowed ('full_domain' was unexpected)
138 error: Additional properties are not allowed ('antifeatures' was unexpected)
89 error: Additional properties are not allowed ('select' was unexpected)
52 error: Additional properties are not allowed ('label' was unexpected)
26 error: Additional properties are not allowed ('pattern' was unexpected)
18 error: Additional properties are not allowed ('zip' was unexpected)
11 error: Additional properties are not allowed ('main' was unexpected)
6 error: "?" is not valid under any of the schemas listed in the 'anyOf' keyword
5 error: Additional properties are not allowed ('mail_user' was unexpected)
4 error: "jar" is not one of ["tar.gz","tar.xz","tar.bz2","zip","docker","whatever"]
4 error: "false" is not valid under any of the schemas listed in the 'anyOf' keyword
4 error: "???" does not match "^cpe:2\.3:a:[a-zA-Z0-9_-]*:[a-zA-Z0-9_-]*$"
4 error: "__APP__:rwx" does not match "^([a-z_][a-z0-9_-]{0,30})(:[rwx-]{3})?$"
3 error: ["https://patreon.com/bookwyrm","https://opencollective.com/bookwyrm"] is not of type "string"
3 error: "__APP__:rx" does not match "^([a-z_][a-z0-9_-]{0,30})(:[rwx-]{3})?$"
2 error: "tombursch/kitchenowl:v75" is not a "uri"
2 error: "__SERVER_NAME__/.well-known/matrix" does not match "^/.*$"
2 error: "__DOMAIN__/_matrix" does not match "^/.*$"
1 error: "You need to include 'https://' in the URL" is not of type "object"
1 error: "www-data:rx" does not match "^([a-z_][a-z0-9_-]{0,30})(:[rwx-]{3})?$"
1 error: "upload" is not of type "array"
1 error: "Token generated from Peertube web admin UI" is not of type "object"
1 error: "It doesn't need to be accessible to anyone. Use 'admins'." is not of type "object"
1 error: "https://gitlab.com/gitlab-org/omnibus-gitlab - https://gitlab.com/gitlab-org/gitlab" is not a "uri-reference"
1 error: "cpe:2.3:a:healthchecks:healthchecks:-:*:*:*:*:*:*:*" does not match "^cpe:2\.3:a:[a-zA-Z0-9_-]*:[a-zA-Z0-9_-]*$"

```
[16:29:50] <Salamandar> i’m doing some merge requests, but some errors are actual missing features of the current manifest
[16:30:03] <Salamandar> (like resources.permissions.<permission>.label)
[16:30:45] <Salamandar> > 3 error: ["https://patreon.com/bookwyrm","https://opencollective.com/bookwyrm"] is not of type "string"

Looks like i’m not the only one with the "multiple support urls" problem 😄
[16:40:59] <orhtej2> > <@Salamandar:matrix.org> Tag: don’t bother, i made a script to mass download the files

https://github.com/YunoHost/apps/blob/master/list_builder.py
[16:41:14] <orhtej2> This one mass checkouts all apps
[16:45:24] <orhtej2> > <@Salamandar:matrix.org> si c’est moi ^^

It was you the entire time?!
[16:59:41] <Aleks (he/him/il/lui)> > <@Salamandar:matrix.org> d’ailleurs si vous avez moyen de tourner le linter sur toutes les applis et m’envoyer les résultats je veux bien résoudre les bugs

yep i have this
[17:10:37] <Aleks (he/him/il/lui)> ugh it's superslow, I believe maybe the json schema analysis is slow or something x_x
[17:10:46] <Aleks (he/him/il/lui)> or maybe the schema fetching is not cached ?
[17:11:40] <Aleks (he/him/il/lui)> hmm yes it is cached, nvm, investigating
[17:15:56] <Salamandar> > It was you the entire time?!

Uh.. yeah... i guess ? Did i do something bad ? 😅
[17:16:17] <Salamandar> > <@Alekswag:matrix.org> yep i have this

In reply to @Alekswag:matrix.org
yep i have this

Oh i did a script on my own dont worry
[17:16:35] <Aleks (he/him/il/lui)> hmkay you made a mass fetch of all the git repos ?
[17:16:35] <Salamandar> > <@Alekswag:matrix.org> yep i have this

In reply to Aleks (he/him/il/lui)
yep i have this

Oh i did a script on my own dont worry

[17:16:45] <Salamandar> > <@Alekswag:matrix.org> yep i have this



Oh i did a script on my own dont worry

[17:16:51] <Salamandar> > <@Alekswag:matrix.org> hmkay you made a mass fetch of all the git repos ?

Only the manifest
[17:16:57] <Salamandar> Let me put in on a gist
[17:17:33] <Aleks (he/him/il/lui)> strictly speaking the linter doesn't just lint the manifest but maybe you want to only check the json schema ;P
[17:18:41] <Salamandar> oh yes yes it was about the schema 😄
[17:19:27] <Salamandar> ><’
[17:19:27] <Salamandar> let me install hastebin
[17:23:08] <Tag> (why don't people use YunoPaste ? @-@') /s
[17:25:11] <Salamandar> https://paste.salamandar.fr/joledilero.py
[17:25:12] <Salamandar> > <@tag:lostpod.me> (why don't people use YunoPaste ? @-@') /s

ah ah
[18:47:26] <Aleks (he/him/il/lui)> @room : meeting o clock o/ link to the audio meeting to be shared in private upon request
read-only version for the pad : https://pad.pijean.ovh/pad/#/2/pad/view/d1D6DdvkJIk8tBG3rtUi9Vc4a5RaenxvWe0GWDmMslw/embed/
[20:13:55] <Yunohost Git/Infra notifications> [apps] @Salamandar opened [pull request #1737](https://github.com/YunoHost/apps/pull/1737): Update logo for home assistant
[20:14:00] <Yunohost Git/Infra notifications> [apps] @Salamandar edited [pull request #1737](https://github.com/YunoHost/apps/pull/1737): Update logo for home assistant
[20:14:06] <Yunohost Git/Infra notifications> [apps] @Salamandar edited [pull request #1737](https://github.com/YunoHost/apps/pull/1737): Update logo for home assistant
[20:35:55] <Yunohost Git/Infra notifications> [apps] @alexAubin pushed 2 commits to master ([ca1828caee1b...102858c4da36](https://github.com/YunoHost/apps/compare/ca1828caee1b...102858c4da36))
[20:35:55] <Yunohost Git/Infra notifications> [apps] @alexAubin merged [pull request #1737](https://github.com/YunoHost/apps/pull/1737): Update logo for home assistant
[20:35:59] <Yunohost Git/Infra notifications> [apps/master] update logo for home assistant - Félix Piédallu
[20:36:03] <Yunohost Git/Infra notifications> [apps/master] Merge pull request #1737 from Salamandar/hass_logo Update logo for home assistant - Alexandre Aubin