1
0
Fork 0
Commit graph

72 commits

Author SHA1 Message Date
Félix Piédallu
76887a0edc Fix version numbering in source autoupdating (remove leading v) 2024-02-17 19:06:20 +01:00
Félix Piédallu
d507a25671 autoupdate.version_regex: allow multiple capture groups, splitted by '.' 2024-02-17 16:00:52 +01:00
Félix Piédallu
37adbb13c0 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
Félix Piédallu
7d4402e9c2 autoupdater: Call infos.get("autoupdate") way sooner for cleaner code 2024-02-16 22:46:00 +01:00
Félix Piédallu
657119f338 Clean message issues 2024-02-16 19:35:23 +01:00
Félix Piédallu
1f301b6a62 remove roge double quote 2024-02-16 19:35:23 +01:00
Félix Piédallu
94b05b8fd8 Handle cases with already existing branch / commit 2024-02-16 19:35:23 +01:00
Félix Piédallu
0953331355 Fix duplicate code 2024-02-16 19:35:23 +01:00
Félix Piédallu
5be1f4f2e2 Use a state enum to handle already existing update prs 2024-02-15 23:13:16 +01:00
Félix Piédallu
83ae0689b0 autoupdate_app_sources: set proper defaults on argparse, just to be sure 2024-02-15 22:52:11 +01:00
Félix Piédallu
79a74bf846 Fix compatibility with python3.9: use union, optional from typing 2024-02-15 21:42:59 +00:00
Félix Piédallu
1509a0c2ed Add back the logging_sender 2024-02-15 17:12:41 +01:00
Félix Piédallu
7ee6711119 Cleanup for mypy, code simplification 2024-02-15 17:12:41 +01:00
Félix Piédallu
ae6b32c786 Handle invalid syntax in some local app's manifest during initial apps listing 2024-02-15 17:12:41 +01:00
Félix Piédallu
51dd818445 Remove debug print 2024-02-15 17:12:41 +01:00
Félix Piédallu
c0f75ea887 Remove testing 2024-02-15 00:05:23 +01:00
Félix Piédallu
a791da9c3e finish autoupdater rework 2024-02-14 22:10:33 +01:00
Félix Piédallu
878ea4640a Revamp autoupdate_app_sources.py 2024-02-14 22:10:32 +01:00
Félix Piédallu
6a829ebbac Small cleanup of autoupdate try..except..else 2024-02-14 22:10:13 +01:00
Félix Piédallu
292154c109 Remove duplicate data 2024-02-14 22:10:13 +01:00
Félix Piédallu
20081a9620 Use tqdm instead of home-made progressbar 2024-02-14 22:09:36 +01:00
Félix Piédallu
350d083122 Add sys.path.insert to import appslib 2024-02-14 22:09:36 +01:00
Félix Piédallu
9ed2f8d017 Use pathlib.Path 2024-02-14 22:09:36 +01:00
Félix Piédallu
b5af26a872 Use argparse, move github auth logic temporarily in main() 2024-02-14 22:09:36 +01:00
Félix Piédallu
0af4cc2148 Use main() function 2024-02-14 22:09:36 +01:00
OniriCorpe
a13d6eb44d fix latest_release_html_url assignement 2024-02-14 22:06:13 +01:00
OniriCorpe
480b337914 we don't need that, it's handled by GitlabAPI 2024-02-14 05:42:04 +01:00
OniriCorpe
2c960ebc3b lol forgot debug prints 2024-02-14 05:28:37 +01:00
OniriCorpe
9f6036d471 small enhancement 2024-02-14 05:27:25 +01:00
OniriCorpe
fb0e0e12d1 small refactor 2024-02-14 05:00:07 +01:00
OniriCorpe
5570b003ab wasn't a typo lmao i'm too tired 2024-02-14 04:24:02 +01:00
OniriCorpe
a83dd3fdf0 typo 2024-02-14 04:23:03 +01:00
OniriCorpe
f58c3aeb0a supports 1.13.1-2 version numbers 2024-02-14 04:21:10 +01:00
OniriCorpe
0ef037d7de small fixes 2024-02-14 03:58:37 +01:00
OniriCorpe
d65a43a89d fix strategies (split gitea & forgejo) 2024-02-14 03:43:16 +01:00
OniriCorpe
5f1a16d36c Initial support for Gitea & Forgejo 2024-02-14 03:40:26 +01:00
Félix Piédallu
a6c976b309 python: run isort, add shebangs on all files 2024-02-07 14:51:42 +01:00
orhtej2
bb638b1d61 Support for GitLab upstream repos part 2. 2024-01-24 19:32:24 +01:00
Alexandre Aubin
1d95d82137 Merge branch 'master' into support_gitlab_autoupgrade 2024-01-24 00:14:59 +01:00
orhtej2
6afca1e82a Initial support for Gitlab 2024-01-23 23:37:24 +01:00
orhtej2
bfaf681369 Extract Github REST API behind wrapper. 2024-01-23 22:32:31 +01:00
OniriCorpe
50ce88fe17 remove debug print 2024-01-05 20:56:36 +01:00
OniriCorpe
eafc9606e4 fix title 2024-01-05 20:54:10 +01:00
OniriCorpe
f9cad0880e remove debug print 2024-01-04 23:26:37 +01:00
OniriCorpe
14d79aa8af fix return 2024-01-04 23:22:20 +01:00
OniriCorpe
06927ae724 get changelog link for release tarball too 2024-01-04 23:21:07 +01:00
OniriCorpe
6b32b5f257 Update tools/autoupdate_app_sources/autoupdate_app_sources.py
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
2024-01-04 22:47:58 +01:00
OniriCorpe
2a18e99b6b Update tools/autoupdate_app_sources/autoupdate_app_sources.py
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
2024-01-04 22:47:54 +01:00
OniriCorpe
b9dd575b91 fix if 2024-01-04 22:34:04 +01:00
OniriCorpe
19c9569700 add changelog link for latest_github_release 2024-01-04 22:09:00 +01:00