Monday, October 07, 2024
apps@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:08:22] <miro5001> Ci seems sleeping 😴
[00:34:29] <Yunohost Git/Infra notifications> App bazarr goes down from level 6 to 2 in job [#31069](https://ci-apps.yunohost.org/ci/job/31069)
[04:48:41] <Yunohost Git/Infra notifications> Autoupdater just ran, here are the results:

- 62 pending update PRs
- 20 new apps PRs
- 4 failed apps updates: fluffychat, mobilizon, pinkarrows, screego

See the full log here: http://paste.yunohost.org/raw/jafedoyulu
[05:16:13] <Yunohost Git/Infra notifications> App kresus rises from level 6 to 8 in job [#31076](https://ci-apps.yunohost.org/ci/job/31076) !
[06:40:18] <Yunohost Git/Infra notifications> App xwiki stays at level 1 in job [#31086](https://ci-apps.yunohost.org/ci/job/31086)
[06:50:15] <Yunohost Git/Infra notifications> App rallly stays at level 1 in job [#31087](https://ci-apps.yunohost.org/ci/job/31087)
[07:26:10] <Yunohost Git/Infra notifications> [gitlab_ynh] kay0u [commented](https://github.com/YunoHost-Apps/gitlab_ynh/pull/265#issuecomment-2396127597) on [issue #265](https://github.com/YunoHost-Apps/gitlab_ynh/pull/265) Testing: testme
[07:26:10] <Yunohost Git/Infra notifications> [gitlab_ynh] yunohost-bot [commented](https://github.com/YunoHost-Apps/gitlab_ynh/pull/265#issuecomment-2396127727) on [issue #265](https://github.com/YunoHost-Apps/gitlab_ynh/pull/265) Testing: Fingers crossed
[[Test Badge](https://img.shields.io/endpoint?url=https://ci-apps-dev.yunohost.org/ci/api/job/20038/ba...
[07:26:12] <Yunohost Git/Infra notifications> [gitlab_ynh] yunohost-bot [commented](https://github.com/YunoHost-Apps/gitlab_ynh/pull/265#issuecomment-2396127757) on [issue #265](https://github.com/YunoHost-Apps/gitlab_ynh/pull/265) Testing: Living in the future, are we?
[[Test Badge](https://img.shields.io/endpoint?url=https://ci-apps-bookworm-dev.yunohost.o...
[09:39:22] <inrepublica> dev-Ci is KO ?
[13:14:46] <Yunohost Git/Infra notifications> App nocodb stays at level 1 in job [#30843](https://ci-apps.yunohost.org/ci/job/30843)
[15:20:03] <inrepublica> J'ai une petite erreur sur le packaging de PHPsysInfo. Le paquet s'installe bien, mais il me sort un "phpSysInfo requires the simplexml extension to php in order to work properly". Le paquet PHP-xml est pourtant bien installé sur yunohost. Par contre je ne capte pas bien par quel PHP il est exécuté. En regardant php 8.3 je ne vois pas cette extension d'activé justement.
[16:25:04] <tituspijean> essaie de spécifier php8.3-xml
[16:27:49] <m606> > <@inrepublica:matrix.org> J'ai une petite erreur sur le packaging de PHPsysInfo. Le paquet s'installe bien, mais il me sort un "phpSysInfo requires the simplexml extension to php in order to work properly". Le paquet PHP-xml est pourtant bien installé sur yunohost. Par contre je ne capte pas bien par quel PHP il est exécuté. En regardant php 8.3 je ne vois pas cette extension d'activé justement.

Si ça peut aider pour comparaison, sur une instance YNH 12.0.4.1:
- `php -v` sort `PHP 8.2.24`
- `php -m` liste `SimpleXML` parmi les extensions activées
- `php -i | grep simplexml` sort `/etc/php/8.2/cli/conf.d/20-simplexml.ini`
[16:34:03] <m606> et
- `php8.3 -v` sort `PHP 8.3.12`
- `php8.3 -m` liste `SimpleXML` parmi les extensions activées
- `php8.3 -i | grep simplexml` sort `/etc/php/8.3/cli/conf.d/20-simplexml.ini`
[16:46:56] <m606> with a reverse dependency [SnappyMail](https://github.com/YunoHost-Apps/snappymail_ynh/blob/master/manifest.toml) for the php8.3-xml package
[17:16:05] <Tag> SSO within Vaultwarden, soon https://github.com/dani-garcia/vaultwarden/pull/3899 👀
[17:40:16] <orhtej2> BTW and by BTW I mean in unrelated news, did you know that changing URL of any repo from 'github.com' to 'github.dev' opens it in web instance of VSCode?
[17:40:24] <orhtej2> i.e. https://github.dev/YunoHost-Apps/abantecart_ynh/blob/master/manifest.toml
[17:47:44] <Aleks (he/him/il/lui)> i clicked on the link, saw "Setting up dev enviroment" on the screen, understood "Please wait while we load an entire node_modules into your RAM" 😬
[17:48:17] <orhtej2> > <@Alekswag:matrix.org> i clicked on the link, saw "Setting up dev enviroment" on the screen, understood "Please wait while we load an entire node_modules into your RAM" 😬

I mean VSCode is forgoththenameofthatthingamajig in electron so....
[17:48:19] <Aleks (he/him/il/lui)> but yeah pretty cool :D
[17:48:49] <orhtej2> https://github.com/microsoft/monaco-editor
[17:49:41] <orhtej2> https://github.com/YunoHost-Apps/abantecart_ynh/pull/48 <- why does ecommerce solution depend on half of x11 and Midnight Commander of all the things?
[17:51:00] <orhtej2> > https://github.com/YunoHost-Apps/abantecart_ynh/pull/48 <- why does ecommerce solution depend on half of x11 and Midnight Commander of all the things?

(not really listed [here](https://abantecart.atlassian.net/wiki/spaces/AD/pages/3768390/AbanteCart+System+Requirements), I assume if it's really required it's pulled as transitive dependency for PHP?)
[17:53:07] <Aleks (he/him/il/lui)> midnight commander ? wut xD
[17:53:38] <orhtej2> > <@Alekswag:matrix.org> midnight commander ? wut xD

yeah, `mc`, I assume some typo? but `net-tools` seem WTF as well
[17:53:52] <Aleks (he/him/il/lui)> ooooh o god i didnt notice
[18:14:54] <m606> Would you have in mind what is the correct quote syntax for `ynh_replace` helper in such case: `--replace=@routes:[{path:"$path",name:"home",component:qre}@` ? (what to change `@` with so that $path gets expanded ?)
[18:24:14] <orhtej2> Ci is dead again https://ci-apps-dev.yunohost.org/ci/
[18:24:53] <Salamandar> is ok to me
[18:26:18] <orhtej2> > <@Salamandar:matrix.org> is ok to me

What jobs is it running?
[18:26:43] <orhtej2> The top two are cancelled for me, the rest scheduled
[18:59:19] <tituspijean> Who has just cancelled element call and silverbullet's jobs on ci-apps-dev?
[19:10:33] <orhtej2> > <@titus:pijean.ovh> Who has just cancelled element call and silverbullet's jobs on ci-apps-dev?

not me!
[19:15:37] <Salamandar> not me, but i saw some weird behaviours / ghost cancellations
[20:45:43] <Yunohost Git/Infra notifications> [apps] ericgaspar created new branch ojs
[20:45:43] <Yunohost Git/Infra notifications> [apps] ericgaspar pushed 1 commit to ojs: Update apps.toml ([0b75da06](https://github.com/YunoHost/apps/commit/0b75da068bdcb884b2130d2b17666b5235b932d5))
[20:45:48] <Yunohost Git/Infra notifications> [apps] ericgaspar opened [pull request #2613](https://github.com/YunoHost/apps/pull/2613): Add OJS to catalog
[20:48:21] <Yunohost Git/Infra notifications> [apps] ericgaspar pushed 1 commit to ojs: Create ojs.png ([0dae4cbe](https://github.com/YunoHost/apps/commit/0dae4cbe45d47ae2f5e5405e60a90142a6c8a250))
[20:49:12] <Yunohost Git/Infra notifications> [apps] ericgaspar approved [pull request #2611](https://github.com/YunoHost/apps/pull/2611#pullrequestreview-2352908475) Update app levels according to CI results
[20:59:07] <Yunohost Git/Infra notifications> [apps] ericgaspar pushed 1 commit to fix-logo-on-dark-mode: Update discourse.png ([9f67d0ad](https://github.com/YunoHost/apps/commit/9f67d0adb5a2bab7a6346a417f5a0ec680883b30))
[20:59:08] <Yunohost Git/Infra notifications> [apps] ericgaspar created new branch fix-logo-on-dark-mode
[21:02:43] <Yunohost Git/Infra notifications> [apps] ericgaspar opened [pull request #2614](https://github.com/YunoHost/apps/pull/2614): Update discourse.png
[21:03:06] <Yunohost Git/Infra notifications> [apps] ericgaspar edited [pull request #2614](https://github.com/YunoHost/apps/pull/2614): Fix logo on dark background
[22:13:20] <m606> how to understand the install log ?

here is my command - `main_js=$(cat $install_dir/index.html | grep -o 'crossorigin src="./assets/.*\.js' | cut -d/ -f3-) # e.g.: index-65600c6f.js`

here is the associated log:
```
2024-10-07 22:03:37,126: DEBUG - ++ cut -d/ -f3-
2024-10-07 22:03:37,126: DEBUG - ++ cat /var/www/it-tools/index.html
2024-10-07 22:03:37,135: DEBUG - ++ grep -o 'crossorigin src="./assets/.*\.js'
2024-10-07 22:03:37,136: DEBUG - + main_js=
```

The lines' order in the log is stange... and `$main_js` is remains empty. The command works if I run it manually in $install_dir.
[22:22:00] <m606> how to understand the install log ?

here is my command - `main_js=$(cat $install_dir/index.html | grep -o 'crossorigin src=\"\./assets/.*\.js' | cut -d/ -f3-) # e.g.: index-65600c6f.js`

here is the associated log:
```
2024-10-07 22:03:37,126: DEBUG - ++ cut -d/ -f3-
2024-10-07 22:03:37,126: DEBUG - ++ cat /var/www/it-tools/index.html
2024-10-07 22:03:37,135: DEBUG - ++ grep -o 'crossorigin src="./assets/.*\.js'
2024-10-07 22:03:37,136: DEBUG - + main_js=
```

The lines' order in the log is stange... and `$main_js` is remains empty. The command works if I run it manually in $install_dir.
[22:41:48] <Aleks (he/him/il/lui)> >The lines' order in the log is stange...

that's because when you run `foo | bar | baz`, linux actually launches the last command first such that it's ready to be fed any input from the previous command, etc
[22:43:03] <Aleks (he/him/il/lui)> computers were a mistake
[22:43:03] <Aleks (he/him/il/lui)> ¯\_(ツ)_/¯
[22:43:03] <Aleks (he/him/il/lui)> ah well then the grep should be in second position i suppose
[22:48:04] <m606> i tried as well :
```
main_js=$(cat $install_dir/index.html)
main_js2=$(echo $main_js | grep -o 'crossorigin src="\./assets/.*\.js')
main_js3=$(echo $main_js2 | cut -d/ -f3-) # e.g.: index-65600c6f.js
```
but still it fails : $main_js is fine. $main_js2 is empty and the script falls back to`ynh_exit_properly` before the `cut`
[22:49:18] <Aleks (he/him/il/lui)> sounds like something happening with the grep pattern because of char escape
[23:00:43] <m606> i dream of a quoteless language
[23:14:42] <Yunohost Git/Infra notifications> App cinny stays at level 1 in job [#31093](https://ci-apps.yunohost.org/ci/job/31093)
[23:24:22] <m606> > <@Alekswag:matrix.org> sounds like something happening with the grep pattern because of char escape

I have this working `main_js=$(cat $install_dir/index.html | grep -o "crossorigin src=\"\./assets")`
but if I had a slash (which I need) like in `main_js=$(cat $install_dir/index.html | grep -o "crossorigin src=\"\./assets/")` then it fails...
[23:27:42] <Émy - OniriCorpe> And without the cat?
[23:32:46] <Émy - OniriCorpe> like this `grep -o "crossorigin src=\"\./assets/" $install_dir/index.html`
[23:34:16] <m606> hmm not the fault of the computer
[23:34:51] <m606> that was a painful character by character work but I eventually found the issue - i was removing the second slash in '/assets/' above due to a typo so it couldn't match... sorry for the noise and thanks for support )
[23:36:02] <m606> note that log's lines order keeps being strange, but my var is not empty anymore
[23:41:39] <Émy - OniriCorpe> still advise you to not do `cat | grep`, it's unnecessary