Thursday, May 29, 2025
apps@conference.yunohost.org
May
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
 
             

[06:05:44] <gredin67> I still don't get why it cannot read this specific key. Is there some syntax issue with

```
[advanced.metrics.enable_metrics]
ask = "Enable Prometheus Metrics?"
type = "boolean"
yes = "true"
no = "false"
bind = "metrics>enabled:__INSTALL_DIR__/config.yaml"

[advanced.metrics.listen_port]
ask = "IP and Port for the Metrics listener?"
type = "string"
help = "Defaults to: '127.0.0.1:8001'. The path is always /metrics"
bind = "metrics>listen:__INSTALL_DIR__/config.yaml"
visible = "enable_metrics"
```
[06:06:33] <gredin67> or https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh/blob/testing/conf/config.yaml#L78-L82
[06:22:38] <gredin67> https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh/blob/testing/scripts/install#L38-L39
[08:20:29] <gredin67> is it possible to find an up-to-date example_config.yaml ? it would help to maintain the template file used in https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh
[08:26:45] <gredin67> interesting conversation that can help packaging of mautrix bridges (mainly config panel issues) #whatsapp:maunium.net/$QhlaNb6mvKoIhkTCgZG4ZlYU8HryKsHg0dqmzBOmel0
[09:54:17] <tituspijean[m]> /unban vincent_winy@matrix.org
[11:18:06] <tituspijean[m]> I'm looking at a comment in a helpers 2.1 migration:
"#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms"

I cannot find where/when these chmod/chown are happening.
[11:22:16] <Aleks (he/him/il/lui)> in here -> https://github.com/YunoHost/yunohost/blob/dev/helpers/helpers.v2.1.d/0-utils#L237
[11:22:28] <Yunohost Git/Infra notifications> [synapse_ynh] G​redin67 [commented](https://github.com/YunoHost-Apps/synapse_ynh/pull/543#issuecomment-2919098925) on [issue #543](https://github.com/YunoHost-Apps/synapse_ynh/pull/543) Testing: hi @Josue-T do you plan to merge this soon ? The whatsapp bridge is currently broken and we need to upgrade. Id like to...
[11:30:19] <Yunohost Git/Infra notifications> [synapse_ynh] J​osue-T [commented](https://github.com/YunoHost-Apps/synapse_ynh/pull/543#issuecomment-2919117315) on [issue #543](https://github.com/YunoHost-Apps/synapse_ynh/pull/543) Testing: Hello, yes I might merge it maybe next Monday if no issue are reported.
[16:09:01] <m606> Hello, I am looking for a way to measure disk usage and peak RAM usage in a bash script that can be run either locally or in a Github workflow. Would you have an idea for that ?
For disk usage, I guess I substract the number retrieved at beginning and end of script with below function. But for peak RAM usage I don't have much idea. I've read about `time` utility, but it monitors one command (or I would need to call a script that call a monitored script, that's an option but not the nicest one)
```
function free_disk_space_in_mb {
output=$(df -Ph . | awk 'NR==2 {print $4}')
output=${output%M}
echo $output
}
```
[16:29:14] <Yunohost Git/Infra notifications> [apps] m​hfowler opened [pull request #3001](https://github.com/YunoHost/apps/pull/3001): Change lichen-markdown.png to lichenmarkdown.png
[16:33:18] <Yunohost Git/Infra notifications> [apps] e​ricgaspar merged [pull request #3001](https://github.com/YunoHost/apps/pull/3001): Change lichen-markdown.png to lichenmarkdown.png
[16:33:19] <Yunohost Git/Infra notifications> [apps] e​ricgaspar pushed 1 commit to main: Change lichen-markdown.png to lichenmarkdown.png (#3001) ([0eeb4c60](https://github.com/YunoHost/apps/commit/0eeb4c60b87461e4444644601556e0478a81455f))
[17:32:51] <Yunohost Git/Infra notifications> [my_webapp_ynh] e​ricgaspar created new branch 2.1
[17:32:54] <Yunohost Git/Infra notifications> [my_webapp_ynh] e​ricgaspar pushed 1 commit to 2.1: 2.1 ([fd927324](https://github.com/YunoHost-Apps/my_webapp_ynh/commit/fd9273240df85628d5457d11131584431d46dcda))
[17:34:43] <Yunohost Git/Infra notifications> [my_webapp_ynh] e​ricgaspar pushed 1 commit to 2.1: cleaning ([86b3abe1](https://github.com/YunoHost-Apps/my_webapp_ynh/commit/86b3abe1f8e9b56ba19f8d27b390ee75334ea511))
[17:34:52] <Yunohost Git/Infra notifications> [my_webapp_ynh] e​ricgaspar opened [pull request #159](https://github.com/YunoHost-Apps/my_webapp_ynh/pull/159): 2.1
[17:35:10] <miro5001> > <@m606:matrix.org> Hello, I am looking for a way to measure disk usage and peak RAM usage in a bash script that can be run either locally or in a Github workflow. Would you have an idea for that ?
> For disk usage, I guess I substract the number retrieved at beginning and end of script with below function. But for peak RAM usage I don't have idea. I've read about `time` utility, but it monitor one command (or I would need to call a script that call a monitored script, that's an option but not the nicest one)
> ```
> function free_disk_space_in_mb {
> output=$(df -Ph . | awk 'NR==2 {print $4}')
> output=${output%M}
> echo $output
> }
> ```

`free -m | awk '/Mem:/ {print $3}' ` output used memory in Mb
[17:35:57] <Yunohost Git/Infra notifications> [my_webapp_ynh] e​ricgaspar merged [pull request #157](https://github.com/YunoHost-Apps/my_webapp_ynh/pull/157): remove end of life PHP versions
[17:36:00] <Yunohost Git/Infra notifications> [my_webapp_ynh] e​ricgaspar deleted branch end-of-life
[17:37:04] <miro5001> Replace Mem with Swap for free swap
[17:55:11] <Yunohost Git/Infra notifications> [my_webapp_ynh] e​ricgaspar pushed 1 commit to 2.1: Update change_url ([1cee57e2](https://github.com/YunoHost-Apps/my_webapp_ynh/commit/1cee57e2bf09556ee9878abd86046bf735471213))
[18:02:45] <Yunohost Git/Infra notifications> [my_webapp_ynh] e​ricgaspar pushed 1 commit to 2.1: Update remove ([1059091a](https://github.com/YunoHost-Apps/my_webapp_ynh/commit/1059091a3f048e50d80321ac6268c811dcda3396))
[20:12:22] <m606> > <@miro5001:matrix.org> `free -m | awk '/Mem:/ {print $3}' ` output used memory in Mb

thanks but how would I measure peak memory (it can be approx)?
[20:13:35] <m606> the idea behind is to know how much RAM and HDD a build script takes, so that users can decide whether it fits their machine
[20:30:37] <m606> hmm could I run that snippet at the beginning of my script and print $max_mem at the end of my script ? I mean can everything run in parallel (during a build script in particular)? https://gist.github.com/qxcv/e61784a7ceb82eaa5b61e8711bc95f95
[20:47:15] <miro5001> > <@m606:matrix.org> the idea behind is to know how much RAM and HDD a build script takes, so that users can decide whether it fits their machine

You can find that in the Ci.
For example https://ci-apps-dev.yunohost.org/ci/job/9990
```
Peak RAM usage during this test: 183MB
RAM usage diff after test: 115MB
Disk usage diff after test: 1365.5MB
```
[20:53:56] <miro5001> This is from joplin
```
Peak RAM usage during this test: 3999MB
RAM usage diff after test: 512MB
Disk usage diff after test: 4371.9MB
```
[20:54:57] <miro5001> You'll notice that it requires 4G to install, 512M to run
[21:09:22] <Aleks (he/him/il/lui)> (gotta check accross several tests to get somewhat consistent number because we measure the RAM of the entire host machin and there may be some funky result depending on if something else happens on other containers during the test)
[22:29:19] <Yunohost Git/Infra notifications> Autoupdater just ran, here are the results:

- 34 pending update PRs
- 12 new apps PRs
- 4 failed apps updates: homebox, khatru-pyramid, penpot, swingmusic

See the full log here: https://paste.yunohost.org/raw/epeyepulek
Autoupdate dashboard: https://apps.yunohost.org/dash?filter=autoupdate
[22:33:53] <Yunohost Git/Infra notifications> [penpot_ynh] o​rhtej2 pushed 1 commit to testing: STFU autoupdater ([46c33343](https://github.com/YunoHost-Apps/penpot_ynh/commit/46c33343ea4b42e89f79c37e5f0461a77178cc07))