Laurent Peuch
d30a6b3d5a
fix: revert 2 previous broken translation pushs
2024-03-19 04:58:23 +01:00
Bram
e1f75b10af
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
732c3db001
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
1713b648ba
🎨 Format Python code with Black
2024-03-18 23:32:15 +01:00
OniriCorpe
f0870eb1ac
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
7f3965092b
raplace a non working try by a simple if
2024-03-18 23:28:24 +01:00
OniriCorpe
f2d2ac8649
logging_sender.py: permit to choose a matrix chan where to send the notification
2024-03-18 23:28:24 +01:00
alexAubin
d8d9571761
🎨 Format Python code with Black
2024-03-16 13:55:01 +00:00
146c8e3337
update_app_levels: use tomlkit to keep the comments in apps.toml
2024-03-16 13:31:53 +01:00
Félix Piédallu
799fb73141
readme_generator/webhook: Use pathlib and gitpython
2024-03-14 16:15:04 +01:00
Félix Piédallu
cacbb299e4
Fix readme_generator/webhook: make_readme now uses pathlib
2024-03-14 15:32:41 +01:00
alexAubin
54832fa891
🎨 Format Python code with Black
2024-03-13 22:19:42 +00:00
2e12fd0e31
Add a cleanup option to app_caches.py
2024-03-13 23:13:27 +01:00
Salamandar
3a08c7c718
🎨 Format Python code with Black
2024-03-13 21:52:25 +01:00
94dbe28832
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
9b2a1d7fd1
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
f3c2b77b1f
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
8c777e2edd
fix: ignore '.gitkeep' or any file whose name begins with a dot
2024-03-13 03:13:36 +01:00
OniriCorpe
b50e85150c
fix: referenced before assignment
2024-03-13 03:13:36 +01:00
OniriCorpe
f33b547002
readme-generator: only pick files (no folder) on the root of 'screenshots'
2024-03-13 03:13:36 +01:00
OniriCorpe
1880b5eaa7
🎨 Format Python code with Black
2024-03-12 22:25:39 +01:00
OniriCorpe
f01c9b3329
fix test readmes
2024-03-11 16:40:21 +01:00
Laurent Peuch
08cfdb5ee1
feat(make_readme): add some tests
2024-03-11 03:54:58 +01:00
OniriCorpe
0f6516b877
fix bash codeblocks
2024-03-11 00:53:56 +01:00
Laurent Peuch
a14b644665
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
cd5d92e035
fixes eventual double line break after description & demo link between rafters
2024-03-07 23:30:46 +01:00
dc2270a965
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
99bf8b1ec0
feat(make_readme): add some typing
2024-03-07 02:47:30 +01:00
OniriCorpe
dd0d90964e
shhh
2024-03-07 02:47:30 +01:00
OniriCorpe
6f3f7a9488
markdown fixes
2024-03-07 02:47:30 +01:00
Laurent Peuch
5f62b19235
style: run black on tools/readme_generator/make_readme.py
2024-03-07 02:47:30 +01:00
Laurent Peuch
de84d12b89
fix(make_readme): antifeatures_list content was modified by reference thus breaking translations
2024-03-07 02:47:30 +01:00
OniriCorpe
4ba2aa2d32
markdown fixes
2024-03-07 02:47:30 +01:00
OniriCorpe
be25601fbf
remove forgotten debug print
2024-03-07 02:47:30 +01:00
OniriCorpe
f8bcf77a79
smol fixes
2024-03-07 02:47:30 +01:00
7eded4b716
Better handling of version format in relevant_versions()
2024-03-06 18:47:56 +01:00
Kayou
cad70d7c94
use lstrip and rstrip instead of strip to fix some edge case
2024-03-05 22:25:57 +01:00
067ed0f4ac
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
4eec03024c
Revert "Use local app cache to reduce github api calls"
2024-02-27 19:24:28 +01:00
7fc7c4a7b8
Use local app cache to reduce github api calls
2024-02-26 11:27:31 +01:00
Alexandre Aubin
7b5d98d927
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
40c5a04f51
Fix some gitlab instances that return 404 on url-encoded project paths, by calling search
2024-02-24 22:15:28 +01:00
b276fb1925
Fix for local run
2024-02-24 22:14:12 +01:00
a0a307d448
Always print a message on matrix
2024-02-24 18:42:58 +01:00
81dd0fa0cc
Split function send_to_matrix
2024-02-24 18:41:11 +01:00
4a06a1ee8f
autoupdater: Fix double slash in gitlab and gitea forges
2024-02-19 16:38:51 +01:00
7776f15cc9
Fix version numbering in source autoupdating (remove leading v)
2024-02-17 19:06:20 +01:00
288a7870df
autoupdate.version_regex: allow multiple capture groups, splitted by '.'
2024-02-17 16:00:52 +01:00
265a94745e
Apps can now provide a "version_regex" that aims to extract the version from tag an release names.
...
For example, version_regex = "^release_(.*)$" will extract "1.0" from "release_1.0".
2024-02-17 00:04:00 +01:00
4107216ab3
Gitlab replaces / with - in tag tarballs
2024-02-16 23:53:55 +01:00