1
0
Fork 0
Commit graph

648 commits

Author SHA1 Message Date
Félix Piédallu
5613dcb86d tools: add get_apps_repo.py, a lib that allows to pass --apps-repo or --apps-dir to tools or the env var YNH_APPS_DIR 2024-09-12 14:39:40 +02:00
Félix Piédallu
a08974bf87 Refactor app_caches: use a class to store local data 2024-09-12 14:39:40 +02:00
Félix Piédallu
6b17d3125e autopatch: do not rely on REPO_APPS_ROOT 2024-09-12 14:39:40 +02:00
Félix Piédallu
3959147809 autoupdate_app_sources: do not rely on REPO_APPS_ROOT 2024-09-12 14:39:40 +02:00
Félix Piédallu
109bbd27f2 autopatches: use argparse 2024-09-12 14:39:40 +02:00
Félix Piédallu
746133594c Cleanup unused api in appslib.utils 2024-09-12 14:39:40 +02:00
Félix Piédallu
7042ffbd63 Better scripting, and exit on git pull 2024-09-09 17:24:58 +02:00
Félix Piédallu
3252e9744f Send message to maintainers chan if local changes are present 2024-09-09 14:43:26 +02:00
YunoHost Bot
3223cad34e Translated readme-generator using Weblate (Dutch) (#2568)
Currently translated at 100.0% (39 of 39 strings)

Translation: YunoHost/readme-generator
Translate-URL: https://translate.yunohost.org/projects/yunohost/readme-generator/nl/

Co-authored-by: Mer <git@meriam.dev>
2024-09-06 23:20:29 +02:00
YunoHost Bot
1117915cf5 Translated readme-generator using Weblate (Dutch) (#2563)
Currently translated at 89.7% (35 of 39 strings)

Translation: YunoHost/readme-generator
Translate-URL: https://translate.yunohost.org/projects/yunohost/readme-generator/nl/

Co-authored-by: Mer <git@meriam.dev>
2024-09-05 21:16:35 +02:00
GreNa
c0e2ece0ba Translated readme-generator using Weblate (Spanish)
Currently translated at 100.0% (39 of 39 strings)

Translation: YunoHost/readme-generator
Translate-URL: https://translate.yunohost.org/projects/yunohost/readme-generator/es/
2024-09-02 22:56:58 +02:00
Alexandre Aubin
9c418434e8 maintenance.sh: Silence pip install -r requirements.txt (otherwise displayed in every cron job mail) (#2545) 2024-08-30 18:29:14 +02:00
Félix Piédallu
b42702dd1f Update tools venv after git pull 2024-08-30 13:52:07 +02:00
José M
6024c06a4a Translated readme-generator using Weblate (Galician)
Currently translated at 100.0% (39 of 39 strings)

Translation: YunoHost/readme-generator
Translate-URL: https://translate.yunohost.org/projects/yunohost/readme-generator/gl/
2024-08-29 22:59:40 +02:00
Salamandar
5a966c4873 🎨 Format Python code with Black 2024-08-28 21:35:11 +02:00
Félix Piédallu
75d50a2a55 Add DownloadPageAPI to the autoupdater to download from HTML web pages 2024-08-28 21:08:10 +02:00
Félix Piédallu
e93bf7f0ff autoupdater: Move upstream.rstrip('/') to rest_api classes 2024-08-28 21:08:10 +02:00
Félix Piédallu
8495456aac app_caches: git pull when downloading all branches 2024-08-28 19:01:02 +02:00
Félix Piédallu
6be9d2ff17 Return None when catching an exception 2024-08-28 19:01:02 +02:00
github-actions[bot]
9bedbd5645 Format Python code with Black (#2531)
Co-authored-by: tituspijean <8769166+tituspijean@users.noreply.github.com>
2024-08-18 13:45:09 +02:00
tituspijean
d1fad8abf2 Enhance app rejection (#2528) 2024-08-18 13:42:39 +02:00
tituspijean
5d2ee37424 🎨 Format Python code with Black 2024-08-18 02:01:21 +02:00
tituspijean
b06f909c9d Implement an app rejection list (#2515)
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
Co-authored-by: OniriCorpe <oniricorpe@yunohost.org>
2024-08-18 01:52:37 +02:00
tituspijean
5ef9e66b3a Update .gitignore (#2523) 2024-08-17 13:34:01 +02:00
yunohost-bot
d1bfe996ad 🎨 Format Python code with Black 2024-08-17 12:02:01 +02:00
root
f6cb50d374 Fix webhooks: they should return response.empty (no error) on github_post if it's not a valid PR 2024-08-17 09:51:19 +00:00
Félix Piédallu
4c04ef911c not .as_string() 2024-08-14 12:34:31 +02:00
Félix Piédallu
921890c6e9 Fix revision split 2024-08-14 12:34:31 +02:00
Félix Piédallu
4131b654ab Fix: need to get pr infos 2024-08-14 12:34:31 +02:00
Félix Piédallu
c6f680a1bc Add ! bump comment webhook 2024-08-14 12:34:31 +02:00
Ivan Davydov
d645abe6ff Translated readme-generator using Weblate (Russian)
Currently translated at 100.0% (39 of 39 strings)

Translation: YunoHost/readme-generator
Translate-URL: https://translate.yunohost.org/projects/yunohost/readme-generator/ru/
2024-08-11 01:10:20 +02:00
YunoHost Bot
b9d14f978e Translated readme-generator using Weblate (Russian) (#2502)
Currently translated at 100.0% (39 of 39 strings)

Translation: YunoHost/readme-generator
Translate-URL: https://translate.yunohost.org/projects/yunohost/readme-generator/ru/

Co-authored-by: Ivan Davydov <lotigara@lotigara.ru>
2024-08-04 17:46:35 +02:00
YunoHost Bot
3b43f24275 Translated readme-generator using Weblate (Indonesian) (#2489)
Currently translated at 100.0% (39 of 39 strings)

Translation: YunoHost/readme-generator
Translate-URL: https://translate.yunohost.org/projects/yunohost/readme-generator/id/

Co-authored-by: cjdw <cjdw@users.noreply.translate.yunohost.org>
2024-07-27 10:48:05 +02:00
YunoHost Bot
32db2ba707 Translated readme-generator using Weblate (Indonesian) (#2476)
Currently translated at 100.0% (39 of 39 strings)

Translation: YunoHost/readme-generator
Translate-URL: https://translate.yunohost.org/projects/yunohost/readme-generator/id/

Co-authored-by: cjdw <cjdw@users.noreply.translate.yunohost.org>
2024-07-20 22:42:19 +02:00
github-actions[bot]
c58765c7c9 Format Python code with Black (#2478)
Co-authored-by: alexAubin <4533074+alexAubin@users.noreply.github.com>
2024-07-19 18:14:13 +02:00
Alexandre Aubin
851c2c0839 Add script to autopatch apps for helpers 2.1 (#2407)
* Add script to autopatch apps for helpers 2.1

* helpers2.1: more patches for mysql/psql helpers

* helpers2.1: misc fixes

* helpers2.1: add searchandreplace for apt changes

* helpers2.1: propagate additional recent changes + misc fixes

* helpers2.1: replace check of PACKAGE_CHECK_EXEC with simpler ynh_in_ci_tests

* helpers2.1: misc fixes

* Update convert_to_helpers_2.1.py: fix sed -i syntax for MacOS where -i requires a suffix, even empty string...

* Fix again for MacOS which definitely doesn't like 'append' in sed x_x

* I love computers

* Invalid escape sequence yada yada

* Bunch of tricky issues where eg ynh_install_go becomes ynh_go_install becomes go_install due to the order of conflicting filters etc...

* Misc fixes + Trash everything about fpm_usage/footprint + Autopatch upload_max_filesize/memory_limit + Encourge people to use ynh_app_setting_set_default instead of [ -z ${foo:-}] trick in upgrade

* Fix invalid escape sequence

* Fix invalid escape sequences again :grim:

* Turns out we gotta have the absolute path to nodejs/npm/ruby in systemd confs after all because having PATH in Environment doesn't do the trick >_>

* Automatically bump yunohost requirement to 11.2.16

* Make the script more idempotent

* Delete scripts/config when there's no config_panel.toml

* Typo when patching ynh_psql_execute_as_root --sql

* Add an explicit FIXME / explanation when ynh_replace is used with positionals

* Replace __USER__ by __APP__ x_x ...

* Moar tweaks

* Tweak REMOVEME / FIXME flag to be able to complain about it from the linter

* Bump yunohost requirement to 11.2.17

* Autopatch now-unecessary chmod/chown

* Recommend to always upgrade sources instead of 'if ynh_app_upstream_version_changed'

* Require yunohost 11.2.18

* \--eval for mongo_exec doesnt exist anymore

* Autorework the patches/ folder structure to match new expectation from ynh_setup_source

* Autoremove ynh_abort_if_errors / ynh_clean_setup calls
2024-07-19 18:10:46 +02:00
github-actions[bot]
6332665748 🎨 Format Python code with Black (#2475)
Co-authored-by: OniriCorpe <6963387+OniriCorpe@users.noreply.github.com>
2024-07-15 16:36:06 +02:00
Mateusz
9afa3e01bb Provide links to changed assets - release notes, tag page, changelog between commits. 2024-07-15 16:32:58 +02:00
Mateusz
b21e4ea9fa Bump ynh number on non-main-asset-only updates. 2024-07-15 16:32:58 +02:00
cjdw
14c87cb82b Translated readme-generator using Weblate (Indonesian)
Currently translated at 56.4% (22 of 39 strings)

Translation: YunoHost/readme-generator
Translate-URL: https://translate.yunohost.org/projects/yunohost/readme-generator/id/
2024-07-15 16:21:21 +02:00
github-actions[bot]
a41fdfe3ef 🎨 Format Python code with Black (#2462)
Co-authored-by: yunohost-bot <14998418+yunohost-bot@users.noreply.github.com>
2024-07-12 19:09:32 +02:00
Félix Piédallu
a6f1603989 Configure autoupdate as weekly for official yunohost CI 2024-07-08 20:38:30 +02:00
Félix Piédallu
75e383cb23 Add --latest-commit-weekly arg to stop spam packagers 2024-07-08 20:38:30 +02:00
Mateusz
aaa60f81c2 Fixup requirements.txt (#2452) 2024-07-03 23:04:32 +02:00
Salamandar
5edc856681 README: change url of CI level badge to ci-apps.yunohost.org (#2444) 2024-06-26 00:26:48 +02:00
Félix Piédallu
4c673fd26e app_caches: mkdir before trying to cleanup and update cache 2024-06-24 11:04:38 +02:00
Salamandar
d8283349d7 readme_generator: sorted screenshot list for consistency (#2440) 2024-06-23 14:24:40 +02:00
OniriCorpe
9e26fc36d9 fix autopatch.py 2024-06-23 03:44:25 +02:00
OniriCorpe
f573a5461c fix delete-log-removal autopatch 2024-06-23 02:51:31 +02:00
OniriCorpe
e5b9e2159b Typo 2024-06-22 21:49:08 +02:00