Thursday, March 21, 2024
apps@conference.yunohost.org
March
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
             

[19:52:35] <lapineige> I have had the same feeling for a while… too much French content to not make the channel a mess of noise for non-French speakers I believe
[20:43:40] <orhtej2> is readme generator sleeping on the job again?
[20:51:28] <Émy - OniriCorpe> nobody:

yunohost users, EACH day on the forum: "well actually nexcloud cries about the config and it's a real shit even if i don't know what it means, please listen to meeee"
[20:51:29] <Émy - OniriCorpe> sigh
[20:52:06] <orhtej2> > is readme generator sleeping on the job again?

ah it's broken as it does not understand lang_LANG templates
[20:54:13] <Salamandar> > ah it's broken as it does not understand lang_LANG templates

huuuuuuuuuuuuuuuuuuuuuuuuh
[20:54:17] <Salamandar> lemme check
[20:54:37] <Salamandar> can you send me a link of a PR where it fails ?
[20:54:40] <orhtej2> yeeeah this needs to go: https://github.com/YunoHost/apps/tree/master/tools/readme_generator/templates
[20:54:42] <Salamandar> *does not run
[20:55:09] <orhtej2> https://github.com/YunoHost-Apps/penpot_ynh/pull/7
[20:55:48] <orhtej2> ```
(.venv) jethro@MOPS:~/apps/tools/readme_generator$ python3 make_readme.py ~/penpot_ynh/
Traceback (most recent call last):
File "/home/jethro/apps/tools/readme_generator/make_readme.py", line 143, in <module>
generate_READMEs(Path(args.app_path))
File "/home/jethro/apps/tools/readme_generator/make_readme.py", line 85, in generate_READMEs
template = env.get_template(f"README{lang_suffix}.md.j2")
File "/home/jethro/apps/tools/readme_generator/.venv/lib/python3.9/site-packages/jinja2/environment.py", line 1010, in get_template
return self._load_template(name, globals)
File "/home/jethro/apps/tools/readme_generator/.venv/lib/python3.9/site-packages/jinja2/environment.py", line 969, in _load_template
template = self.loader.load(self, name, self.make_globals(globals))
File "/home/jethro/apps/tools/readme_generator/.venv/lib/python3.9/site-packages/jinja2/loaders.py", line 125, in load
source, filename, uptodate = self.get_source(environment, name)
File "/home/jethro/apps/tools/readme_generator/.venv/lib/python3.9/site-packages/jinja2/loaders.py", line 204, in get_source
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: README_zh.md.j2
```

same for other languages like `zh_Hans`
[20:55:50] <Salamandar> ok
[20:55:56] <Salamandar> > ```
> (.venv) jethro@MOPS:~/apps/tools/readme_generator$ python3 make_readme.py ~/penpot_ynh/
> Traceback (most recent call last):
> File "/home/jethro/apps/tools/readme_generator/make_readme.py", line 143, in <module>
> generate_READMEs(Path(args.app_path))
> File "/home/jethro/apps/tools/readme_generator/make_readme.py", line 85, in generate_READMEs
> template = env.get_template(f"README{lang_suffix}.md.j2")
> File "/home/jethro/apps/tools/readme_generator/.venv/lib/python3.9/site-packages/jinja2/environment.py", line 1010, in get_template
> return self._load_template(name, globals)
> File "/home/jethro/apps/tools/readme_generator/.venv/lib/python3.9/site-packages/jinja2/environment.py", line 969, in _load_template
> template = self.loader.load(self, name, self.make_globals(globals))
> File "/home/jethro/apps/tools/readme_generator/.venv/lib/python3.9/site-packages/jinja2/loaders.py", line 125, in load
> source, filename, uptodate = self.get_source(environment, name)
> File "/home/jethro/apps/tools/readme_generator/.venv/lib/python3.9/site-packages/jinja2/loaders.py", line 204, in get_source
> raise TemplateNotFound(template)
> jinja2.exceptions.TemplateNotFound: README_zh.md.j2
> ```
>
> same for other languages like `zh_Hans`

woot
[20:55:57] <Salamandar> ok
[20:55:58] <orhtej2> also I assume the contents will be english?
[20:56:06] <Salamandar> testing, fixing, commiting
[20:56:07] <orhtej2> just with Chinese placeholders?
[21:09:28] <Yunohost Git/Infra notifications> [apps] OniriCorpe labeled opinion needed on [pull request #2150](https://github.com/YunoHost/apps/pull/2150): Translations update from Weblate
[21:09:50] <Yunohost Git/Infra notifications> [apps] OniriCorpe deleted branch add-to-wishlist-authentik
[21:09:51] <Yunohost Git/Infra notifications> [apps] OniriCorpe closed [pull request #2084](https://github.com/YunoHost/apps/pull/2084): Add authentik to wishlist
[21:10:15] <Salamandar> @orhtej2:circledsquareroot.ovh bug is found
[21:11:06] <Yunohost Git/Infra notifications> [apps] OniriCorpe pushed 1 commit to master: Mark matrix-puppet-discord as obsolete ([3c01c2d9](https://github.com/YunoHost/apps/commit/3c01c2d9f05a609c8588e817322e78b17562aebf))
[21:11:06] <Yunohost Git/Infra notifications> [apps] OniriCorpe merged [pull request #2037](https://github.com/YunoHost/apps/pull/2037): Mark matrix-puppet-discord as obsolete
[21:11:27] <Yunohost Git/Infra notifications> [apps] github-actions[bot] pushed 1 commit to actions/toml: :art: Format TOML with Taplo ([6c2d4015](https://github.com/YunoHost/apps/commit/6c2d40159e1ccdc58ed41eafdc89c25364a8923e))
[21:11:28] <Yunohost Git/Infra notifications> [apps] github-actions[bot] created new branch actions/toml
[21:11:28] <Yunohost Git/Infra notifications> [apps] github-actions[bot] opened [pull request #2153](https://github.com/YunoHost/apps/pull/2153): Format TOML with Taplo
[21:11:51] <Yunohost Git/Infra notifications> [apps] OniriCorpe merged [pull request #2153](https://github.com/YunoHost/apps/pull/2153): Format TOML with Taplo
[21:11:51] <Yunohost Git/Infra notifications> [apps] OniriCorpe pushed 1 commit to master: :art: Format TOML with Taplo ([1943682a](https://github.com/YunoHost/apps/commit/1943682a59771f0ac772ee905b50791446583865))
[21:11:52] <Yunohost Git/Infra notifications> [apps] OniriCorpe deleted branch actions/toml
[21:12:42] <Yunohost Git/Infra notifications> [apps] Psycojoker pushed 6 commits to readme_generator_translation ([5603305907e8...e253061ade64](https://github.com/YunoHost/apps/compare/5603305907e8...e253061ade64))
[21:12:47] <Yunohost Git/Infra notifications> [apps/readme_generator_translation] feat(readme_generator/i18n): integrate translation using babel into make_readme.py - Laurent Peuch
[21:13:32] <Yunohost Git/Infra notifications> [apps] Psycojoker pushed 1 commit to master: feat(readme_generator/i18n): remove old templates/README_.md.j2 to move to .pot ([b790a4bf](https://github.com/YunoHost/apps/commit/b790a4bfad3ab5dd1bbfd358dca3b4d6ddb98f7e))
[21:27:21] <orhtej2> I'm officially stuck, how does one create PR from `testing` to `master` if both are protected and there are phony merge conflicts?
[21:33:20] <Salamandar> they protec
[21:33:21] <Salamandar> they attak
[21:33:29] <Salamandar> they unprotec branch to commit
[21:33:37] <Salamandar> they reprotec branch
[21:33:44] <Salamandar> jk, same repository ?
[21:34:51] <Salamandar> readme generator was just fixed @orhtej2:circledsquareroot.ovh
[21:35:03] <orhtej2> thanks!
[21:35:29] <orhtej2> > <@Salamandar:matrix.org> they unprotec branch to commit

they created the repo yet not an admin in it ;P
[21:35:33] <orhtej2> > <@Salamandar:matrix.org> readme generator was just fixed @orhtej2:circledsquareroot.ovh

thanks <3
[21:35:35] <Salamandar> :D
[21:36:07] <orhtej2> > <@Salamandar:matrix.org> jk, same repository ?

yep, here: https://github.com/YunoHost-Apps/penpot_ynh/pull/9
[21:36:33] <orhtej2> did we by any chance rerun readme a while back but on `master` not `testing`?
[21:37:19] <orhtej2> I even merged `master` back to `testing`
[21:37:50] <Salamandar> let me clear everything up and rebase testing on master
[21:40:12] <Salamandar> well
[21:40:17] <Salamandar> i merged master into testing
[21:40:33] <Salamandar> except some whitespace changes it did not change anything
[21:42:20] <orhtej2> tyty, now it's mergable
[21:42:30] <Salamandar> o/
[21:42:35] <Salamandar> *cloc* noice
[21:42:54] <Salamandar> https://aria.im/_matrix/media/v1/download/matrix.org/skfWcYRoWjeybKWDwYKEvjmG