Commit graph

59 commits

Author SHA1 Message Date
2777015097 Handle invalid syntax in some local app's manifest during initial apps listing 2024-02-15 17:12:41 +01:00
711f71d68e Remove debug print 2024-02-15 17:12:41 +01:00
4af0a19501 Remove testing 2024-02-15 00:05:23 +01:00
f606c77e9c finish autoupdater rework 2024-02-14 22:10:33 +01:00
b8b7eb3a78 Revamp autoupdate_app_sources.py 2024-02-14 22:10:32 +01:00
d13d8e275f Small cleanup of autoupdate try..except..else 2024-02-14 22:10:13 +01:00
c94268519e Remove duplicate data 2024-02-14 22:10:13 +01:00
8b7465d1e5 Use tqdm instead of home-made progressbar 2024-02-14 22:09:36 +01:00
5c63af8814 Add sys.path.insert to import appslib 2024-02-14 22:09:36 +01:00
52fe42cb4d Use pathlib.Path 2024-02-14 22:09:36 +01:00
428044088f Use argparse, move github auth logic temporarily in main() 2024-02-14 22:09:36 +01:00
e41dd944e5 Use main() function 2024-02-14 22:09:36 +01:00
OniriCorpe
99a5cd74bd fix latest_release_html_url assignement 2024-02-14 22:06:13 +01:00
OniriCorpe
d488c22561 we don't need that, it's handled by GitlabAPI 2024-02-14 05:42:04 +01:00
OniriCorpe
d793e0db05 lol forgot debug prints 2024-02-14 05:28:37 +01:00
OniriCorpe
83b1786264 small enhancement 2024-02-14 05:27:25 +01:00
OniriCorpe
46cca08476 small refactor 2024-02-14 05:00:07 +01:00
OniriCorpe
c201929f22 wasn't a typo lmao i'm too tired 2024-02-14 04:24:02 +01:00
OniriCorpe
9b4f0d38c3 typo 2024-02-14 04:23:03 +01:00
OniriCorpe
0b652381e1 supports 1.13.1-2 version numbers 2024-02-14 04:21:10 +01:00
OniriCorpe
9447b7d343 small fixes 2024-02-14 03:58:37 +01:00
OniriCorpe
b2f45c7cff fix strategies (split gitea & forgejo) 2024-02-14 03:43:16 +01:00
OniriCorpe
f9d938ff87 Initial support for Gitea & Forgejo 2024-02-14 03:40:26 +01:00
Félix Piédallu
73296ab02d python: run isort, add shebangs on all files 2024-02-07 14:51:42 +01:00
orhtej2
77ef621f38 Support for GitLab upstream repos part 2. 2024-01-24 19:32:24 +01:00
Alexandre Aubin
5dc41f57ce Merge branch 'master' into support_gitlab_autoupgrade 2024-01-24 00:14:59 +01:00
orhtej2
e8aafd0b89 Initial support for Gitlab 2024-01-23 23:37:24 +01:00
orhtej2
94f7c78328 Extract Github REST API behind wrapper. 2024-01-23 22:32:31 +01:00
OniriCorpe
ffe48ae00b remove debug print 2024-01-05 20:56:36 +01:00
OniriCorpe
c465278e48 fix title 2024-01-05 20:54:10 +01:00
OniriCorpe
d8b0ada8a8 remove debug print 2024-01-04 23:26:37 +01:00
OniriCorpe
7f35b61072 fix return 2024-01-04 23:22:20 +01:00
OniriCorpe
c4f7982c96 get changelog link for release tarball too 2024-01-04 23:21:07 +01:00
OniriCorpe
7949d0ce71 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
92d2314324 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
2ecd37c0e9 fix if 2024-01-04 22:34:04 +01:00
OniriCorpe
810e9a7cf9 add changelog link for latest_github_release 2024-01-04 22:09:00 +01:00
Tagada
9cd6d60077 Add a missing quote in autoupdate_app_sources.py 2023-09-28 19:03:27 +02:00
orhtej2
16d060b7f6 Reset YNH integration version to 1 on upstream version bumps 2023-09-24 23:01:45 +02:00
Alexandre Aubin
9b4dfc34a4 autoupdate_app_sources: don't push an upgrade if newest version is actually older than current version 2023-07-24 21:09:13 +02:00
Alexandre Aubin
a79480a85d autoupdate_app_sources: more human-friendly messages when data type mismatch between old and new infos 2023-07-24 20:59:46 +02:00
Alexandre Aubin
7d3fff6cc9 autoupdate_app_sources: add debug info in matrix message 2023-07-24 20:43:30 +02:00
Alexandre Aubin
f4848bbafc autoupdate_app_sources: boring special case for dokuwiki 2023-06-19 21:19:06 +02:00
Alexandre Aubin
709334dbcb autoupdate_app_sources: stupid fix for apps with tag like 'v.x.y.z' 2023-06-19 21:05:23 +02:00
Alexandre Aubin
8361521661 autoupdate app sources: skip app for which new branch already exists 2023-04-05 17:07:36 +02:00
Alexandre Aubin
8475cbd001 autoupdate app sources: fix asset url for latest tag strategy 2023-04-04 19:15:04 +02:00
Alexandre Aubin
45c5dc0883 autoupdate app sources: don't update if main version didnt change, despite previous commits 2023-04-04 18:55:05 +02:00
Alexandre Aubin
dbc90e679f autoupdate app sources: some upstream repo have a trailing slash ... 2023-04-04 18:44:43 +02:00
Alexandre Aubin
235635394d Meh 2023-04-04 18:41:30 +02:00
Alexandre Aubin
8ff8bc2da7 autoupdate app source: add boring 'force_version' parameter for cases where the upstreams don't give a flying fuck about pushi proper tags/releases... 2023-04-04 18:32:12 +02:00