1
0
Fork 0
Commit graph

1 commit

Author SHA1 Message Date
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