Wednesday, November 13, 2024
dev@conference.yunohost.org
November
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
 
             

[07:20:26] <Yunohost Git/Infra notifications> [CustomPiOS] h​idrarga pushed 1 commit to yunohost: update labriqueinternet repo ([ed7cd550](https://github.com/YunoHost/CustomPiOS/commit/ed7cd550e8b0c78392e98c70b407ed682de13682))
[12:17:23] <Augier> Probably a dumb question but: has crowdfounding ever been discussed for implementing specific features of YNH ?
[12:42:24] <Aleks (he/him/il/lui)> it's regularly brought up, i suppose it could happen but typically crowdfunding also require a lot of energy to be put into communication etc ... (i mean that depends what we're talking about exactly ... i guess there's also "feature bounty" but that too requires a proper UI and many money questions) idk, so far nobody had time/energy to invest in this (it's kind of chicken and egg etc i suppose)
[13:38:11] <Yunohost Git/Infra notifications> [yunohost] a​lexAubin merged [pull request #1995](https://github.com/YunoHost/yunohost/pull/1995): Upgrade n to v10.1.0
[13:38:11] <Yunohost Git/Infra notifications> [yunohost/dev] Update n to v10.1.0 - yunohost-bot
[13:38:11] <Yunohost Git/Infra notifications> [yunohost] a​lexAubin pushed 2 commits to dev ([c4091093e566...f28487ae28d2](https://github.com/YunoHost/yunohost/compare/c4091093e566...f28487ae28d2))
[13:38:12] <Yunohost Git/Infra notifications> [yunohost/dev] Merge pull request #1995 from YunoHost/ci-auto-update-n-v10.1.0 Upgrade n to v10.1.0 - Alexandre Aubin
[13:38:13] <Yunohost Git/Infra notifications> [yunohost] a​lexAubin deleted branch ci-auto-update-n-v10.1.0
[13:43:22] <Yunohost Git/Infra notifications> [pepettes] S​alamandar [commented](https://github.com/YunoHost/pepettes/pull/12#discussion_r1840305241) on pull request #12 Update requirements.txt for python3.11: suggestion gunicorn jinja2==3.0 stripe itsdangerous==2.0.1 flask
[13:43:33] <Yunohost Git/Infra notifications> [yunohost] a​lexAubin created new tag debian/12.0.7
[13:43:33] <Yunohost Git/Infra notifications> [yunohost] a​lexAubin pushed 2 commits to dev ([f28487ae28d2...e8c175231e78](https://github.com/YunoHost/yunohost/compare/f28487ae28d2...e8c175231e78))
[13:43:34] <Yunohost Git/Infra notifications> [pepettes] S​alamandar pushed 1 commit to bump_deps: Add missing gunicorn and specific itsdangerous version ([722c172c](https://github.com/YunoHost/pepettes/commit/722c172cf04c6ee757ef8a7ab0bf2be069e33cd1))
[13:43:34] <Yunohost Git/Infra notifications> [yunohost/dev] helpers2.1: fix is_data definition in ynh_restore (same as b516c14 but applied to ynh_restore) - Alexandre Aubin
[13:43:35] <Yunohost Git/Infra notifications> [yunohost/dev] Update changelog for 12.0.7 - Alexandre Aubin
[13:43:47] <Yunohost Git/Infra notifications> [pepettes] S​alamandar closed [issue #10](https://github.com/YunoHost/pepettes/issues/10): bookworm compatibility
[13:43:47] <Yunohost Git/Infra notifications> [pepettes] S​alamandar merged [pull request #12](https://github.com/YunoHost/pepettes/pull/12): Update requirements.txt for python3.11
[13:43:47] <Yunohost Git/Infra notifications> [pepettes] S​alamandar pushed 1 commit to main: Update requirements.txt for python3.11 (#12) ([60c5e73a](https://github.com/YunoHost/pepettes/commit/60c5e73a033436cf15a5cc5af4da03f0959cf02f))
[13:43:49] <Yunohost Git/Infra notifications> [pepettes] S​alamandar deleted branch bump_deps
[14:05:44] <Yunohost Git/Infra notifications> test
[14:06:00] <Yunohost Git/Infra notifications> test2
[14:08:44] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost/12.0.7 for bookworm/stable/all.
[14:50:25] <orhtej2> > <@yunohostinfra:matrix.org> ✔️ Completed build for yunohost/12.0.7 for bookworm/stable/all.

11.x where ;P
[15:04:05] <orhtej2> as per [this thread](https://forum.yunohost.org/t/borg-restore-backup-file-withou-info-json/31979/3) [this line](https://github.com/YunoHost/yunohost/blob/e8c175231e78683c98e84f7fd637d234fb31c2cc/src/backup.py#L2009) will tell you there's indeed 'info.json' **somewhere** in the file, but fail to store the full path (and subsequently fail to extract the file)
[15:04:33] <orhtej2> as per [this thread](https://forum.yunohost.org/t/borg-restore-backup-file-withou-info-json/31979/3) [this line](https://github.com/YunoHost/yunohost/blob/e8c175231e78683c98e84f7fd637d234fb31c2cc/src/backup.py#L2009) will tell you there's indeed 'info.json' **somewhere** in the file, but fail to store the full path (and subsequently fail to extract the file)

```
>>> [t for t in tar.getnames() if 'info.json' in t]
['home/yunohost.backup/tmp/auto_dendrite/info.json']
>>> f = tar.extractfile('info.json')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.11/tarfile.py", line 2157, in extractfile
tarinfo = self.getmember(member)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/tarfile.py", line 1843, in getmember
raise KeyError("filename %r not found" % name)
KeyError: "filename 'info.json' not found"
>>> f = tar.extractfile('home/yunohost.backup/tmp/auto_dendrite/info.json')
>>> f.read
<built-in method read of ExFileObject object at 0x7f08f81b35e0>
>>> f.read()
b'{"description": "", "created_at": 1731366005, "size": 1343456465, "size_details": {"system": {}, "apps": {"dendrite": 1343455705}}, "apps": {"dendrite": {"version": "0.13.8~ynh1", "name": "Dendrite", "description": "Matrix homeserver of second generation"}}, "system": {}, "from_yunohost_version": "12.0.6"}'
```
[15:06:05] <Yunohost Git/Infra notifications> [yunohost] 🔴 Pipeline [#1540465235](https://gitlab.com/YunoHost/yunohost/-/pipelines/1540465235) failed on branch dev
[15:19:22] <Aleks (he/him/il/lui)> > as per [this thread](https://forum.yunohost.org/t/borg-restore-backup-file-withou-info-json/31979/3) [this line](https://github.com/YunoHost/yunohost/blob/e8c175231e78683c98e84f7fd637d234fb31c2cc/src/backup.py#L2009) will tell you there's indeed 'info.json' **somewhere** in the file, but fail to store the full path (and subsequently fail to extract the file)
>
> ```
> >>> [t for t in tar.getnames() if 'info.json' in t]
> ['home/yunohost.backup/tmp/auto_dendrite/info.json']
> >>> f = tar.extractfile('info.json')
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/lib/python3.11/tarfile.py", line 2157, in extractfile
> tarinfo = self.getmember(member)
> ^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/tarfile.py", line 1843, in getmember
> raise KeyError("filename %r not found" % name)
> KeyError: "filename 'info.json' not found"
> >>> f = tar.extractfile('home/yunohost.backup/tmp/auto_dendrite/info.json')
> >>> f.read
> <built-in method read of ExFileObject object at 0x7f08f81b35e0>
> >>> f.read()
> b'{"description": "", "created_at": 1731366005, "size": 1343456465, "size_details": {"system": {}, "apps": {"dendrite": 1343455705}}, "apps": {"dendrite": {"version": "0.13.8~ynh1", "name": "Dendrite", "description": "Matrix homeserver of second generation"}}, "system": {}, "from_yunohost_version": "12.0.6"}'
> ```

Eeeh wut
[15:32:23] <orhtej2> > <@Alekswag:matrix.org> Eeeh wut

result from borg
[15:35:29] <Aleks (he/him/il/lui)> ```python
>>> [t for t in tar.getnames() if 'info.json' in t]
['home/yunohost.backup/tmp/auto_dendrite/info.json']
```

but uuuuh in the code we test `if "info.json" in tar.getnames()` (not if each individual filename contain "info.json") 🤔
[15:35:45] <Aleks (he/him/il/lui)> i mean the file is literally supposed to be "info.json" (or possibly with "./" in front, not a full path ?
[15:36:28] <Aleks (he/him/il/lui)> sounds like a bug in the way borg custom backup method creates the backup ?
[16:02:21] <orhtej2> > <@Alekswag:matrix.org> i mean the file is literally supposed to be "info.json" (or possibly with "./" in front, not a full path ?

may as well be
[16:02:29] <orhtej2> > <@Alekswag:matrix.org> sounds like a bug in the way borg custom backup method creates the backup ?

again, may as well be
[18:45:00] <Yunohost Git/Infra notifications> [yunohost] S​alamandar pushed 1 commit to trixie: Replace mysqlshow, mysqldump with mariadb-show, mariadb-dump See https://mariadb.com/kb/en/changes-and-improvements-in-... ([2cf711a5](https://github.com/YunoHost/yunohost/commit/2cf711a5ae942a77af0ca27c2205105836841602))
[18:45:55] <Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost/12.0.6+202411131945 for trixie/unstable/all ...
[19:00:14] <Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost/12.0.6+202411132000 for trixie/unstable/all ...
[19:15:14] <Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost/12.0.6+202411132015 for trixie/unstable/all ...
[19:15:36] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost/12.0.6+202411131945 for trixie/unstable/all.
[19:34:41] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost/12.0.6+202411132000 for trixie/unstable/all.
[19:42:20] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost/12.0.6+202411132015 for trixie/unstable/all.
[20:04:06] <Yunohost Git/Infra notifications> [incus_builder] S​alamandar pushed 1 commit to trixie: Allow building trixie images ([daee8b01](https://github.com/YunoHost/incus_builder/commit/daee8b0135df7f2ce3a28e53b6149cde53dc8483))
[21:57:27] <Salamandar> FYI: https://github.com/lxc/incus/issues/1371
[21:58:47] <Salamandar> i hate creating very weird issues on projects that i never contributed on
[21:58:51] <Salamandar> but it's also funny
[22:11:42] <orhtej2> > <@Salamandar:matrix.org> FYI: https://github.com/lxc/incus/issues/1371

that's exactly how I got started with Yunohost :P
[22:11:58] <orhtej2> > <@Salamandar:matrix.org> i hate creating very weird issues on projects that i never contributed on

that's exactly how I got started with Yunohost :P
[22:13:05] <orhtej2> > <@Salamandar:matrix.org> FYI: https://github.com/lxc/incus/issues/1371

naively what's the output of `time` on host machine?
[22:17:37] <orhtej2> > that's exactly how I got started with Yunohost :P

on a more general note I feel like reporting issues IS contributing to (OS) projects
[22:18:43] <orhtej2> for instance [ASP.net](https://github.com/dotnet/aspnetcore/blob/main/CONTRIBUTING.md) opens contributing guide with 'how to report an issue' section, IMO free QA is valuable
[22:20:26] <orhtej2> it gives you feedback on
a) you product is actually used
b) here's what happens in \<this scenario you haven't thought of> on \<this hw setup you haven't considered>
[22:23:13] <Yunohost Git/Infra notifications> [yunohost-admin] y​unohost-bot pushed 1 commit to spellcheck-shit: forms: disable autocapitalize for usernames & spellcheck for usernames and fullnames ([6c2894e0](https://github.com/YunoHost/yunohost-admin/commit/6c2894e03dc99ac792125a4b7e5fd8f80ab0859d))
[22:23:13] <Yunohost Git/Infra notifications> [yunohost-admin] y​unohost-bot created new branch spellcheck-shit
[22:24:08] <Yunohost Git/Infra notifications> [yunohost-admin] O​niriCorpe opened [pull request #597](https://github.com/YunoHost/yunohost-admin/pull/597): forms: disable autocapitalize for usernames & spellcheck for username…
[22:27:28] <Yunohost Git/Infra notifications> [yunohost-admin] O​niriCorpe [commented](https://github.com/YunoHost/yunohost-admin/pull/597#issuecomment-2474950576) on [issue #597](https://github.com/YunoHost/yunohost-admin/pull/597) forms: disable autocapitalize for usernames & spellcheck for username…: vue js is reporting errors for: - UserCreate.vue - fullname: spellcheck - UserEdit.vue - username: autocapitalize - ...
[22:27:40] <Yunohost Git/Infra notifications> [yunohost-admin] a​lexAubin approved [pull request #597](https://github.com/YunoHost/yunohost-admin/pull/597#pullrequestreview-2434604906) forms: disable autocapitalize for usernames & spellcheck for username…: (not sure to fully understand the autocapitalize stuff with username but lgtm)
[22:31:32] <Yunohost Git/Infra notifications> [yunohost-portal] y​unohost-bot created new branch spellcheck-shit
[22:31:32] <Yunohost Git/Infra notifications> [yunohost-portal] y​unohost-bot pushed 1 commit to spellcheck-shit: login: disable autocapitalize and spellcheck for the username form ([d287dd9e](https://github.com/YunoHost/yunohost-portal/commit/d287dd9e9bef5b3dd828451357379734e15db1a0))
[22:31:49] <Yunohost Git/Infra notifications> [yunohost-portal] O​niriCorpe opened [pull request #22](https://github.com/YunoHost/yunohost-portal/pull/22): login: disable autocapitalize and spellcheck for the username form
[22:32:32] <Émy – OniriCorpe> thats great work, y​unohost-bot 😌
[22:33:05] <orhtej2> `/botsnack`
[22:37:04] <Salamandar> > naively what's the output of `time` on host machine?

its probably not related to time because, when running `incus image show <the image>` it shows the correct creation time…
[22:49:02] <Yunohost Git/Infra notifications> [yunohost-portal] a​lexAubin merged [pull request #22](https://github.com/YunoHost/yunohost-portal/pull/22): login: disable autocapitalize and spellcheck for the username form
[22:49:02] <Yunohost Git/Infra notifications> [yunohost-portal] a​lexAubin pushed 2 commits to dev ([14ab2c7d0f8d...bcdb72231912](https://github.com/YunoHost/yunohost-portal/compare/14ab2c7d0f8d...bcdb72231912))
[22:49:04] <Yunohost Git/Infra notifications> [yunohost-portal] a​lexAubin deleted branch spellcheck-shit
[22:49:07] <Yunohost Git/Infra notifications> [yunohost-portal/dev] login: disable autocapitalize and spellcheck for the username form - OniriCorpe
[22:49:07] <Yunohost Git/Infra notifications> [yunohost-portal/dev] Merge pull request #22 from YunoHost/spellcheck-shit login: disable autocapitalize and spellcheck for the username form - Alexandre Aubin