Commit graph

301 commits

Author SHA1 Message Date
Alexandre Aubin
f95d29db47 Merge pull request #1746 from Salamandar/fix_tests_schema
schemas: fix tests.v1, args can be booleans too
2023-09-24 22:15:09 +02:00
7f0da83ebc catalog_linter: Fix missing is_fatal on yield 2023-09-24 22:12:11 +02:00
5027b2faa0 Pass subtags errors as warnings only 2023-09-24 20:33:03 +02:00
0ee64b70cf Rework the catalog_linter.py:
* chmod +x
* split into functions
* add python typing
* Now run jsonschema on apps.toml
* Now check category subtags
* Now check antifeatures
2023-09-24 19:44:58 +02:00
Alexandre Aubin
4dbbca8c41 Merge pull request #1725 from Salamandar/autopatch-schema
Add schema URLs via autopatch and convert_app_to_manifestv2
2023-09-06 10:49:12 +02:00
Félix Piédallu
e750c20f06 Add manifest URL in conversion script manifestv1 -> manifestv2 2023-09-06 10:37:16 +02:00
Félix Piédallu
7eafa89dad Add autopatch to add schema to toml files 2023-09-06 10:34:36 +02:00
Alexandre Aubin
82c629803e listbuilder: add trick to compute when an app was added to catalog 2023-08-30 14:44:50 +02:00
Alexandre Aubin
7703711d91 Merge pull request #1703 from YunoHost/Tagadda-patch-1
convert_app_to_packaging_v2.py: remove full_domain
2023-08-03 20:40:44 +02:00
Tagada
a05a39f6d6 convert_app_to_packaging_v2.py: remove full_domain
This properties is not used by the core. It's deduced from the fact that there's no path properties.
2023-08-03 15:42:25 +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
Alexandre Aubin
a5471ad312 autoupdate app source: various script improvements after tests on the battlefield 2023-04-04 18:15:35 +02:00
Alexandre Aubin
5d5a547be4 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
6b5c5d0c6e New source autoupdate: black 2023-03-28 19:28:11 +02:00
Alexandre Aubin
e478858e60 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
a21b3e41f3 New source autoupdate: black 2023-03-28 00:42:18 +02:00
Alexandre Aubin
e3b4a43287 New source autoupdate: add logic to iterate over all relevant apps in catalog 2023-03-27 18:41:38 +02:00
Alexandre Aubin
70004649e9 New source autoupdate: actually create the PR using PyGithub 2023-03-27 17:50:13 +02:00
Alexandre Aubin
68d9128bfa New source autoupdate: add logic to compute sha256 + update infos in manifest.toml 2023-03-21 00:24:52 +01:00
Alexandre Aubin
3c7d42ab80 POC for new declarative app source auto-update mechanism 2023-03-13 17:40:35 +01:00
Alexandre Aubin
4a976ab684 appsv2: don't miserably crash when failing to convert port number because of syntaxes such as $port+1 2023-03-13 17:39:32 +01:00
Alexandre Aubin
dcc89af660 Uh wut 2023-03-09 15:59:50 +01:00
Alexandre Aubin
5a78ba111d Iterate on convert_app_to_packaging_v2.py to parse and convert app.src stuff 2023-03-09 15:10:33 +01:00
Alexandre Aubin
e80b08339b appv2: fix quotes around port keys 2023-03-04 18:04:50 +01:00
Alexandre Aubin
95616ad2a8 update_app_level script: use new result endpoint 2023-03-03 22:28:14 +01:00
tituspijean
f57b7d73a9 Merge pull request #1624 from YunoHost/autoupdater-upgrader 2023-03-01 21:07:21 +01:00
tituspijean
950c1b29a3 Fix auto-updater upgrader 2023-02-24 00:50:32 +01:00
Alexandre Aubin
58753a6a53 appsv2: add tricks to adapt change_url script 2023-02-20 18:39:22 +01:00
Alexandre Aubin
e8c3488cd0 Merge pull request #1630 from YunoHost/badge
bring the badge back to a new line
2023-02-12 14:12:57 +01:00
ericgaspar
cbbedd418b bring the badge back to a new line 2023-02-12 09:17:08 +01:00
Alexandre Aubin
80925fc1eb ci: add a check that a 'state' key does exist for every app in the catalog 2023-02-09 17:29:37 +01:00
Alexandre Aubin
42da76e2b8 packaging v1-v2: not 100% sure about this but it shouldnt be needed anymore to declare phpversion/YNH_PHP_VERSION, the phpversion setting will automagically be created using the dependency list 2023-02-03 02:43:20 +01:00
tituspijean
f9e83790c4 Add auto-updater upgrader 2023-01-29 18:32:39 +01:00
Alexandre Aubin
a06fa7a784 AutoREADME: fix trailing space ... 2023-01-21 23:40:09 +01:00
Alexandre Aubin
caec92a8b4 list_builder: fix subtags not being a list, breaking yunohost 2023-01-20 22:59:16 +01:00
Alexandre Aubin
ecf66bcb66 update_app_levels: Minor quirk in major/minor regression definition 2023-01-20 18:11:29 +01:00
Alexandre Aubin
59ffdde887 Typo /o\ 2023-01-20 18:10:34 +01:00
Alexandre Aubin
d713a5c36b update_app_level: use absolute path for github token fetching 2023-01-20 18:07:01 +01:00
Alexandre Aubin
fd4e941adf Merge pull request #1612 from YunoHost/toml-all-the-things
TOML all the things ?
2023-01-20 17:34:59 +01:00
Alexandre Aubin
80f628bf64 ci: Add a proper catalog linter instead of bash mess 2023-01-20 17:33:33 +01:00