Thursday, August 24, 2023
dev@conference.yunohost.org
August
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
     
             

[10:36:47] <Aleks (he/him/il/lui)> Hmmmyeah there's clearly some issue because of recent package versions with non-backward compat
[10:36:48] <Aleks (he/him/il/lui)> Or rather package versions that conflict somehow
[10:36:53] <Aleks (he/him/il/lui)> Im on my phone, cant run pip freeze right now
[10:36:54] <Aleks (he/him/il/lui)> So yeah it works on our infra because it was setup long time ago
[10:37:26] <m606> > <@Alekswag:matrix.org> Im on my phone, cant run pip freeze right now

Thanks. No rush I can wait
[10:42:36] <Aleks (he/him/il/lui)> m606:

```
(venv) web1:/var/www/tartiflette# pip freeze
alembic==1.4.3
certifi==2020.12.5
chardet==4.0.0
click==7.1.2
Flask==1.0.2
Flask-Migrate==2.5.3
Flask-Script==2.0.6
Flask-SQLAlchemy==2.4.4
gunicorn==20.0.4
idna==2.10
itsdangerous==1.1.0
Jinja2==2.11.2
Mako==1.1.3
MarkupSafe==1.1.1
pkg-resources==0.0.0
python-dateutil==2.8.1
python-editor==1.0.4
requests==2.25.1
six==1.15.0
SQLAlchemy==1.3.22
toml==0.10.2
urllib3==1.26.2
Werkzeug==1.0.1
```
[10:42:43] <m606> Still blocked at the same point though - seems to be related to my point about the absence of the file settings.py in the repo (which is mentioned in the README).
[10:42:44] <m606> Here is the error message (same than the one I had eventually come to yesterday)
```
(venv) me@comp:/media/me/Documents/tartiflette$ ./manage.py nuke
Traceback (most recent call last):
File "/media/me/Documents/tartiflette/./manage.py", line 7, in <module>
app = create_app()
File "/media/me/Documents/tartiflette/app/__init__.py", line 9, in create_app
from .app import main
File "/media/me/Documents/tartiflette/app/app.py", line 7, in <module>
from .settings import SITE_ROOT
ModuleNotFoundError: No module named 'app.settings'
```
[10:42:46] <m606> Would you be able to give me an idea of what is the content of the settings.py file (I assume it contains among other things a Github Token not meant to be public)?
[10:43:13] <Yunohost Git/Infra notifications> [yunohost] @zamentur [commented](https://github.com/YunoHost/yunohost/pull/1675#issuecomment-1687932945) on [issue #1675](https://github.com/YunoHost/yunohost/pull/1675) Magically keeping all custom-config panel settings during the conf upgrade via ynh_add_config without having to define all of them as yunohost settings: This draft is fine, but I wonder if we should consider what happens if there are more complex custom setter. Technical...
[10:43:15] <Yunohost Git/Infra notifications> [yunohost] @zamentur [commented](https://github.com/YunoHost/yunohost/pull/1675#issuecomment-1687934434) on [issue #1675](https://github.com/YunoHost/yunohost/pull/1675) Magically keeping all custom-config panel settings during the conf upgrade via ynh_add_config without having to define all of them as yunohost settings: Paswrod question type could also be a problem if the getter return nothing, the export wont export the password value i...
[10:44:04] <m606> Probably it exists on the infra server, at /tartiflette/app/settings.py
[10:44:08] <Aleks (he/him/il/lui)> > <@m606:matrix.org> Would you be able to give me an idea of what is the content of the settings.py file (I assume it contains among other things a Github Token not meant to be public)?

indeed, there's `GITHUB_USER="yunohost-bot"`, `GITHUB_TOKEN="someSecretToken"`, `SITE_ROOT=""` and `STATIC_ROOT="/static"`
[10:44:08] <Aleks (he/him/il/lui)> but it may not be necessary to have a GITHUB_TOKEN defined, it's probably only for some feature
[10:44:08] <Aleks (he/him/il/lui)> (I dont remember exactly, didnt have to dig deep into tartiflette since a while)
[10:44:28] <Aleks (he/him/il/lui)> are you sure it's defined ?
[10:44:28] <m606> Hmm in my case it seems it doesn't like the empty `SITE_ROOT` : `ImportError: cannot import name 'SITE_ROOT' from 'app.settings'`
[10:44:29] <Aleks (he/him/il/lui)> and are you sure you're editing `app/settings.py` ?
[10:44:29] <m606> oops yes but I hadn't saved 😑
[10:44:30] <Aleks (he/him/il/lui)> classic 😬
[10:44:33] <m606> working!
[10:44:48] <m606> at least for a while... here is `./manage.py update catalog` outputs:
```
Adding new app 13ft
Adding new app 20euros
Adding new app 243-game
Adding new app 2fauth
Adding new app abantecart
Adding new app acropolis
Adding new app actual
Adding new app adguardhome
Adding new app adminer
Adding new app aeneria
Adding new app agendav
Adding new app agora
Adding new app airsonic
Failed to fetch repos/YunoHost-Apps/airsonic_ynh/git/refs/heads/master
{'message': "API rate limit exceeded for {{my_ip}} (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)", 'documentation_url': 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting'}`
```
Here is probably why a github token is used. However for my test purposes, just a few apps should be enough.
Thanks!
[10:45:07] <tituspijean> Yup with a token it's better, but I would still implement a 1s delay between apps too
[10:45:21] <m606> > <@titus:pijean.ovh> Yup with a token it's better, but I would still implement a 1s delay between apps too

there ? https://github.com/YunoHost/tartiflette/blob/master/app/models/appcatalog.py#L126-L194
[10:45:23] <Aleks (he/him/il/lui)> a token isnt hard to obtain from Github interface tho
[10:45:24] <m606> Would you remember how is /tartiflette/app/scripts/appListsHistory/script.py (containing the script which creates news.json, then used by app.py to generate the catalog news template file) supposed to be triggered ? Manually ? With an external manager such as cron ? I can't find trigger to that file within the repo.
[10:45:26] <m606> > <@Alekswag:matrix.org> a token isnt hard to obtain from Github interface tho

Sure, and anyway I don't think I need to download the full catalog for my purposes. I thought maybe titus was suggesting a change in the code for more general purposes.
[10:45:27] <Aleks (he/him/il/lui)> it's triggered via a cron job i think
[10:45:43] <m606> Hmmm if I try triggering it manually i get the following (along with a temporary change of cursor - like a partial screenshot picker - on my desktop) and no news.json file is created :
```
(venv) me@comp:/media/me/Documents/tartiflette$ ./app/scripts/appListsHistory/script.py
import-im6.q16: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/421.
import-im6.q16: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/421.
import-im6.q16: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/421.
import-im6.q16: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/421.
import-im6.q16: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/421.
./app/scripts/appListsHistory/script.py: ligne 6: from : commande introuvable
./app/scripts/appListsHistory/script.py: ligne 8: erreur de syntaxe près du symbole inattendu « ( »
./app/scripts/appListsHistory/script.py: ligne 8: `currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))'
```
[10:45:44] <Aleks (he/him/il/lui)> you gotta call it with `python path/to/script.py`
[10:45:44] <Aleks (he/him/il/lui)> otherwise it thinks you want to run it as bash
[10:45:45] <m606> oh alright!
[10:45:45] <Aleks (he/him/il/lui)> though you could argue it's probably missing the shebang at the top
[10:46:25] <Yunohost Git/Infra notifications> [yunohost] @alexAubin pushed 1 commit to dev: apps: BACKUP_CORE_ONLY was not set for pre-upgrade safety backups, resulting in unecessarily large pre-upgrade backups ([07daa687](https://github.com/YunoHost/yunohost/commit/07daa68770df82f92c1539228d5d003b9570fa29))
[10:46:34] <Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost/11.2.3+202308221345 for bullseye/unstable/all ...
[10:46:36] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost/11.2.3+202308221345 for bullseye/unstable/all.
[10:47:51] <Yunohost Git/Infra notifications> [yunohost] @Tagadda pushed 1 commit to Tagadda-patch-1: Update src/utils/resources.py Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> ([ee4d94d3](https://github.com/YunoHost/yunohost/commit/ee4d94d3829192029e8ece8d87529a005280eea3))
[10:47:52] <Yunohost Git/Infra notifications> [yunohost] @Tagadda pushed 1 commit to Tagadda-patch-1: Update src/utils/resources.py Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> ([73a144fa](https://github.com/YunoHost/yunohost/commit/73a144fa4623f36f6f4b105801509cd5d183fec1))
[10:48:14] <Yunohost Git/Infra notifications> @oleole39 forked tartiflette to [oleole39/tartiflette](https://github.com/oleole39/tartiflette)
[10:48:30] <Yunohost Git/Infra notifications> [yunohost] @alexAubin pushed 1 commit to dev: configpanels/forms : more edge cases with some questions not implementing some methods/attributes ([b0fe49ae](https://github.com/YunoHost/yunohost/commit/b0fe49ae8390299d022c84b5c824057fc28f7c31))
[10:48:34] <Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost/11.2.3+202308221545 for bullseye/unstable/all ...
[10:48:36] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost/11.2.3+202308221545 for bullseye/unstable/all.
[10:51:12] <m606> How do you feel about the following RSS feed format ?
```
- Title : "[ADDED] Vore"
- Publication date: "15 August 2023" => date would be the date of catalog update (i.e. every either 1st or 15th of the month)
- Description: "reading, rssreader" => description could be a merged list of category and subtags of the apps.toml
- Content: "A simple, multi-tenant feed reader <br><h3>Client:</h3><ul><li>rss and atom support</li><li>minimal, simple, reliable, fast</li><li>refresh your feeds automatically</li><li>display a chronological list of feed items</li></ul><br><b>Shipped version:</b> 2023.05.15~ynh2<br><b>Demo:</b> https://vore.website/j3s" => Content could be the overview section of the README.md
```
I am considering adding to the feed all the entries of the 2 last [timepoints](https://dash.yunohost.org/appsobservatory/news).
[10:51:12] <Aleks (he/him/il/lui)> yup that sounds cool
[10:52:49] <Yunohost Git/Infra notifications> Failed to run the source auto-update for : zwave-js-ui. Please run manually the `autoupdate_app_sources.py` script on these apps to debug what is happening! Debug log : http://paste.yunohost.org/raw/ivozoqitem
[10:57:57] <lapineige> What's the date of the next Yunohost meeting ?
[10:58:43] <Aleks (he/him/il/lui)> every 1st and 3rd Thursday of the month, so September 7th
[11:02:28] <Yunohost Git/Infra notifications> [SSOwat] @zamentur pushed 1 commit to user-doc: [enh] User doc ([c56db445](https://github.com/YunoHost/SSOwat/commit/c56db445a0a0e64dd099181ae7a3cd6d610afb5a))
[11:02:29] <Yunohost Git/Infra notifications> [SSOwat] @alexAubin [commented](https://github.com/YunoHost/SSOwat/pull/218#issuecomment-1689615773) on [issue #218](https://github.com/YunoHost/SSOwat/pull/218) [enh] User doc: Hmmmokay but currently this doc page only displays "This section is being worked on. " x_x
[11:02:29] <Yunohost Git/Infra notifications> [SSOwat] @zamentur created new branch user-doc
[11:02:29] <Yunohost Git/Infra notifications> [SSOwat] @zamentur opened [pull request #218](https://github.com/YunoHost/SSOwat/pull/218): [enh] User doc
[11:02:32] <Yunohost Git/Infra notifications> [SSOwat] @zamentur edited review [pull request #217](https://github.com/YunoHost/SSOwat/pull/217#pullrequestreview-1591174786): SSOwat epic refactoring / Portal API
[11:02:32] <Yunohost Git/Infra notifications> [SSOwat] @zamentur commented [pull request #217](https://github.com/YunoHost/SSOwat/pull/217#pullrequestreview-1591174786) SSOwat epic refactoring / Portal API: Thanks for this awesome work
[11:02:33] <Yunohost Git/Infra notifications> [SSOwat] @zamentur edited a [comment](https://github.com/YunoHost/SSOwat/pull/217#discussion_r1302751985) on pull request #217 SSOwat epic refactoring / Portal API: Missing <head>, <title> and <body> ? Maybe also add utf-8 and no referrer meta tag (not sure for the no referer)
[11:02:34] <Yunohost Git/Infra notifications> [SSOwat] @alexAubin [commented](https://github.com/YunoHost/SSOwat/pull/217#discussion_r1302757773) on pull request #217 SSOwat epic refactoring / Portal API: This was just a yolo page to test the new API, the actual new portal is being worked on in https://github.com/YunoHost/y...
[11:02:34] <Yunohost Git/Infra notifications> [SSOwat] @alexAubin [commented](https://github.com/YunoHost/SSOwat/pull/217#discussion_r1302757227) on pull request #217 SSOwat epic refactoring / Portal API: This was just a yolo page to test the new API, the actual new portal is being worked on in https://github.com/YunoHost/y...
[11:02:36] <Yunohost Git/Infra notifications> [SSOwat] @zamentur [commented](https://github.com/YunoHost/SSOwat/pull/217#discussion_r1302769323) on pull request #217 SSOwat epic refactoring / Portal API: sorry Im out of line. Thanks for the info and replying.
[11:02:36] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost-portal/12.0+202308230945 for bookworm/unstable/all.
[11:02:36] <Yunohost Git/Infra notifications> [yunohost-portal] @zamentur pushed 1 commit to main: [enh] User doc instead of Admin doc ([11a78de6](https://github.com/YunoHost/yunohost-portal/commit/11a78de6b24bebfaf3c8d51a9a8da9449d2ede39))
[11:02:36] <Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost-portal/12.0+202308230945 for bookworm/unstable/all ...
[11:02:36] <Yunohost Git/Infra notifications> [SSOwat] @zamentur [commented](https://github.com/YunoHost/SSOwat/pull/218#issuecomment-1689639316) on [issue #218](https://github.com/YunoHost/SSOwat/pull/218) [enh] User doc: Indeed but there are useful subsection to configure email clients.
[11:02:39] <lapineige> I might have some content do show you and discuss 😉
[11:02:39] <lapineige> ok 🙂
[11:02:40] <lapineige> (I'd prefer that than sending a PR out of nowhere, there are some design decision to make 🙂)
[11:03:12] <ljf> hi, i have published my workshop for all the yuno-chatons at chatons camp. It's at the end of the pad here: https://libreto.sans-nuage.fr/camp-chatons-2023/samedi+5+-+ateliers
[11:03:28] <lapineige> > I might have some content do show you and discuss 😉

By the way Aleks (he/him/il/lui): do you think it's best to discuss it here on YunoHost Apps developpers ?
[11:03:31] <Aleks (he/him/il/lui)> i don't know, do you mean the app creation UI ?
[11:03:31] <Aleks (he/him/il/lui)> i guess it makes slightly more sense to discuss on the app room yeah
[11:05:16] <Yunohost Git/Infra notifications> [SSOwat] @alexAubin [commented](https://github.com/YunoHost/SSOwat/pull/217#discussion_r1303006492) on pull request #217 SSOwat epic refactoring / Portal API: (It would help if you can provide an accurate example, ideally a screenshot, of what youre looking for, like, is it jus...
[11:06:32] <Yunohost Git/Infra notifications> [SSOwat] @zamentur [commented](https://github.com/YunoHost/SSOwat/pull/217#discussion_r1303103484) on pull request #217 SSOwat epic refactoring / Portal API: For this need, only a simple "Legal mention" link (with translation) that send onto a link that we can configure in the ...
[11:06:34] <Yunohost Git/Infra notifications> [SSOwat] @zamentur edited a [comment](https://github.com/YunoHost/SSOwat/pull/217#discussion_r1303103484) on pull request #217 SSOwat epic refactoring / Portal API: For this need, only a simple "Legal mention" link (with translation) that send onto a link that we can configure in the ...
[11:07:02] <Yunohost Git/Infra notifications> [yunohost] @zamentur [commented](https://github.com/YunoHost/yunohost/pull/1675#issuecomment-1690086149) on [issue #1675](https://github.com/YunoHost/yunohost/pull/1675) Magically keeping all custom-config panel settings during the conf upgrade via ynh_add_config without having to define all of them as yunohost settings: I was just thinking about an issue: what if the config panel is broken ? We probably become unable to upgrade the app no...
[11:14:26] <lapineige> Au fait il y a une conférence YNH de prévue à Capitole du Libre cette année ?
[11:15:42] <Aleks (he/him/il/lui)> aucune idée, mais si tu te portes volontaire ce sera + que bienvenue, surtout si t'es encore un peu "nouveau" dans la contrib etc, t'as le regard frais sur le projet ;P
[11:16:05] <lapineige> il reste une semaine pour proposer un sujet ^^
[11:16:08] <lapineige> Je me disais que ça pouvait être l'occasion de présenter l'outil que je suis en train de faire / le packaging en général, plutôt sur un format d'atelier, pour les gens qui voudraient contribuer (et en vrai, y'a des gens qui viendront juste pour en discuter).
Les conférences sur c'est quoi le projet et son l'histoire, y'en a eu pas mal les années précédentes, et je me sens d'autant plus illégitime pour le faire que j'en connais pas grand chose 😆
[11:16:35] <lapineige> Et peut-être aussi un atelier découverte/démo/première installation, me faut réfléchir au format pour que ça soit pertinent (et pas trop pour un public méga technique).
Je ne sais plus qui (ljf?) aux JDLL de Lyon une année proposait carrément des VM toutes prêtes sur un serveur pour faire des tests, ça vous parle ?
[11:17:34] <tituspijean> C'est moi : https://github.com/YunoHost/yunohost-jdll-2022 😇
[11:17:36] <tituspijean> Mais je découvre que je n'ai pas envoyé la version 2023
[11:21:16] <lapineige> Ah oui, y'a mon nom dessus 😂
[11:21:24] <lapineige> C'est déployable "facilement" les serveurs de démonstration ?
[11:21:28] <lapineige> *(Sorry for the non French-speaking people here, it's about a talk at a French conference so I thought it wasn't very useful to translate it :)*
[11:22:06] <Aleks (he/him/il/lui)> > C'est déployable "facilement" les serveurs de démonstration ?

oui et non, ça dépends un peu ce que tu veux faire, perso quand je l'ai fait y'a quelques années, je crois que j'avais juste setup 10 Scaleway DEV-1-S le temps de l'atelier et voila (avec juste Debian installé, et ensuite les gens se connectaient en root avec un password genre "iloveyunohost" et lancaient le script d'install)
[11:22:08] <Aleks (he/him/il/lui)> d'ailleurs on a une orga YunoHost sur Scaleway et y'a tout a fait moyen qu'on te les setup pour toi (moi j'ai l'habitude pour les formations de faire ce genre de provisionning en masse) et comme ça t'as même pas besoin d'avancer de thunes
[11:22:08] <lapineige> Ah ben je note l'idée, ça serait carrément chouette
[11:22:19] <Aleks (he/him/il/lui)> https://forum.yunohost.org/t/yunohost-castopod-just-got-a-shout-out-from-a-big-name/26080 👀
[11:22:24] <eric_G> He doesn't seem to complain about Castopod integration 😅
[11:22:25] <eric_G> I am facing issues upgrading Castopod to last version https://github.com/YunoHost-Apps/castopod_ynh/pull/99
[11:22:25] <lapineige> I don't know about the integration but it's definitly and under-rated app, that should be more widely known
[11:22:35] <lapineige> > Ah ben je note l'idée, ça serait carrément chouette

Et en vrai si j'ai des serveurs de démo assez facilement à disposition, ça rend un atelier "premiers pas" vachement plus simple à organiser, et comme c'est plus intéressant que mon autre idée je suis carrément chaud :)
[11:22:36] <Aleks (he/him/il/lui)> oui mettre à dispo des serveurs c'est vraiment pas la partie compliquée à mon avis haha (comparer à l'énergie de préparer/animer l'atelier etc)

Et les confs c'est toujours "cool" mais c'est vrai que une fois tous les deux ans c'est déjà OK, plus que ça ça fait un peu du re-réchauffer je trouve ... ou alors il faut trouver un peu un twist ou avoir des grosses nouveautés à montrer maybe
[11:22:36] <orhtej2> Hi, was wondering if I understand correctly:
Take this API endpoint for example: https://github.com/YunoHost/yunohost/blob/b0fe49ae8390299d022c84b5c824057fc28f7c31/share/actionsmap.yml#L146

I can `yunohost user update <someone> --fullname="LongName"`. Can I as well `curl -X PUT https://domain.tld/yunohost/api/users/someone?fullname=LongName` ?
[11:22:37] <Aleks (he/him/il/lui)> but yes this .yml describes both the web API and the CLI
[11:22:37] <Aleks (he/him/il/lui)> orhtej2: assuming you also obtain a cookie on the `/login` route with the appropriate credentials, yes ;P
[11:22:37] <orhtej2> > <@Alekswag:matrix.org> orhtej2: assuming you also obtain a cookie on the `/login` route with the appropriate credentials, yes ;P

sure sure, that was given, I was more curious about how these command line switches relate to URI params
[11:22:37] <Aleks (he/him/il/lui)> and maybe you also need the `X-Requested-With` header (with empty value), it's a CSRF protection thingy, long story
[11:22:38] <orhtej2> (I'm asking because I'm curious if adding `--purge` to app uninstall is just a matter of passing extra args)
[11:22:38] <lapineige> > <@Alekswag:matrix.org> oui mettre à dispo des serveurs c'est vraiment pas la partie compliquée à mon avis haha (comparer à l'énergie de préparer/animer l'atelier etc)
>
> Et les confs c'est toujours "cool" mais c'est vrai que une fois tous les deux ans c'est déjà OK, plus que ça ça fait un peu du re-réchauffer je trouve ... ou alors il faut trouver un peu un twist ou avoir des grosses nouveautés à montrer maybe

Oui clairement je ne pars pas sur une conf de présentation, y'aura plein de sujets plus intéressants que quelque chose qu'on peut déjà trouver en 5 versions sur le net :)

En vrai c'est ce qui m'embêtait le plus la partie "démo technique", là on peut avoir un outil didactique (plutôt qu'une démo façon cours magistral) c'est top, le reste je gère plus facilement :)
[11:22:40] <lapineige> Et a priori je partirai sur genre :
- un cours temps de présentation / rappel de ce que c'est
- la partie pratique pour voir à quel point c'est simple (j'espère) et assez rapide
- un temps plus général de réflexion sur pourquoi d'héberger (ou pas), quoi héberger (ou non), comment (sécurité, sauvegardes, ...)
[11:22:41] <Aleks (he/him/il/lui)> > (I'm asking because I'm curious if adding `--purge` to app uninstall is just a matter of passing extra args)

yes, that's the easy part, but the less-easy part is that we don't want to display a checkbox "Also purge this app's data" when the app has no support for the `--purge` option (which if I remember correctly had to be manually implemented in v1 apps, and now for v2 apps it's automtic for apps which have a `data_dir` resource in the manifest). So anyway the `yunohost app info --full` API should return something like a `support_purge` boolean, depending if the app is v2 and has a data_dir resource (and then we can just forget about v1 apps, idk)
So nothing extraordinary complex but gotta be careful about the full picture to have a good UI/UX ;)
[11:22:42] <Aleks (he/him/il/lui)> > Et a priori je partirai sur genre :
> - un cours temps de présentation / rappel de ce que c'est
> - la partie pratique pour voir à quel point c'est simple (j'espère) et assez rapide
> - un temps plus général de réflexion sur pourquoi d'héberger (ou pas), quoi héberger (ou non), comment (sécurité, sauvegardes, ...)

oui gros +1 pour le temps de discussion pour prendre du recul !
[11:22:42] <orhtej2> > <@Alekswag:matrix.org> yes, that's the easy part, but the less-easy part is that we don't want to display a checkbox "Also purge this app's data" when the app has no support for the `--purge` option (which if I remember correctly had to be manually implemented in v1 apps, and now for v2 apps it's automtic for apps which have a `data_dir` resource in the manifest). So anyway the `yunohost app info --full` API should return something like a `support_purge` boolean, depending if the app is v2 and has a data_dir resource (and then we can just forget about v1 apps, idk)
> So nothing extraordinary complex but gotta be careful about the full picture to have a good UI/UX ;)

never considered packaging v1
[11:22:43] <Aleks (he/him/il/lui)> > never considered packaging v1

then forget about it, let's live in the future / present-ish ;P
[11:22:43] <Aleks (he/him/il/lui)> but my point is that even for v2 apps, not every app has a data dir (so not a huge deal to ask the user if they want to purge the app data if there's no data, but that kind of stuff can create confusion, so it's cool if we can have something like a `support_purge` mechanism)
[11:22:44] <Aleks (he/him/il/lui)> ah yes : https://github.com/YunoHost/yunohost-admin/pull/415
[11:22:44] <Aleks (he/him/il/lui)> in fact I think the support for purge was half done ... like maybe it's implemented in the webadmin but not in the API ?
[11:22:44] <lapineige> > <@Alekswag:matrix.org> oui gros +1 pour le temps de discussion pour prendre du recul !

C'est pour contrebalancer l'impression de facilité et de yolo c'est bon je lance le truc (on réfléchira après). Parce que bon ça abaisse moins la barrière d'entrée mais ça évite pas mal de catastrophes. Et c'est aussi le moment de poser une réfection sur quoi héberger ailleurs que sur un silo privateur classique, mais pas soi-même #Chatons :D
[11:22:45] <lapineige> C'est un format 2h au Capitole du Libre, c'est pas mal pour ça
[11:23:01] <Aleks (he/him/il/lui)> https://forum.yunohost.org/t/synapse-not-upgrading/26079 my god I can't believe we're 2023 and we're still getting this batshit errors about pip install cryptography failing to compile because of whatever Rust compiling shit
[11:23:02] <Aleks (he/him/il/lui)> at some point it was somehow fixed because somehow they shipped a pre-compiled binary
[11:23:02] <Aleks (he/him/il/lui)> why the hell would you literally need a rust compiler to install some python stuff djeezus -_-
[11:23:02] <Aleks (he/him/il/lui)> but not anymore ?
[11:23:05] <Aleks (he/him/il/lui)> https://i.imgflip.com/7wpzqg.jpg
[11:23:11] <Aleks (he/him/il/lui)> package managers are supposed to handle this shit for ya
[11:26:30] <Solrac> not sure if this is the right place, but I think I found a bug for mautrix_signal? It keeps erroring out. I tried installing it 4 times
2nd: https://paste.yunohost.org/raw/ecuzadobex
3rd: https://paste.yunohost.org/raw/ugucanapug
4th: https://paste.yunohost.org/raw/paceriboca

[11:26:32] <Solrac> It might be me... I've also got a similar error for mautrix_facebook https://paste.yunohost.org/raw/tegocitaro
[11:27:25] <lapineige> (It might be better in the app packaging channel yes, but no big deal imho)
[11:27:49] <lapineige> > <@ljf:sans-nuage.fr> hi, i have published my workshop for all the yuno-chatons at chatons camp. It's at the end of the pad here: https://libreto.sans-nuage.fr/camp-chatons-2023/samedi+5+-+ateliers

Very interresting document (as a whole), thank a lot for sharing this !
By the way do you have a list of yuno-based CHATONS ? I'm curious to know :)
[11:28:48] <ljf> https://wiki.chatons.org/doku.php/heberger/administration_systeme/yunohost?s[]=yunohost#chatons_utilisant_yunohost
[11:28:48] <ljf> FR link
[11:29:13] <mrflos> J'ai vu passer cela https://korben.info/runtipi-demystifiez-auto-hebergement-avec-logiciel-open-source.html , ca a l'air moins bien que yunohost (ca utilise docker, pas d'outils de diagnostic, ni de gestions mail/ndd) mais l'interface a l'air clean
[11:29:14] <Maranda> > <@Alekswag:matrix.org> why the hell would you literally need a rust compiler to install some python stuff djeezus -_-

Because dumbness and "poetry"
[11:29:25] <Aleks (he/him/il/lui)> The worse part is it could be some random project that you rarely need but nope this is cryptography aka some dependency-of-dependency that half the python ecosystem needs so djeezus just ship precompiled binaries
[11:29:28] <orhtej2> > <@Alekswag:matrix.org> The worse part is it could be some random project that you rarely need but nope this is cryptography aka some dependency-of-dependency that half the python ecosystem needs so djeezus just ship precompiled binaries

they do but not for armhf I think
[11:29:29] <orhtej2> ¯\_(ツ)_/¯
[11:29:29] <orhtej2> and not for python 3.11 for some reason
[11:29:29] <ljf> https://www.runtipi.io/docs/guides/expose-apps-with-cloudflare-tunnels
[11:29:29] <orhtej2> https://pypi.org/project/cryptography/#files
[11:30:08] <Yunohost Git/Infra notifications> [tartiflette] @oleole39 opened [pull request #15](https://github.com/YunoHost/tartiflette/pull/15): Enable local testing
[11:30:13] <HgO> > <@hgo:chat.batato.be> Je confirme que j'ai le problème en faisant `./compile.sh docker yunohost BOARD=lime2` sur ma PR https://github.com/YunoHost/arm-images/pull/15
> Est-ce que quelqu'un aurait le courage de confirmer ça ? J'ai remarqué ça sur des boards 32bit (raspbian / armbian), mais pas sur une 64bit

Je m'auto-réponds : je n'ai pas le problème sur un autre PC, il ne me reste plus qu'à essayer de comprendre pourquoi j'ai le problème sur mon laptop x') je sers la cross-compilation et ça ma joie 🥲
[11:30:16] <Aleks (he/him/il/lui)> Oho du coup ça marche sur ton autre PC avec le machin qui tweak l'image deja existante ?
[11:48:48] <Yunohost Git/Infra notifications> [tartiflette] @oleole39 opened [pull request #16](https://github.com/YunoHost/tartiflette/pull/16): RSS feed implementation
[12:00:30] <m606> Hi, just sent 2 PR for Tartiflette (they can be both merged independently) - #15 which echoes to my questions of 22/08 on this channel to @Aleks (he/him/il/lui) to enable anyone setting a local dev instance without having a view to the main infra server, and #16 which is the RSS feature itself.
[12:48:12] <Aleks (he/him/il/lui)> noice !
[12:48:26] <Aleks (he/him/il/lui)> I'm at $dayjob right now but can try to have a look in the afternoon
[13:11:52] <HgO> > <@Alekswag:matrix.org> Oho du coup ça marche sur ton autre PC avec le machin qui tweak l'image deja existante ?

Non, mais depuis que j'ai voulu tester CustomPiOS sur mon laptop, j'ai le bug dont je parle, même lorsque je compile une image arm from scratch. J'ai sans doute modifié un truc qu'il fallait pas, mais je ne sais plus quoi… J'ai pas encore testé sur l'autre PC, j'ai un peu peur de tout casser je t'avoue x)
[13:18:37] <Aleks (he/him/il/lui)> arg xD
[14:48:45] <m606> > <@Alekswag:matrix.org> I'm at $dayjob right now but can try to have a look in the afternoon

sure, it can wait even longer 👍️
[16:45:47] <Yunohost Git/Infra notifications> [issues] @abochmann opened [issue #2235](https://github.com/YunoHost/issues/issues/2235): admin Diagnosis: reverse DNS check should be case-insensitive
[16:45:47] <Yunohost Git/Infra notifications> [issues] @abochmann labeled :space_invader: bug on [issue #2235](https://github.com/YunoHost/issues/issues/2235): admin Diagnosis: reverse DNS check should be case-insensitive
[17:19:08] <m606> I've come accross that https://modernfontstacks.com. Putting it here as I kind of remember that during last Yunocamp there was a question about a (relatively) heavy font file of a few mo in the WebUI. Not sure whether that could help.
[17:23:53] <Aleks (he/him/il/lui)> hmpf honestly it's a non-issue. Sure the webadmin is 2MB-ish the first time it's loaded, and then re-opening a fresh tab, I see only 3kb of data transfered, because modern browser do cache stuff etc
[17:25:42] <m606> Agreed, not really an issue for me either
[20:54:54] <orhtej2> I'm confused, why `All Users` don't inherit permissions from `Visitors`? If you install web app, grant it to `Visitors` everyone can access it, but it does not show as a tile in Portal despite being marked to appear there.
[20:59:44] <Aleks (he/him/il/lui)> not sure either, but there is this tweak to add all_users when choosing visitors as the init_main_permission : https://github.com/YunoHost/yunohost/blob/dev/src/utils/resources.py#L622
[21:00:58] <orhtej2> > <@Alekswag:matrix.org> not sure either, but there is this tweak to add all_users when choosing visitors as the init_main_permission : https://github.com/YunoHost/yunohost/blob/dev/src/utils/resources.py#L622

the problem is I installed app for specific user first, then tweaked the permissions manually
[21:01:26] <Aleks (he/him/il/lui)> hmkay
[21:02:41] <orhtej2> I mean sure, mea culpa and the problem has a solution, just got me confused for a minute or so
[21:03:14] <Aleks (he/him/il/lui)> still sounds like a bug tho, or there's something not intuitive going on
[21:04:02] <Aleks (he/him/il/lui)> maybe there are some funky edge case that can justify this but my brain is too melted to think about it clearly
[21:04:44] <Aleks (he/him/il/lui)> but the current status quo is probably just somewhat accidental, like we had other concerns about the stability and consistency of the permission system and didnt care about such subtleties ;P
[21:36:25] <orhtej2> https://aria.im/_matrix/media/v1/download/circledsquareroot.ovh/ad0751164648605d323a76af3a628873443861cfc08be51d37225b014db6ce31
[21:36:32] <orhtej2> indeed thank you :P
[21:40:32] <Aleks (he/him/il/lui)> https://youtu.be/PrYMUe2RK4g?si=qjP8gus3CrnJbBW3&t=137 (sorry for the french ref 😅)