Wednesday, April 17, 2024
apps@conference.yunohost.org
April
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
         
             

[13:12:31] <Aleks (he/him/il/lui)> hmmm
[13:12:31] <Aleks (he/him/il/lui)> since that comes from the official catalog
[13:12:31] <Aleks (he/him/il/lui)> if it's a custom url then probably you don't get the antifeature info
[13:15:57] <ChriChri> Where do informations from section `[antifeatures]` end up visible to the user during installation (put the URL into the field to install the app from outside the official repository).
[14:05:27] <ChriChri> Ah, o.k. that's good to know! It's o.k. if it shows up there - until then the README.md of my repo is sufficient.
[14:05:28] <ChriChri> BTW: When I'd like to publish the app in the official repo, do I need to move the repo or is it possible to pull my repo from codeberg.org into github (or doesn't it have to be in github at all to be in the official app catalog)?
[14:17:01] <Yunohost Git/Infra notifications> App django_example goes down from level 8 to 3 in job [#25702](https://ci-apps.yunohost.org/ci/job/25702)
[14:29:30] <mrflos> and thanks for giving infos about disk and RAM usage in CI tests, I used them to make the manifest.toml more accurate! GJ!
[14:29:50] <mrflos> thanks for pointing me there, I could copy and paste the nextcloud config https://github.com/YunoHost-Apps/yeswiki\_ynh/pull/82/files
[14:43:07] <ChriChri> Is there a helper to call a command and kill it after some time if it didn't return by itself?
[14:46:14] <Salamandar> > <@chrichri:librem.one> Is there a helper to call a command and kill it after some time if it didn't return by itself?

I don't think so, but there is the coreutils `timeout` command :)
[19:37:21] <Yunohost Git/Infra notifications> App mautrix_telegram failed all tests in job [#25634](https://ci-apps.yunohost.org/ci/job/25634) :(
[19:37:27] <Yunohost Git/Infra notifications> App mautrix_whatsapp failed all tests in job [#25637](https://ci-apps.yunohost.org/ci/job/25637) :(
[19:42:58] <Yunohost Git/Infra notifications> App mautrix_facebook failed all tests in job [#25649](https://ci-apps.yunohost.org/ci/job/25649) :(
[19:43:42] <Yunohost Git/Infra notifications> App mautrix_signal failed all tests in job [#25650](https://ci-apps.yunohost.org/ci/job/25650) :(
[20:38:08] <farkhod> https://draugr.de/upload/d03727f9e8bd18f2bff799eec504a69e45773947/0dy1NY9cQUA9oXSd5siyUbdqlzyMJDtYwxpGRJsf/Zz2Ddz_QSQywzHulrx2V1g.zip
[20:41:08] <tituspijean> yup no, we are not clicking on that
[20:56:22] <kayou> tituspijean: about onlyoffice, i post my logs on the forum
[20:56:34] <kayou> wtf is happening with deps
[20:57:02] <kayou> ```
Unpacking onlyoffice-ynh-deps (7.5~ynh2) over (7.5~ynh2) ...
2024-04-17 17:39:04,926: DEBUG - Setting up onlyoffice-ynh-deps (7.5~ynh2) ...
2024-04-17 17:39:04,970: DEBUG - + ynh_package_install --fix-broken
2024-04-17 17:39:04,971: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2024-04-17 17:39:04,971: DEBUG - + ynh_wait_dpkg_free
2024-04-17 17:39:05,364: DEBUG - + return 0
2024-04-17 17:39:05,364: DEBUG - + LC_ALL=C
2024-04-17 17:39:05,364: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-04-17 17:39:05,365: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2024-04-17 17:39:05,503: DEBUG - Reading package lists...
2024-04-17 17:39:05,603: DEBUG - Building dependency tree...
2024-04-17 17:39:05,604: DEBUG - Reading state information...
2024-04-17 17:39:05,686: DEBUG - The following packages were automatically installed and are no longer required:
2024-04-17 17:39:05,686: DEBUG - erlang-asn1 erlang-base erlang-crypto erlang-eldap erlang-ftp erlang-inets
2024-04-17 17:39:05,686: DEBUG - erlang-mnesia erlang-os-mon erlang-parsetools erlang-public-key
2024-04-17 17:39:05,687: DEBUG - erlang-runtime-tools erlang-snmp erlang-ssl erlang-syntax-tools erlang-tftp
2024-04-17 17:39:05,687: DEBUG - erlang-tools erlang-xmerl libcurl4-openssl-dev libsctp1
2024-04-17 17:39:05,687: DEBUG - onlyoffice-documentserver pwgen rabbitmq-server
2024-04-17 17:39:05,687: DEBUG - Use 'sudo apt autoremove' to remove them.

```
[20:57:19] <kayou> full logs: https://paste.yunohost.org/raw/figiwakuda
[20:57:46] <kayou> when I force the upgrade of the onlyoffice package, it works for something like 2h, then stop working
[20:57:49] <Aleks (he/him/il/lui)> 🤔
[20:58:45] <kayou> btw, I don't understand
```
Reading package lists...
2024-04-17 17:39:02,875: DEBUG - W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/onlyoffice.list:1
2024-04-17 17:39:02,875: DEBUG - W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/onlyoffice.list:1
2024-04-17 17:39:02,875: DEBUG - W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/onlyoffice.list:1
2024-04-17 17:39:02,875: DEBUG - W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/onlyoffice.list:1
2024-04-17 17:39:02,875: DEBUG - W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/onlyoffice.list:1
2024-04-17 17:39:02,876: DEBUG - W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/onlyoffice.list:1
2024-04-17 17:39:02,876: DEBUG - W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/onlyoffice.list:1
2024-04-17 17:39:02,876: DEBUG - W: Target Translations (contrib/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/onlyoffice.list:1
2024-04-17 17:39:02,876: DEBUG - W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/onlyoffice.list:1
2024-04-17 17:39:02,876: DEBUG - W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/onlyoffice.list:1
2024-04-17 17:39:02,876: DEBUG - W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/onlyoffice.list:1
2024-04-17 17:39:02,876: DEBUG - W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/onlyoffice.list:1
2024-04-17 17:39:02,876: DEBUG - W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/onlyoffice.list:1
2024-04-17 17:39:02,876: DEBUG - W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/onlyoffice.list:1
2024-04-17 17:39:02,877: DEBUG - W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/onlyoffice.list:1
2024-04-17 17:39:02,877: DEBUG - W: Target Translations (contrib/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/onlyoffice.list:1
```
[20:59:24] <kayou> because line 7 of /etc/apt/sources.list, I have `deb http://deb.debian.org/debian/ bullseye main non-free contrib`
[21:00:23] <kayou> https://github.com/YunoHost-Apps/onlyoffice_ynh/blob/ddf77cb665567ba572b3e79002a900559c68a01d/scripts/_common.sh#L13-L16
[21:00:25] <kayou> because of that
[21:00:48] <kayou> and https://github.com/YunoHost-Apps/onlyoffice_ynh/blob/ddf77cb665567ba572b3e79002a900559c68a01d/scripts/_common.sh#L33-L36
[21:01:53] <Aleks (he/him/il/lui)> :|
[21:02:17] <Aleks (he/him/il/lui)> ah yes the debconf stuff too
[21:02:34] <tituspijean> don't you want to ping Salamand ar? I have not touched to openoffice for quite some time 😅
[21:02:40] <Aleks (he/him/il/lui)> well yeah iirc i mentionned in some comment that the whole debconf story was not properly supported in v2 paradigm
[21:03:25] <tituspijean> (ah yeah regarding the thread you just posted to, sorry)
[21:03:34] <kayou> yes, sorry, it was just to give feedback and context
[21:03:48] <kayou> of the forum post
[21:03:49] <Aleks (he/him/il/lui)> or collabora maybe
[21:05:45] <kayou> ^ ping Salamandar then :°
[21:10:33] <Salamandar> Huuuum
[21:10:41] <Salamandar> What is the issue ? The multiple defined repos ?
[21:11:08] <kayou> nah
[21:11:18] <kayou> it's just a warning
[21:11:51] <kayou> the issue is, all deps of onlyoffice are flagged as "can be removed"
[21:11:51] <Aleks (he/him/il/lui)> calling `ynh_install_extra_app_dependencies` fucks up the virtual dependency but i don't really know how to unfuck it, because the real issue is the fact that we need to register stuff with debconf
[21:12:17] <kayou> that
[21:12:53] <Aleks (he/him/il/lui)> (I guess `_install_msfonts_deb` was because it needs `$(lsb_release --codename --short)` but we recently added support for `__YNH_DEBIAN__` in the resource properties)
[21:13:06] <kayou> i think i found the issue
[21:13:06] <kayou> https://github.com/YunoHost/yunohost/blob/7d0d82ae016ae3e7cdb06423b67678d7f7a5d9ca/helpers/apt#L294
[21:13:13] <kayou> as we provisioning apt
[21:13:32] <kayou> this value is true when we call it for ttf-mscorefonts-installer
[21:13:40] <kayou> so we remove all other deps
[21:13:56] <Aleks (he/him/il/lui)> yeah we can trick with `YNH_INSTALL_APP_DEPENDENCIES_REPLACE` maybe, like we did in nextcloud upgrade
[21:14:55] <kayou> the thing is, it should be broken for all packagingV2
[21:15:17] <kayou> could we set `YNH_INSTALL_APP_DEPENDENCIES_REPLACE` as false if we are in packagingV2?
[21:19:32] <Aleks (he/him/il/lui)> hmmmidk
[21:19:45] <Aleks (he/him/il/lui)> in packaging v2 we shouldnt call apt helpers manually so T_T
[21:20:33] <kayou> yeah, that's true
[21:21:16] <Aleks (he/him/il/lui)> also

```
# The OnlyOffice dev had the magnificent idea to add a "nginx restart" during
# the install/configure of their package, which is awful since that will
# restart NGINX and the whole webadmin and maybe even the YunoHost command
# running the install...
```
[21:21:36] <kayou> HAAAAAAAAAAAA
[21:21:39] <Aleks (he/him/il/lui)> which makes me wonder if the best way wouldnt be to retroengineer their .deb and extract stuff ourselves
[21:38:21] <kayou> ok then, https://github.com/YunoHost-Apps/onlyoffice_ynh/pull/123 should fix this issue
[21:41:05] <Aleks (he/him/il/lui)> regarding `ttf-mscorefonts-installer` -> i think the issue is that it's from `contrib` and there's no guarantee that `contrib` is enabled by default on the debian apt repo sources.list T_T
[21:44:46] <kayou> yeah, i saw that, i revert my commit
[21:55:38] <orhtej2> seriously why is that the case in every single of two repos I maintain? https://github.com/YunoHost-Apps/syncserver-rs_ynh/pull/32
[21:57:54] <orhtej2> > seriously why is that the case in every single of two repos I maintain? https://github.com/YunoHost-Apps/syncserver-rs_ynh/pull/32

'that' being there's a bunch of merge conflicts in random READMEs
[21:58:11] <orhtej2> there was force push to `master` and another one to `testing`?