1
0
Fork 0
No description
Find a file
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 Fix again auto messages pot workflow 2024-06-02 21:21:32 +02:00
appslib Fix log formatting for notifications 2024-04-29 21:28:11 +02:00
autopatches fix autopatch.py 2024-06-23 03:44:25 +02:00
autoupdate_app_sources 🎨 Format Python code with Black (#2475) 2024-07-15 16:36:06 +02:00
bot-repo-cleanup tools: refactor github credentials location 2024-05-28 19:10:47 +02:00
helpers2.1 Add script to autopatch apps for helpers 2.1 (#2407) 2024-07-19 18:10:46 +02:00
readme_generator Translated readme-generator using Weblate (Indonesian) 2024-07-15 16:21:21 +02:00
update_app_levels tools: refactor github credentials location 2024-05-28 19:10:47 +02:00
webhooks webhook: Server does not have a recent python, use optional[] instead of | 2024-06-06 14:30:13 +00:00
.gitignore tools: refactor github credentials location 2024-05-28 19:10:47 +02:00
__init__.py python: run isort, add shebangs on all files 2024-02-07 14:51:42 +01:00
app_caches.py app_caches: mkdir before trying to cleanup and update cache 2024-06-24 11:04:38 +02:00
catalog_linter.py In catalog_linter, lint all toml files (graveyard wishlist etc). This is actually done in CI. 2024-03-13 11:34:10 +01:00
cron cron: update dashboard every 2 hours 2024-06-21 16:39:27 +02:00
LICENSE Add license file. 2016-03-08 18:51:17 +01:00
list_builder.py list_builder: missing return ends up in disaster (#2395) 2024-06-08 19:08:51 +02:00
maintenance.sh Configure autoupdate as weekly for official yunohost CI 2024-07-08 20:38:30 +02:00
requirements.txt chore(list_builder): add a requirements.txt 2024-03-25 01:12:41 +01:00
save_added_date.py 🎨 Format Python code with Black 2024-03-24 22:20:31 +01:00