1
0
Fork 0
Commit graph

634 commits

Author SHA1 Message Date
Bram
e9061990fa 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
7aad6f7683 🎨 Format Python code with Black 2024-03-18 23:32:15 +01:00
OniriCorpe
f6cd32a2e8 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
5b6dc562c9 raplace a non working try by a simple if 2024-03-18 23:28:24 +01:00
OniriCorpe
c320396bc7 logging_sender.py: permit to choose a matrix chan where to send the notification 2024-03-18 23:28:24 +01:00
Alexandre Aubin
fd1df4e508 Merge pull request #2140 from YunoHost/actions/black
Format Python code with Black
2024-03-16 14:58:42 +01:00
alexAubin
a54dea4c2c 🎨 Format Python code with Black 2024-03-16 13:55:01 +00:00
Alexandre Aubin
9f32da84ae Merge pull request #2138 from YunoHost/tomlkit_app_levels
update_app_levels: use tomlkit to keep the comments in apps.toml
2024-03-16 14:54:33 +01:00
Félix Piédallu
f4cc0f7060 update_app_levels: use tomlkit to keep the comments in apps.toml 2024-03-16 13:31:53 +01:00
Félix Piédallu
9a1d71e44e readme_generator/webhook: Use pathlib and gitpython 2024-03-14 16:15:04 +01:00
tituspijean
1f4d3ff86d Merge pull request #2129 from YunoHost/fix_pathlib
Fix readme_generator/webhook: make_readme now uses pathlib
2024-03-14 15:38:48 +01:00
Félix Piédallu
89a6c672b3 Fix readme_generator/webhook: make_readme now uses pathlib 2024-03-14 15:32:41 +01:00
Alexandre Aubin
8a20bdf90a Merge pull request #2127 from YunoHost/actions/black
Format Python code with Black
2024-03-13 23:20:50 +01:00
alexAubin
c9bd3de2ab 🎨 Format Python code with Black 2024-03-13 22:19:42 +00:00
Alexandre Aubin
3870111879 Merge pull request #2126 from YunoHost/app_cache_clenup
Add a cleanup option to app_caches.py
2024-03-13 23:19:14 +01:00
Félix Piédallu
d9e1182d38 Add a cleanup option to app_caches.py 2024-03-13 23:13:27 +01:00
Salamandar
10b972894e 🎨 Format Python code with Black 2024-03-13 21:52:25 +01:00
Salamandar
84788f4db2 Merge pull request #2123 from YunoHost/readme_generator_refacto
Readme generator refacto
2024-03-13 21:48:55 +01:00
Félix Piédallu
7fe984b0d2 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
Salamandar
01b683b11f Merge pull request #2120 from YunoHost/readme-generator_better-screenshot-handling
readme-generator: only pick files (no folder) on the root of 'screenshots'
2024-03-13 15:31:19 +01:00
Félix Piédallu
88aa6490c5 In catalog_linter, lint all toml files (graveyard wishlist etc). This is actually done in CI. 2024-03-13 11:34:10 +01:00
Salamandar
cc0381871d Merge pull request #2121 from YunoHost/OniriCorpe-patch-1
chores: Upgrade setup-python from v4 to v5 to upgrade nodejs to v20
2024-03-13 11:05:11 +01:00
OniriCorpe
be646eadb6 Upgrade setup-python from v4 to v5 to upgrade nodejs to v20 2024-03-13 06:05:14 +01:00
OniriCorpe
41415c26a0 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
12f5aebd63 fix: ignore '.gitkeep' or any file whose name begins with a dot 2024-03-13 03:13:36 +01:00
OniriCorpe
1f2d5f2418 fix: referenced before assignment 2024-03-13 03:13:36 +01:00
OniriCorpe
775c6ef627 readme-generator: only pick files (no folder) on the root of 'screenshots' 2024-03-13 03:13:36 +01:00
OniriCorpe
8443f18b22 change cron sourcesautoupdate.sh hour 2024-03-13 00:51:58 +01:00
OniriCorpe
d81f11f6ee 🎨 Format Python code with Black 2024-03-12 22:25:39 +01:00
OniriCorpe
359de4c5cf fix test readmes 2024-03-11 16:40:21 +01:00
Laurent Peuch
79eeffb20a ci(readme_generator): add a github actions to run tests 2024-03-11 03:54:58 +01:00
Laurent Peuch
cdcc8be5c3 feat(make_readme): add some tests 2024-03-11 03:54:58 +01:00
OniriCorpe
fd2e4ef72b fix bash codeblocks 2024-03-11 00:53:56 +01:00
Alexandre Aubin
f87aa12d96 Merge pull request #2105 from YunoHost/readme_generator_generic_lang_list
feat(readme_generator): don't hardcode the list of languages, extract it from the README templates
2024-03-08 21:08:48 +01:00
Laurent Peuch
be831eb4ea 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
58c836181e fixes eventual double line break after description & demo link between rafters 2024-03-07 23:30:46 +01:00
Félix Piédallu
48c41dad9b 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
78e5e21deb ci: add autoblacks actions 2024-03-07 02:48:32 +01:00
Laurent Peuch
74d1310ef1 feat(make_readme): add some typing 2024-03-07 02:47:30 +01:00
OniriCorpe
ec20c53bf3 shhh 2024-03-07 02:47:30 +01:00
OniriCorpe
a11f6efa33 markdown fixes 2024-03-07 02:47:30 +01:00
Laurent Peuch
ebb7f2ed8e style: run black on tools/readme_generator/make_readme.py 2024-03-07 02:47:30 +01:00
Laurent Peuch
b12f9c9919 fix(make_readme): antifeatures_list content was modified by reference thus breaking translations 2024-03-07 02:47:30 +01:00
OniriCorpe
c3bb3b51d3 markdown fixes 2024-03-07 02:47:30 +01:00
OniriCorpe
fb8ff3d0f4 remove forgotten debug print 2024-03-07 02:47:30 +01:00
OniriCorpe
221429766e smol fixes 2024-03-07 02:47:30 +01:00
Alexandre Aubin
2186eb6fcd Merge pull request #2094 from YunoHost/tag_match_regex
Better handling of version format in relevant_versions()
2024-03-06 18:50:41 +01:00
Félix Piédallu
7f6c3a7123 Better handling of version format in relevant_versions() 2024-03-06 18:47:56 +01:00
Kayou
2353e4ccc1 use lstrip and rstrip instead of strip to fix some edge case 2024-03-05 22:25:57 +01:00
Félix Piédallu
52dff4d1d0 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