Tuesday, October 22, 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:00:37] <MCMic[m]> yunohost = ">= 11.2.30"
It’s that line I guess? Bookworm will be 12?
[00:02:58] <Émy – OniriCorpe> > <@mcmic:matrix.org> Is there a place in the manifest to specify support for bullseye,bookworm or both?

Nope
[00:04:34] <Émy – OniriCorpe> > <@mcmic:matrix.org> yunohost = ">= 11.2.30"
> It’s that line I guess? Bookworm will be 12?

Yes, you can use it that way
But in fact our tools, especially the App Store will not take this into account to warn the user
[00:05:09] <Émy – OniriCorpe> AFAIK it’s only used at the start of the install or upgrade app process
[00:10:28] <Yunohost Git/Infra notifications> App grav goes down from level 8 to 1 in job [#31569](https://ci-apps.yunohost.org/ci/job/31569)
[00:35:45] <Yunohost Git/Infra notifications> App jenkins goes down from level 6 to 1 in job [#31570](https://ci-apps.yunohost.org/ci/job/31570)
[00:38:13] <Yunohost Git/Infra notifications> App opentracker failed all tests in job [#31573](https://ci-apps.yunohost.org/ci/job/31573) :(
[00:39:24] <rodinux> je galère...
[00:40:52] <rodinux> Au bout de plusieurs fois, j'ai ce message `Le mot de passe choisi figure dans une liste de mots de passe compromis (piratés), il ne peut donc être utilisé ici. Si vous l'avez utilisé sur d'autres sites il est recommandé de le changer sur ces autres sites également`
[00:41:29] <rodinux> Même si j'essaie un autre mot de passe, comprends pas...
[00:43:49] <rodinux> https://paste.yunohost.org/raw/eyeravatar
[00:46:59] <rodinux> des histoires de quotes dans les variables ???
[00:51:46] <rodinux> aaaaaaaaaaaaaah oui des doubles quotes et ça passe !
[00:54:10] <rodinux> ça fonctionne !
[00:54:18] <Yunohost Git/Infra notifications> App pico goes down from level 7 to 1 in job [#31574](https://ci-apps.yunohost.org/ci/job/31574)
[01:05:23] <rodinux> How can add in the test.toml arguments needed for install script ?
[01:17:43] <Émy – OniriCorpe> > <@rodinux:matrix.org> How can add in the test.toml arguments needed for install script ?

https://github.com/YunoHost/example_ynh/blob/master/tests.toml#L47
[01:22:57] <rodinux> with args, isb
[01:32:27] <rodinux> So, perhaps we can then move the add cron after the post-install paheko init, the database is created at this time...
[01:34:04] <rodinux> no more `ask` ??
[01:36:08] <rodinux> thanks Émy – OniriCorpe , have good evening 🛌 😴
[01:36:36] <Émy – OniriCorpe> > <@rodinux:matrix.org> So, perhaps we can then move the add cron after the post-install paheko init, the database is created at this time...

we can, or we can also wait for the fix then edit our cron to delete the '-f' test
[01:37:24] <rodinux> ok
[01:38:06] <Émy – OniriCorpe> > <@rodinux:matrix.org> no more `ask` ??

why not? just let the ask question in the manifest?
[01:39:19] <rodinux> https://aria.im/_matrix/media/v1/download/matrix.org/CSBageKTIbggWmVzzGZepeiq
[01:40:16] <Émy – OniriCorpe> weird
[01:42:27] <Émy – OniriCorpe> ah yes, you can delete the "ask" key for the `[install.password]`
[01:42:55] <Émy – OniriCorpe> and also remove all the `.fr` for the `ask.fr`
[01:43:37] <Émy – OniriCorpe> ah and yeah, have a sweet night too ^w^
[01:54:11] <Yunohost Git/Infra notifications> App my_webapp goes down from level 6 to 1 in job [#31572](https://ci-apps.yunohost.org/ci/job/31572)
[01:58:11] <Yunohost Git/Infra notifications> App zabbix goes down from level 6 to 1 in job [#31577](https://ci-apps.yunohost.org/ci/job/31577)
[02:06:13] <Yunohost Git/Infra notifications> App converse goes down from level 8 to 1 in job [#31578](https://ci-apps.yunohost.org/ci/job/31578)
[02:09:55] <Yunohost Git/Infra notifications> App 243-game goes down from level 8 to 1 in job [#31579](https://ci-apps.yunohost.org/ci/job/31579)
[02:24:43] <Yunohost Git/Infra notifications> App readarr goes down from level 8 to 1 in job [#31581](https://ci-apps.yunohost.org/ci/job/31581)
[07:26:18] <Yunohost Git/Infra notifications> App silverbullet rises from level 6 to 7 in job [#31584](https://ci-apps.yunohost.org/ci/job/31584) !
[10:44:10] <MCMic[m]> Is there something specific to do for the upgrade script to check that the systemd service starts successfully for considering the upgrade a success? (And so rollback if not)
[10:56:20] <Salamandar> You can check the logs
[10:56:32] <Salamandar> but no, by default it checks that the service starts
[10:56:53] <Salamandar> (but if the service starts and fails just afterwards, it's not detected i think)
[12:53:11] <MCMic> I have this warning in CI: "WARN auto_test_assets set to true, but no js/css asset found in this page", I cannot find this key in the documentation. Is it part of manifest.toml or tests.toml?
[13:03:02] <Aleks (he/him/il/lui)> tests.toml, this may be legit if your app has no js/css ... but please link to the corresponding test ...
[13:03:25] <MCMic> https://ci-apps-bookworm-dev.yunohost.org/ci/job/3539 is the result
[13:03:46] <MCMic> https://github.com/YunoHost-Apps/mollysocket_ynh is the app, tests.toml is empty for now.
[13:04:08] <MCMic> I need to fill [default.curl_tests] I think
[13:04:14] <Aleks (he/him/il/lui)> so your app just exposes an API and not an actual web "html" page, so this is expected, just ignore the warning
[13:04:22] <Aleks (he/him/il/lui)> or fill the default curl test, yes
[13:04:32] <MCMic> What is the default object in there? home?
[13:04:44] <MCMic> If I add home.auto_test_assets=false is it enough?
[13:04:57] <Aleks (he/him/il/lui)> should be yes
[13:05:11] <MCMic> Thank you
[13:08:34] <MCMic> Do I have vars in tests.toml for package name and version?
[13:10:51] <Aleks (he/him/il/lui)> what do you mean ?
[13:14:22] <MCMic> The content expected for the curl test is {"mollysocket":{"version":"1.4.1"}}
[13:14:43] <MCMic> I’d like to replace 1.4.1 with __VERSION__ or $version or something, if possible.
[13:14:53] <MCMic> To avoid having to update it manually on new releases
[13:19:26] <Aleks (he/him/il/lui)> hmyeah that's not possible in the current state
[13:20:05] <Aleks (he/him/il/lui)> but you can also just set the expected content to something like "mollysocket" and it's already good enough
[13:20:18] <Aleks (he/him/il/lui)> (it doesnt try to match the entire content, just to find the string in the actual content)
[13:31:00] <MCMic> Thank you, I’ll do that.
[13:35:33] <MCMic> Is there a way to avoid the application install dir to be in /var/www ? That seems not ideal for applications which are not exposed through webserver, but maybe it’s still better to leave it there with the other apps? What’s usually done for apps with their own server binary?
[13:35:34] <Salamandar> tl;dr being in /var/www does not mean it's exposed via a webserver.
[13:38:43] <MCMic> I can leave it like it is then.
[13:38:43] <MCMic> Ok, thanks
[16:38:20] <Yunohost Git/Infra notifications> App jellyfin failed all tests in job [#31397](https://ci-apps.yunohost.org/ci/job/31397) :(
[16:38:23] <Yunohost Git/Infra notifications> Job [#31579](https://ci-apps.yunohost.org/ci/job/31579) for 243-game failed miserably :(
[16:39:50] <Yunohost Git/Infra notifications> App snappymail rises from level 6 to 8 in job [#31444](https://ci-apps.yunohost.org/ci/job/31444) !
[16:40:19] <Yunohost Git/Infra notifications> App it-tools rises from level 1 to 7 in job [#31446](https://ci-apps.yunohost.org/ci/job/31446) !
[17:35:56] <Yunohost Git/Infra notifications> App mautrix_facebook failed all tests in job [#31455](https://ci-apps.yunohost.org/ci/job/31455) :(
[19:21:44] <rodinux> Hello, I think I can push this PR here https://github.com/YunoHost-Apps/paheko_ynh/pull/79 The CI bookworm failed but it seems to be a CI screaming...
[19:50:21] <Yunohost Git/Infra notifications> App fluxbb goes down from level 7 to 1 in job [#31475](https://ci-apps.yunohost.org/ci/job/31475)
[20:28:06] <rodinux> Si tu es d'accord, je serai d'avis de pousser le PR #79 dans la branche testing, puis de pousser la branche testing dans master et ensuite pousser le Post install #78 dans testing...
[21:12:54] <orhtej2> > <@rodinux:matrix.org> Hello, I think I can push this PR here https://github.com/YunoHost-Apps/paheko_ynh/pull/79 The CI bookworm failed but it seems to be a CI screaming...

merged, checked on ynh 12 as well
[21:16:19] <tituspijean> Uhm @Salamandar:matrix.org I'm getting dependencies issues on yunorunner, I'm wondering if the dependabot PRs were useful.
[21:16:24] <tituspijean> ```
Info: [#####++.............] > Installing Python dependencies...
Warning: ERROR: Ignored the following versions that require a different python version: 1.0.1 Requires-Python <3.7.0
Warning: ERROR: Could not find a version that satisfies the requirement pkg_resources==0.0.0 (from versions: none)
Warning: ERROR: No matching distribution found for pkg_resources==0.0.0
```
[21:17:02] <tituspijean> https://paste.yunohost.org/raw/oyutedubes
[21:19:42] <Yunohost Git/Infra notifications> App fastapi rises from level 7 to 8 in job [#31488](https://ci-apps.yunohost.org/ci/job/31488) !
[21:26:34] <tituspijean> > <@titus:pijean.ovh> ```
> Info: [#####++.............] > Installing Python dependencies...
> Warning: ERROR: Ignored the following versions that require a different python version: 1.0.1 Requires-Python <3.7.0
> Warning: ERROR: Could not find a version that satisfies the requirement pkg_resources==0.0.0 (from versions: none)
> Warning: ERROR: No matching distribution found for pkg_resources==0.0.0
> ```

obviously, I cannot replicate by running the manual installation steps
[21:27:00] <tituspijean> so the dependabot thingy should be unrelated
[21:27:30] <Salamandar> hmmmm
[21:27:36] <Salamandar> wtf is that
[21:27:42] <Salamandar> let's remove this pkg_resources line ?
[21:28:13] <Salamandar> ah hum
[21:28:27] <tituspijean> > <@Salamandar:matrix.org> ah hum

hehe, gotcha
[21:28:42] <tituspijean> that's the fun part
[21:29:11] <Salamandar> ah no i know
[21:29:12] <Salamandar> hum
[21:29:14] <Yunohost Git/Infra notifications> App rspamdui stays at level 1 in job [#31492](https://ci-apps.yunohost.org/ci/job/31492)
[21:29:23] <Salamandar> in the package I used the requirements.txt instead of the frozen one
[21:29:41] <Salamandar> uuuuh
[21:29:41] <Salamandar> https://github.com/YunoHost/yunorunner/blob/master/requirements-frozen.txt
[21:29:47] <Salamandar> no pkg_resource
[21:30:29] <Salamandar> on deb 11 or 12 ?
[21:31:19] <tituspijean> 12
[21:31:42] <Salamandar> that might be the issue
[21:32:11] <tituspijean> hum no, in the package it's the frozen one that's used and the unfrozen one for the manual install
[21:32:28] <Salamandar> > <@titus:pijean.ovh> hum no, in the package it's the frozen one that's used and the unfrozen one for the manual install

oh
[21:32:38] <Salamandar> woopsies ?
[21:33:08] <Salamandar> > Warning: Error: Failed to create local member network "incusbr0" in project "default": The DNS and DHCP service exited prematurely: exit status 1 ("aa-exec: ERROR: AppArmor interface not available")
[21:33:08] <Salamandar> lol can't install yunorunner in incus
[21:33:16] <Salamandar> makes sense i guess
[21:34:01] <tituspijean> > <@Salamandar:matrix.org> woopsies ?

so, manually running `venv/bin/pip install -r requirements.txt` works
[21:34:12] <tituspijean> but using the frozen one fails
[21:34:21] <Salamandar> okay
[21:34:21] <Salamandar> let's patch the package
[21:34:32] <tituspijean> but I don't think that's a good idea to update it with the Bookworm versions :/
[21:34:41] <tituspijean> *yet*
[21:34:42] <Salamandar> > <@titus:pijean.ovh> but using the frozen one fails

yeah i know I saw the pkg_resource issue on another package
[21:34:49] <Salamandar> > <@titus:pijean.ovh> but I don't think that's a good idea to update it with the Bookworm versions :/

:D
[21:34:53] <Salamandar> yeah no
[21:34:56] <Salamandar> after the release maybe
[21:34:58] <Salamandar> but uh
[21:35:15] <miro5001> !testme
[21:35:15] <tituspijean> I'm getting these:
```
venv/bin/pip freeze
aiofiles==24.1.0
aiohappyeyeballs==2.4.3
aiohttp==3.10.10
aiosignal==1.3.1
argh==0.31.3
attrs==24.2.0
certifi==2024.8.30
charset-normalizer==3.4.0
frozenlist==1.4.1
html5tagger==1.3.0
httptools==0.6.4
idna==3.10
Jinja2==3.1.4
MarkupSafe==3.0.2
multidict==6.1.0
peewee==3.17.7
propcache==0.2.0
requests==2.32.3
sanic==24.6.0
sanic-jinja2==2022.11.11
sanic-routing==23.12.0
tracerite==1.1.1
typing_extensions==4.12.2
ujson==5.10.0
urllib3==2.2.3
uvloop==0.21.0
websockets==13.1
yarl==1.16.0
```
[21:35:16] <Salamandar> we are sooooo late on the bookworm ci
[21:35:19] <miro5001> 😁
[21:35:41] <tituspijean> > <@miro5001:matrix.org> !testme

📖 🪱 🤖
[21:35:57] <Salamandar> @miro5001:matrix.org this triggers sadness in our hearts
[21:36:13] <Salamandar> !burnallcomputers
[21:36:52] <tituspijean> > <@Salamandar:matrix.org> we are sooooo late on the bookworm ci

hopefully this will help: https://github.com/YunoHost/package_check/pull/178
that's what I wanted to test initially, but now it 23:36 and I want to sleep xD
[21:38:01] <miro5001> Mh, about the ci, testme didn't trigger jobs
https://github.com/YunoHost-Apps/backrest_ynh/pull/3
[21:38:42] <miro5001> !sometimesintroducebugs
[21:39:40] <tituspijean> mmmh, error 403
[21:39:48] <tituspijean> aren't you in the YunoHost-Apps org?
[21:40:45] <tituspijean> yes you are
[21:42:01] <tituspijean> "Unauthorized"
*are you kidding me*
[21:43:00] <Émy – OniriCorpe> > <@titus:pijean.ovh> "Unauthorized"
> *are you kidding me*

Yes
[21:46:57] <Émy – OniriCorpe> Let me put my little goblins who escaped in the infra back in their cage, it should solve everything
[21:47:42] *Émy – OniriCorpe secretely leaves one single goblin
[21:47:50] <tituspijean> So, the only instance of yunorunner returning 403/"Unauthorized" is when the user is not listed in the organization
[21:51:11] <tituspijean> hum... the token is not working anymore
[21:55:39] <Salamandar> yeah
[21:55:39] <Salamandar> > <@titus:pijean.ovh> So, the only instance of yunorunner returning 403/"Unauthorized" is when the user is not listed in the organization

hahaha
[21:56:01] <Salamandar> makes sense
[21:58:50] <Salamandar> > <@titus:pijean.ovh> so, manually running `venv/bin/pip install -r requirements.txt` works

fixed in the package
[22:11:44] <tituspijean> > <@titus:pijean.ovh> hum... the token is not working anymore

indeed, it has expired, and I discover that ci-apps-dev and ci-apps-bookworm-dev are not running the same code
[22:13:57] <tituspijean> fixed, I think.
[22:14:57] <tituspijean> > <@titus:pijean.ovh> indeed, it has expired, and I discover that ci-apps-dev and ci-apps-bookworm-dev are not running the same code

`2023.04.05~ynh3` vs `2023.04.05~ynh5`
[22:15:49] <tituspijean> good night!
[22:33:03] <Salamandar> > <@titus:pijean.ovh> indeed, it has expired, and I discover that ci-apps-dev and ci-apps-bookworm-dev are not running the same code

whadoyoumean ?
[22:33:13] <Salamandar> ~ynh4 and ~ynh5 were created tonight fyi
[22:33:57] <miro5001> Good night
[22:55:11] <rodinux> let it run... have nice dreams...
[22:57:36] <rodinux> orhtej2: I have added a fix for upgrade script on paheko... hope it will pass..;
[23:01:29] <tituspijean> > <@Salamandar:matrix.org> whadoyoumean ?

The bit of code that loads the token for the "is_user_in_org" function uses `open()` on ci-apps-dev, while it uses a variable in `config.py` in the bookworm-dev
I assumed the diff was due to the version mismatch, but it could have been an instance of coding in production :)

*now I go to sleep*