Commit Graph

219 Commits

Author SHA1 Message Date
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
Alexandre Aubin
febe3ad822 Fixes for update_app_levels.py 2024-02-09 21:41:26 +01:00
Alexandre Aubin
8522cba43e Fix list_builder.py to be compatible with Python 3.9 2024-02-09 01:41:33 +01:00
Félix Piédallu
ddb6a8ae00 Small cleanup of mypy warnings 2024-02-08 23:09:11 +01:00
Félix Piédallu
1ca207e0b3 Wooops, revert wrong apps_repo repo! 2024-02-08 23:08:46 +01:00
Félix Piédallu
5e692f37d7 Fix scripts shebangs 2024-02-08 22:34:48 +01:00
Félix Piédallu
fc32704565 woops, end of file 2024-02-08 22:20:17 +01:00
Félix Piédallu
f893187abd Rename xmpplogger into logging_sender 2024-02-08 22:20:17 +01:00
Félix Piédallu
dd50e4dedb don't do automatic activation of xmpplogger 2024-02-08 22:20:17 +01:00
Félix Piédallu
dfd71dc71a Cleanup, isort, etc 2024-02-08 22:20:17 +01:00
Félix Piédallu
950e5907ac Commonize code to read catalog, categories etc 2024-02-08 22:20:17 +01:00
Félix Piédallu
4118ba6746 Oops, cleanup legacy file 2024-02-08 22:20:17 +01:00
Félix Piédallu
2f3fcd24e2 Rework list_builder.py
FAAAAAASTEEEEEEER
2024-02-08 22:20:17 +01:00
Félix Piédallu
c84179e33e remove unused import, chmod +x 2024-02-07 19:39:40 +01:00
Félix Piédallu
902b8f1fc8 add appslib 2024-02-07 19:37:45 +01:00
Félix Piédallu
f230dd4807 Add apps_caches.py script that handles the download of the apps cache for the other scripts 2024-02-07 19:35:07 +01:00
Félix Piédallu
e52750af38 Small cleanup 2024-02-07 17:33:01 +01:00
Félix Piédallu
3b8e9270ef Add emojis to Pr results 2024-02-07 17:30:45 +01:00
Félix Piédallu
5cb71cbe5c Handle updating pull requests 2024-02-07 17:25:16 +01:00
Félix Piédallu
89d576e20c Refactor update_appslevels.py: use argparse, gitpython, jinja2 for pr message 2024-02-07 17:24:47 +01:00
Félix Piédallu
afb5e87e45 Move list_builder.py to tools subdirectory 2024-02-07 15:13:11 +01:00
Félix Piédallu
cea7ad2277 python: run isort, add shebangs on all files 2024-02-07 14:51:42 +01:00
Félix Piédallu
0e0f35372c Use direct API request for projects instead of search 2024-01-26 22:52:33 +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
Alexandre Aubin
1108e4500f Fix false positive mailman<->mailman3 2023-12-18 19:03:23 +01:00
Alexandre Aubin
042f16a8cb Improve linter to also check notworking apps and graveyard entries 2023-12-18 19:00:53 +01:00
Alexandre Aubin
dee8b1e376 README-generator: fix legacy sanic 'abort' + pip dependency hell 2023-10-31 16:04:28 +01:00
dependabot[bot]
2a023e3544
Bump sanic from 21.6.2 to 21.12.2 in /tools/README-generator
Bumps [sanic](https://github.com/sanic-org/sanic) from 21.6.2 to 21.12.2.
- [Release notes](https://github.com/sanic-org/sanic/releases)
- [Changelog](https://github.com/sanic-org/sanic/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/sanic-org/sanic/compare/v21.6.2...v21.12.2)

---
updated-dependencies:
- dependency-name: sanic
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-31 14:50:10 +00:00
Alexandre Aubin
a2f3b3d716
README-generator: freeze sanic version for webhook, newer versions are incompatible with the current code 2023-10-31 15:48:52 +01:00
Tagada
99892a9f02 readme-generator: add yunohost store url 2023-10-26 14:22:24 +02:00
Tagada
1008242203
Add a missing quote in autoupdate_app_sources.py 2023-09-28 19:03:27 +02:00
Tagada
4e7115c606 Remove link to the old documentation
Packagers should include those in the package, as ADMIN.md...
2023-09-28 16:51:47 +02:00
Alexandre Aubin
17c62f08c0 appstore: add fuzzy-matching check between catalog and wishlist 2023-09-25 15:41:07 +02:00
orhtej2
1352b4253e
Reset YNH integration version to 1 on upstream version bumps 2023-09-24 23:01:45 +02:00
Félix Piédallu
448e7ed3d9 catalog_linter: Fix missing is_fatal on yield 2023-09-24 22:12:11 +02:00
Félix Piédallu
db9e495785 Pass subtags errors as warnings only 2023-09-24 20:33:03 +02:00
Félix Piédallu
2c6b8515c2 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
Félix Piédallu
873dfa718e Add manifest URL in conversion script manifestv1 -> manifestv2 2023-09-06 10:37:16 +02:00
Félix Piédallu
4568815a9a Add autopatch to add schema to toml files 2023-09-06 10:34:36 +02:00
Tagada
920e963395
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
ed9b3256be 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
906eb7b1bc 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
8c7798d0a1 autoupdate_app_sources: add debug info in matrix message 2023-07-24 20:43:30 +02:00
Alexandre Aubin
14002cc5e7 autoupdate_app_sources: boring special case for dokuwiki 2023-06-19 21:19:06 +02:00
Alexandre Aubin
24d49284fb autoupdate_app_sources: stupid fix for apps with tag like 'v.x.y.z' 2023-06-19 21:05:23 +02:00
Alexandre Aubin
1c3fea6e50 autoupdate app sources: skip app for which new branch already exists 2023-04-05 17:07:36 +02:00
Alexandre Aubin
09a243330b autoupdate app sources: fix asset url for latest tag strategy 2023-04-04 19:15:04 +02:00
Alexandre Aubin
c33440d0de autoupdate app sources: don't update if main version didnt change, despite previous commits 2023-04-04 18:55:05 +02:00
Alexandre Aubin
88d70749ac autoupdate app sources: some upstream repo have a trailing slash ... 2023-04-04 18:44:43 +02:00
Alexandre Aubin
05061a7ac5 Meh 2023-04-04 18:41:30 +02:00
Alexandre Aubin
df187ecbc1 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
7daa6cc694 autoupdate app source: various script improvements after tests on the battlefield 2023-04-04 18:15:35 +02:00
Alexandre Aubin
662d9bd089 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
2939e876ff New source autoupdate: black 2023-03-28 19:28:11 +02:00
Alexandre Aubin
13b47e62a4 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
d8fc762bfa New source autoupdate: black 2023-03-28 00:42:18 +02:00
Alexandre Aubin
4d6dbe6234 New source autoupdate: add logic to iterate over all relevant apps in catalog 2023-03-27 18:41:38 +02:00
Alexandre Aubin
a4f1590d45 New source autoupdate: actually create the PR using PyGithub 2023-03-27 17:50:13 +02:00
Alexandre Aubin
6d9c0c7c07 New source autoupdate: add logic to compute sha256 + update infos in manifest.toml 2023-03-21 00:24:52 +01:00
Alexandre Aubin
5f780a9aff POC for new declarative app source auto-update mechanism 2023-03-13 17:40:35 +01:00
Alexandre Aubin
ed9a2c010f 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
e688c33c46 Uh wut 2023-03-09 15:59:50 +01:00
Alexandre Aubin
2dbb6f814c 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
f3ec4fe4d0 appv2: fix quotes around port keys 2023-03-04 18:04:50 +01:00
Alexandre Aubin
4cab9ecc45 update_app_level script: use new result endpoint 2023-03-03 22:28:14 +01:00
tituspijean
6c7c91f589
Merge pull request #1624 from YunoHost/autoupdater-upgrader 2023-03-01 21:07:21 +01:00
tituspijean
8e9b9b10dc
Fix auto-updater upgrader 2023-02-24 00:50:32 +01:00
Alexandre Aubin
56ffb0aabe appsv2: add tricks to adapt change_url script 2023-02-20 18:39:22 +01:00
ericgaspar
2d9357621f bring the badge back to a new line 2023-02-12 09:17:08 +01:00
Alexandre Aubin
147e3760c0 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
726ac9527e 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
1065f87755
Add auto-updater upgrader 2023-01-29 18:32:39 +01:00
Alexandre Aubin
35da6f9e51 AutoREADME: fix trailing space ... 2023-01-21 23:40:09 +01:00
Alexandre Aubin
a6465fd421 update_app_levels: Minor quirk in major/minor regression definition 2023-01-20 18:11:29 +01:00
Alexandre Aubin
d7f0f40e88 Typo /o\ 2023-01-20 18:10:34 +01:00
Alexandre Aubin
e0832609b1 update_app_level: use absolute path for github token fetching 2023-01-20 18:07:01 +01:00
Alexandre Aubin
485861e7a8 ci: Add a proper catalog linter instead of bash mess 2023-01-20 17:33:33 +01:00
Alexandre Aubin
cd4e6f0cbc update_app_levels: autosort keys 2023-01-20 17:14:30 +01:00
Alexandre Aubin
7904db0c6a Add a new script to update levels according to CI results and create the corresponding PR 2023-01-20 16:44:00 +01:00
Alexandre Aubin
83ab9a84aa Propagate the json/yml -> toml change to README generator 2023-01-20 00:02:59 +01:00
Aris
cee5e94e39
Correction des apostrophes (signe typographique) 2023-01-16 04:59:33 +01:00
Alexandre Aubin
311c2f877e autoreadme: add toml to requirements.txt 2023-01-11 10:05:00 +01:00
Alexandre Aubin
73b070e084 make_readme: support .toml manifests 2023-01-11 09:58:45 +01:00
tituspijean
1e5f83c616
Merge pull request #1544 from YunoHost/bot-repo-cleanup 2022-12-29 16:34:14 +01:00
tituspijean
1f1d5986da
Add a file for storing the token 2022-12-29 14:50:32 +01:00
Alexandre Aubin
9cece9466d packagingv2: also autocomment nginx reload lines which are superfluous 2022-12-04 03:47:09 +01:00