Tuesday, May 14, 2024
dev@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
   
             

[17:52:53] <selfhoster1312> that's not what touch does, it does not overwrite the file just updates the timestamp and creates file if empty
[17:52:53] <selfhoster1312> reading in conf_regen/01-yunohost:

```
// Empty service conf
touch /etc/yunohost/services.yml
```
[18:39:46] <selfhoster1312> ```
# (Delete cron if no dyndns domain found)
touch $pending_dir/etc/cron.d/yunohost-dyndns
```
this again? 🤷‍♀️️
[19:28:22] <ljf> > <selfhoster1312> that's not what touch does, it does not overwrite the file just updates the timestamp and creates file if empty

As it is inside do_init_regen, i guess this part should only be run at the beginning during yunohost setup...
[19:31:38] <ljf> https://github.com/YunoHost/yunohost/blob/00477594d6969c5746809034198c736ca5545d12/src/regenconf.py#L253
[19:32:23] <ljf> On this part, it's possible inside $pending\_dir no yunohost-dyndns file could exists, so this create an empty file, that next is probably considered as the way to detect that a file needs to be deleted...
[19:32:35] <ljf> On this part, it's possible inside $pending\_dir no yunohost-dyndns file could exists, so this create an empty file, that next is probably considered as the way to detect that a file should be deleted...
[19:41:18] <selfhoster1312> i see, thanks for explaining :)
[20:07:34] <Laurent> Hi everyone
[20:07:59] <Laurent> I enjoy using Yunohost to host personal apps and I know your project since a long time.
[20:09:57] <Laurent> I work in QA automation testing. I've read parts of your documentation and looked at your tests, which are based on bash/cli (there could be more somewhere else in the project). I wonder if there would any interest in tests simulating end-user actions through browsers. Some ideas include: login/logout, installing the test app from the app store, making a configuration change and checking if the diagnostcs page reflects the cange, etc.
[20:10:20] <Laurent> These tests could be added to the cicd/pipeline and help provent shipping regressions.
[20:10:28] <Laurent> Would such a contribution make sense to you?
[21:43:34] <Laurent> Thanks. Has someone worked on this before for the project?
[21:43:36] <orhtej2> That's definately a thing that would help imo, especially if it can be integrated into gitlab pipeline
[23:02:23] <Yunohost Git/Infra notifications> [yunohost] 🔴 Pipeline [#1289318919](https://gitlab.com/YunoHost/yunohost/-/pipelines/1289318919) failed on branch dev