1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00
Commit graph

72 commits

Author SHA1 Message Date
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
33edc74ac5 autoupdater: Call infos.get("autoupdate") way sooner for cleaner code 2024-02-16 22:46:00 +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
918bc1a1b9 Remove testing 2024-02-15 00:05:23 +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
eea62e4236 Remove duplicate data 2024-02-14 22:10:13 +01:00
610e49b1f3 Use tqdm instead of home-made progressbar 2024-02-14 22:09:36 +01:00
60831358a7 Add sys.path.insert to import appslib 2024-02-14 22:09:36 +01:00
e32c11e200 Use pathlib.Path 2024-02-14 22:09:36 +01:00
1f5b104764 Use argparse, move github auth logic temporarily in main() 2024-02-14 22:09:36 +01:00
e811fffe72 Use main() function 2024-02-14 22:09:36 +01:00
OniriCorpe
61f053f3b8 fix latest_release_html_url assignement 2024-02-14 22:06:13 +01:00
OniriCorpe
c51e87fd66 we don't need that, it's handled by GitlabAPI 2024-02-14 05:42:04 +01:00
OniriCorpe
a019ac2c63 lol forgot debug prints 2024-02-14 05:28:37 +01:00
OniriCorpe
153f3de6d9 small enhancement 2024-02-14 05:27:25 +01:00
OniriCorpe
f3743b15a3 small refactor 2024-02-14 05:00:07 +01:00
OniriCorpe
78ea65f7fc wasn't a typo lmao i'm too tired 2024-02-14 04:24:02 +01:00
OniriCorpe
f628744126 typo 2024-02-14 04:23:03 +01:00
OniriCorpe
9647844060 supports 1.13.1-2 version numbers 2024-02-14 04:21:10 +01:00
OniriCorpe
a213afcb8c small fixes 2024-02-14 03:58:37 +01:00
OniriCorpe
019c446f57 fix strategies (split gitea & forgejo) 2024-02-14 03:43:16 +01:00
OniriCorpe
95c1d1b14e Initial support for Gitea & Forgejo 2024-02-14 03:40:26 +01:00
Félix Piédallu
cea7ad2277 python: run isort, add shebangs on all files 2024-02-07 14:51:42 +01:00
orhtej2
cf8f6f7d28 Support for GitLab upstream repos part 2. 2024-01-24 19:32:24 +01:00
Alexandre Aubin
8a4789b68f
Merge branch 'master' into support_gitlab_autoupgrade 2024-01-24 00:14:59 +01:00
orhtej2
66ff33a476 Initial support for Gitlab 2024-01-23 23:37:24 +01:00
orhtej2
aa7fc2859b Extract Github REST API behind wrapper. 2024-01-23 22:32:31 +01:00
OniriCorpe
b616930a15 remove debug print 2024-01-05 20:56:36 +01:00
OniriCorpe
6592537ea6 fix title 2024-01-05 20:54:10 +01:00
OniriCorpe
2bf8888662 remove debug print 2024-01-04 23:26:37 +01:00
OniriCorpe
76117a7d12 fix return 2024-01-04 23:22:20 +01:00
OniriCorpe
5ca6a2110b get changelog link for release tarball too 2024-01-04 23:21:07 +01:00
OniriCorpe
d05a3239e4
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
444f278494
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
3c1efb8029 fix if 2024-01-04 22:34:04 +01:00
OniriCorpe
8ff2088698 add changelog link for latest_github_release 2024-01-04 22:09:00 +01:00