Commit graph

367 commits

Author SHA1 Message Date
Weblate
8a619e7755 Added translation using Weblate (Czech) 2024-03-20 02:45:13 +01:00
Weblate
897cb93184 Added translation using Weblate (Kurdish (Central)) 2024-03-20 02:45:11 +01:00
Weblate
800fdc907f Added translation using Weblate (Catalan) 2024-03-20 02:45:05 +01:00
Weblate
58da6116fc Added translation using Weblate (Breton) 2024-03-20 02:45:02 +01:00
Weblate
3f0a0e733a Added translation using Weblate (Bengali (Bangladesh)) 2024-03-20 02:45:01 +01:00
Weblate
445f14e49f Added translation using Weblate (Arabic) 2024-03-20 02:45:00 +01:00
alexAubin
85af9e0bcb 🎨 Format Python code with Black 2024-03-19 18:02:31 +00:00
Alexandre Aubin
3317ed225e Merge pull request #2130 from YunoHost/fix_pathlib
readme_generator/webhook: Use pathlib and gitpython
2024-03-19 19:02:10 +01:00
Alexandre Aubin
25af4d72e3 Merge pull request #2122 from YunoHost/schema_all_files
In catalog_linter, lint all toml files (graveyard wishlist etc).
2024-03-19 18:56:38 +01:00
Laurent Peuch
a6786590eb fix: revert 2 previous broken translation pushs 2024-03-19 04:58:23 +01:00
Bram
a2fe5ca9ee Translated using Weblate (French)
Currently translated at 75.0% (27 of 36 strings)

Translation: YunoHost/Readme Generator
Translate-URL: https://translate.yunohost.org/projects/yunohost/readme-generator/fr/
2024-03-19 04:50:26 +01:00
Bram
b10869d7a5 Translated using Weblate (French)
Currently translated at 2.7% (1 of 36 strings)

Translation: YunoHost/Readme Generator
Translate-URL: https://translate.yunohost.org/projects/yunohost/readme-generator/fr/
2024-03-19 03:19:50 +01:00
Salamandar
e05c19e746 🎨 Format Python code with Black 2024-03-18 23:32:15 +01:00
OniriCorpe
97140b6821 break line after each command option
Co-authored-by: Salamandar <6552989+Salamandar@users.noreply.github.com>
2024-03-18 23:28:24 +01:00
OniriCorpe
9d30b81055 raplace a non working try by a simple if 2024-03-18 23:28:24 +01:00
OniriCorpe
5331b7f19a logging_sender.py: permit to choose a matrix chan where to send the notification 2024-03-18 23:28:24 +01:00
alexAubin
30ce127004 🎨 Format Python code with Black 2024-03-16 13:55:01 +00:00
d18d996dee update_app_levels: use tomlkit to keep the comments in apps.toml 2024-03-16 13:31:53 +01:00
Félix Piédallu
304c67b276 readme_generator/webhook: Use pathlib and gitpython 2024-03-14 16:15:04 +01:00
Félix Piédallu
913ec8a770 Fix readme_generator/webhook: make_readme now uses pathlib 2024-03-14 15:32:41 +01:00
alexAubin
4d2f0cfb2c 🎨 Format Python code with Black 2024-03-13 22:19:42 +00:00
3bd06bf507 Add a cleanup option to app_caches.py 2024-03-13 23:13:27 +01:00
Salamandar
c74902e211 🎨 Format Python code with Black 2024-03-13 21:52:25 +01:00
425f873137 Rework a bit make_readme.py and test_make_readme.py
* Use pathlib.Path

* Use difflib to show actual diffs between new and old readmes
2024-03-13 20:37:43 +01:00
Félix Piédallu
1c7c3420e7 In catalog_linter, lint all toml files (graveyard wishlist etc). This is actually done in CI. 2024-03-13 11:34:10 +01:00
OniriCorpe
89596908bf move the screenshots code part to only run it once, since it do not change with language 2024-03-13 03:22:39 +01:00
OniriCorpe
63c5eac29b fix: ignore '.gitkeep' or any file whose name begins with a dot 2024-03-13 03:13:36 +01:00
OniriCorpe
f240859eb5 fix: referenced before assignment 2024-03-13 03:13:36 +01:00
OniriCorpe
9cde476a32 readme-generator: only pick files (no folder) on the root of 'screenshots' 2024-03-13 03:13:36 +01:00
OniriCorpe
c4ac379b56 🎨 Format Python code with Black 2024-03-12 22:25:39 +01:00
OniriCorpe
43dc47dbcc fix test readmes 2024-03-11 16:40:21 +01:00
Laurent Peuch
9ec76f0efc feat(make_readme): add some tests 2024-03-11 03:54:58 +01:00
OniriCorpe
18bbd29b36 fix bash codeblocks 2024-03-11 00:53:56 +01:00
Laurent Peuch
7be012bb1a feat(readme_generator): don't hardcode the list of languages, extract it from the README templates 2024-03-08 04:16:36 +01:00
OniriCorpe
e23e54d1af fixes eventual double line break after description & demo link between rafters 2024-03-07 23:30:46 +01:00
fb15a5ff94 Fix regex to replace version in manifest
This regex is used to find (textually, not via toml parser) where to replace the
version number in the Manifest.

Until now it was only supporting version numbers containing dots and digits.
I changed that to version numbers containing anything but ~ and " to handle version
numbers with dashes, or manually written version numbers that might be invalid (if
someone litteraly writes `version = "x.y~ynh1"). We don’t actually care about the
version number we match against because we just replace it.
2024-03-07 11:25:21 +01:00
Laurent Peuch
14b4ad3fe6 feat(make_readme): add some typing 2024-03-07 02:47:30 +01:00
OniriCorpe
1f77615678 shhh 2024-03-07 02:47:30 +01:00
OniriCorpe
bf7862dad6 markdown fixes 2024-03-07 02:47:30 +01:00
Laurent Peuch
7706ff6082 style: run black on tools/readme_generator/make_readme.py 2024-03-07 02:47:30 +01:00
Laurent Peuch
2467965dfa fix(make_readme): antifeatures_list content was modified by reference thus breaking translations 2024-03-07 02:47:30 +01:00
OniriCorpe
f781b5b35d markdown fixes 2024-03-07 02:47:30 +01:00
OniriCorpe
6791249588 remove forgotten debug print 2024-03-07 02:47:30 +01:00
OniriCorpe
a098ad4de2 smol fixes 2024-03-07 02:47:30 +01:00
c6e2059a91 Better handling of version format in relevant_versions() 2024-03-06 18:47:56 +01:00
Kayou
6c7a631625 use lstrip and rstrip instead of strip to fix some edge case 2024-03-05 22:25:57 +01:00
a29692779b list_builder: just take the app repository's HEAD
Let's not scroll down the repository for 'relevant commits' anymore.
Nothing is related to the SHA anymore, but to the version number.
2024-02-27 19:37:56 +01:00
Salamandar
e6373c2c94 Revert "Use local app cache to reduce github api calls" 2024-02-27 19:24:28 +01:00
0e30c0f328 Use local app cache to reduce github api calls 2024-02-26 11:27:31 +01:00
Alexandre Aubin
dd4ff7f18c Merge pull request #2054 from Salamandar/fix_gitlab
Fix some gitlab instances that return 404 on url-encoded project paths, by calling search
2024-02-24 22:26:32 +01:00