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
33edc74ac5
autoupdater: Call infos.get("autoupdate") way sooner for cleaner code
2024-02-16 22:46:00 +01:00
03facd3df8
Fix autoupdater for forges allowing for non-domain-root install and multiple levels of projects
2024-02-16 22:45:54 +01:00
dab2524f9c
rest_api: rename properties for readability
2024-02-16 19:35:23 +01:00
15b2207054
Clean message issues
2024-02-16 19:35:23 +01:00
bb06b422f5
remove roge double quote
2024-02-16 19:35:23 +01:00
1b0d630f6c
Handle cases with already existing branch / commit
2024-02-16 19:35:23 +01:00
7e0c5fdac1
Fix duplicate code
2024-02-16 19:35:23 +01:00
69684f4066
Use a state enum to handle already existing update prs
2024-02-15 23:13:16 +01:00
3c204ecd57
autoupdate_app_sources: set proper defaults on argparse, just to be sure
2024-02-15 22:52:11 +01:00
64aa8fe4f4
Fix compatibility with python3.9: use union, optional from typing
2024-02-15 21:42:59 +00:00
5936ec4b01
Add back the logging_sender
2024-02-15 17:12:41 +01:00
c1ef372c2c
Cleanup for mypy, code simplification
2024-02-15 17:12:41 +01:00
b8eba67a99
Handle invalid syntax in some local app's manifest during initial apps listing
2024-02-15 17:12:41 +01:00
48870e56d6
Remove debug print
2024-02-15 17:12:41 +01:00
2eeee2541b
Rename README-generator -> readme_generator because python tools hate caps…
2024-02-15 15:03:31 +01:00
Alexandre Aubin
0b4ba4e379
Merge pull request #2019 from Salamandar/rework_autoupdater
...
Rework autoupdater - part 2
2024-02-15 01:12:44 +01:00
Alexandre Aubin
589a176695
Merge pull request #2015 from Salamandar/rework_autoupdater_part_1
...
Rework autoupdater part 1
2024-02-15 01:11:33 +01:00
918bc1a1b9
Remove testing
2024-02-15 00:05:23 +01:00
1c260fa6b6
Fix typing for giteaforgejoapi, fix url_for_ref for gitlab
2024-02-15 00:03:39 +01:00
0739ccb850
Fix typing for giteaforgejoapi, fix url_for_ref for gitlab
2024-02-14 23:56:32 +01:00
b614b3ba98
tools/list_builder.py: use argparse to set target dir, jobs count, and disable cache updating
2024-02-14 22:44:19 +01:00
72211961b5
finish autoupdater rework
2024-02-14 22:10:33 +01:00
42b97a2df8
Revamp autoupdate_app_sources.py
2024-02-14 22:10:32 +01:00
9200caee2c
Small cleanup of autoupdate try..except..else
2024-02-14 22:10:13 +01:00