Friday, July 21, 2023
dev@conference.yunohost.org
July
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
           

[07:25:25] <lapineige> I'm still planning things, not 100% sure but I think I should be there during 2 days (most likely during the weekend)
[08:31:05] <Salamandar> tituspijean: Just git pull, it should be OK 😄
[08:31:42] <Salamandar> there's a variable DRY_RUN that you can put to True to tes
[08:31:44] <Salamandar> test
[08:52:50] <tituspijean[m]> Thanks! I will try it out tonight 🙂
[09:47:04] <Salamandar> 😄
[11:24:06] <Aleks (he/him/il/lui)> https://addyosmani.com/blog/good-code/
[13:35:12] <Lars> Hi,

Installed Synapse today. Everything Works fine now, but is it possible to Change the Registration status? Example enable Userregistration and disable it again.
[13:39:19] <tituspijean[m]> Lars: hi, this a Support question. You are in the wrong channel.
[15:16:14] <Lars> > <@titus:pijean.ovh> Lars: hi, this a Support question. You are in the wrong channel.

Sorry
[17:33:55] <tituspijean[m]> > <@Salamandar:matrix.org> tituspijean: Just git pull, it should be OK 😄

zomg it works: https://fider.pijean.ovh/?view=completed
[17:34:13] <tituspijean[m]> gotta think about the tags, all imported apps are tagged as `new-app` 🤔
[17:34:49] <tituspijean[m]> mmmh I think the wishlist is not imported
[17:48:56] <tituspijean[m]> Emptying the apps.json to only load the wishlist:
[17:48:57] <tituspijean[m]> ```
./import_apps.py
WARNING: already existing app in db : New app: Isso
Traceback (most recent call last):
File "/home/titus/import_yunohost_apps_into_fider/fider_db.py", line 26, in insert
cursor.execute(
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "post_slug_tenant_key"
DETAIL: Key (tenant_id, slug)=(1, new-app-isso) already exists.


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/titus/import_yunohost_apps_into_fider/fider_db.py", line 44, in insert
cursor.execute("SELECT id from posts where slug like %s", self.slug_of(title))
TypeError: not all arguments converted during string formatting

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/titus/import_yunohost_apps_into_fider/./import_apps.py", line 67, in <module>
main()
File "/home/titus/import_yunohost_apps_into_fider/./import_apps.py", line 59, in main
post_id = fider_db.insert(name, description)
File "/home/titus/import_yunohost_apps_into_fider/fider_db.py", line 47, in insert
return cursor.fetchone()[0]
psycopg2.ProgrammingError: no results to fetch
```
[18:17:34] <Yunohost Git/Infra notifications> Failed to run the source auto-update for : leantime, shiori. Please run manually the autoupdate_app_sources.py script on these apps to debug what is happening!
[18:38:06] <tituspijean[m]> > <@yunohostinfra:matrix.org> Failed to run the source auto-update for : leantime, shiori. Please run manually the autoupdate_app_sources.py script on these apps to debug what is happening!

Wild thought, why not send the output to yunopaste?
[18:38:08] <tituspijean[m]> (And should not it post to the Apps room?)
[19:11:32] <Aleks (he/him/il/lui)> hmmm sure :P
[19:11:36] <Aleks (he/him/il/lui)> PRs welcome ;P
[19:53:26] <Émy - OniriCorpe> It seems the core has a new bug: https://ci-apps-dev.yunohost.org/ci/job/8341
`AttributeError: 'AlertOption' object has no attribute 'value'`
[19:55:39] <Émy - OniriCorpe> it's okay--ish for me since it was a hack to warn users that it was an alpha, and it's now integrated into the web interface so I removed this hack from the code, but it breaks the CI on updates from older versions
[19:55:48] <Émy - OniriCorpe> like this https://ci-apps-dev.yunohost.org/ci/job/8340
[19:56:19] <Émy - OniriCorpe> https://github.com/YunoHost-Apps/gotosocial_ynh/commit/f29289340b8bd1c1e0727b187c5a1285549a0bab
[19:56:21] <tituspijean[m]> Émy - OniriCorpe fixed in 11.2.2 normally
[19:56:44] <Émy - OniriCorpe> the CI runs 11.2.2
[19:57:11] <tituspijean[m]> (ah thanks, I was trying to check that, my connection is poor right now)
[19:57:16] <tituspijean[m]> sooo....
[19:57:18] <tituspijean[m]> (╯°□°)╯︵ ┻━┻
[19:57:23] <Émy - OniriCorpe>
> YunoHost versions

yunohost:
repo: stable
version: 11.2.2
yunohost-admin:
repo: stable
version: 11.2.1
moulinette:
repo: stable
version: 11.2
ssowat:
repo: stable
version: 11.2
[20:03:10] <Yunohost Git/Infra notifications> [yunohost] @alexAubin pushed 1 commit to dev: apps: fix another case of no attribute value due to config panels/questions refactoring ([4fda8ed4](https://github.com/YunoHost/yunohost/commit/4fda8ed49fbf97c10343c15e794e74683a727785))
[20:03:11] <Aleks (he/him/il/lui)> ^ 👀
[20:10:37] <tituspijean[m]> Aleks (he/him/il/lui) how is triggered the auto source update? I cannot find the cron, nor how it sends the message through Matrix (it only refers to xmpp)
[20:11:33] <Aleks (he/him/il/lui)> hmm it's a cron i think
[20:12:16] <Aleks (he/him/il/lui)> yeah it's "hidden" in `/etc/cron.d/app_list`
[20:12:44] <tituspijean[m]> oooh ok thanks. I looked over it due to the name of the file 🙂
[20:13:00] <Aleks (he/him/il/lui)> aaaand the actual script is not versionized 😅
[20:13:51] <tituspijean[m]> I'll hold off that right now, the latency on the train WiFi is making me crazy
[20:14:00] <tituspijean[m]> > <@Alekswag:matrix.org> aaaand the actual script is not versionized 😅

how so?
[20:14:32] <tituspijean[m]> it's not in a git repo?
[20:15:27] <Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost/11.2.2+202307212015 for bullseye/unstable/all ...
[20:15:42] <Aleks (he/him/il/lui)> the cron job calls `/var/www/app_yunohost/apps/sourcesautoupdate.sh`
[20:15:53] <Aleks (he/him/il/lui)> but i didn't version it because i kind of yolo implemented it on the prod
[20:16:04] <Aleks (he/him/il/lui)> and forgot about it once it was working~ish /o\
[20:16:06] <tituspijean[m]> *this is the way*
[20:16:17] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost/11.2.2+202307212015 for bullseye/unstable/all.
[20:16:23] <Aleks (he/him/il/lui)> 😅
[20:16:34] <Aleks (he/him/il/lui)> it's essentially the same as https://github.com/YunoHost/apps/blob/master/rebuild.sh though
[20:22:38] <Aleks (he/him/il/lui)> (and `sendxmpppy` is actually now a bash helper that actually uses matrix-commander with `yunohost-dev` hardecoded in it, to make things simpler 😬)
[20:24:08] <Aleks (he/him/il/lui)> https://i.imgflip.com/7tc6ea.jpg
[20:41:29] <Émy - OniriCorpe> (Is it better to wait for the fix to be deployed before making my package update available?)
[21:33:04] <Yunohost Git/Infra notifications> [yunohost] 🔴 Pipeline [#940766509](https://gitlab.com/yunohost/yunohost/-/pipelines/940766509) failed on branch dev
[21:58:59] <em0ne> If my vps Provider suddenly changed the Nameservers will that cause my vps to be offline?