1
0
Fork 0
Commit graph

116 commits

Author SHA1 Message Date
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
76aa4c9f0a Fix typing for giteaforgejoapi, fix url_for_ref for gitlab 2024-02-15 00:03:39 +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
2189b3e602 removing irrelevant project_id 2024-02-14 04:08:31 +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
Félix Piédallu
ef15049979 Use direct API request for projects instead of search 2024-01-26 22:52:33 +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
Tagada
bf50cf81fb Add a missing quote in autoupdate_app_sources.py 2023-09-28 19:03:27 +02:00
orhtej2
cef9fc6a16 Reset YNH integration version to 1 on upstream version bumps 2023-09-24 23:01:45 +02:00
Alexandre Aubin
0ba917b0d6 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
37a8f7a505 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
30755716b4 autoupdate_app_sources: add debug info in matrix message 2023-07-24 20:43:30 +02:00
Alexandre Aubin
0bd955c50b autoupdate_app_sources: boring special case for dokuwiki 2023-06-19 21:19:06 +02:00
Alexandre Aubin
b8ed404cfd autoupdate_app_sources: stupid fix for apps with tag like 'v.x.y.z' 2023-06-19 21:05:23 +02:00
Alexandre Aubin
fe5f206a0c autoupdate app sources: skip app for which new branch already exists 2023-04-05 17:07:36 +02:00
Alexandre Aubin
bb2c3cb76f autoupdate app sources: fix asset url for latest tag strategy 2023-04-04 19:15:04 +02:00
Alexandre Aubin
fd93ac330c autoupdate app sources: don't update if main version didnt change, despite previous commits 2023-04-04 18:55:05 +02:00
Alexandre Aubin
aecc001bc4 autoupdate app sources: some upstream repo have a trailing slash ... 2023-04-04 18:44:43 +02:00
Alexandre Aubin
519c02ba21 Meh 2023-04-04 18:41:30 +02:00
Alexandre Aubin
7570123088 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
Alexandre Aubin
a5b799cc7c autoupdate app source: various script improvements after tests on the battlefield 2023-04-04 18:15:35 +02:00
Alexandre Aubin
44e9734e72 autoupdate-app-sources: always run in dry-run mode by default, even when running on the entire catalog 2023-04-04 16:25:12 +02:00
Alexandre Aubin
9b8f8b78aa New source autoupdate: black 2023-03-28 19:28:11 +02:00
Alexandre Aubin
b688382b54 Improve new autoupdate mechanism, support latest_github_commit, be able to specify custom upstream to check, run in dry mode if passing an app path 2023-03-28 19:14:12 +02:00
Alexandre Aubin
04f318cdf4 New source autoupdate: black 2023-03-28 00:42:18 +02:00
Alexandre Aubin
6244d6fdde New source autoupdate: add logic to iterate over all relevant apps in catalog 2023-03-27 18:41:38 +02:00
Alexandre Aubin
df817d364a New source autoupdate: actually create the PR using PyGithub 2023-03-27 17:50:13 +02:00
Alexandre Aubin
d643634be0 New source autoupdate: add logic to compute sha256 + update infos in manifest.toml 2023-03-21 00:24:52 +01:00
Alexandre Aubin
d589511cb2 POC for new declarative app source auto-update mechanism 2023-03-13 17:40:35 +01:00