Commit graph

36 commits

Author SHA1 Message Date
Alexandre Aubin
f2f8b3e319 helpers2.1: rework ynh_install_composer to wget the actual composer.phar instead of calling the unecessarily complex composer install script 2024-06-10 16:30:28 +02:00
Alexandre Aubin
cbc68afea4 helpers2.1: remove old references to packaging v1 $final_path 2024-06-10 15:03:16 +02:00
Alexandre Aubin
6e2b36d957 helpers2.1: remove unused options --label/--show_tile/--protected in ynh_permission_update 2024-06-10 15:00:05 +02:00
Alexandre Aubin
ef7da9e70f Remove legacy references to path_url (instead of path) from packaging v1 era 2024-06-10 14:51:40 +02:00
Alexandre Aubin
9b6ccb7b1f helpers2.1: remove a whole bunch of unused args in mongo helpers.. 2024-06-10 14:38:56 +02:00
Alexandre Aubin
0273ee34b1 helpers2.1: remove ugly legacy eval trick in ynh_exec_warn_less 2024-06-10 14:11:25 +02:00
Alexandre Aubin
67477473e8 helpers2.1: remove legacy/unecessary/underused helpers: ynh_print_log, ynh_print_err, ynh_exec_err, ynh_exec_quiet, ynh_exec_fully_quiet, ynh_print_OFF, ynh_print_ON 2024-06-10 14:06:49 +02:00
Alexandre Aubin
0eda746af5 helpers2.1: simplify ynh_add_fail2ban_config: remove unecessary/unused max_retry and ports options, remove --use_template: just generate the conf on-the-fly if --failregex/--logpath are provided, or use the f2b_stuff templates otherwise 2024-06-10 13:36:00 +02:00
Alexandre Aubin
701828bf45 helpers2.1: simplify backup/restore helper syntax: ynh_restore_file -> ynh_restore to be symetric with ynh_backup. Remove unused --dest_dir arg, rename --src/origin_path to --target 2024-06-10 13:17:26 +02:00
Alexandre Aubin
8117f438d4 helpers2.1: vendor is a symlink to the folder in parent 2024-06-08 17:36:35 +02:00
Alexandre Aubin
5c461d6058 helpers2.1: import go changes from v1 to v2.1 2024-06-08 17:30:41 +02:00
Alexandre Aubin
727b0e093a helpers 2.1: rename ynh_secure_remove --file to ynh_safe_rm --target 2024-06-08 16:56:23 +02:00
Alexandre Aubin
3a1c8287b4 helpers 2.1: merge new --jinja option for templating 2024-06-04 15:08:26 +02:00
Alexandre Aubin
80f07a9974 helpers 2.1: ynh_if_upgrading_from_... -> ynh_app_upgrading_from_... 2024-05-28 00:09:00 +02:00
Alexandre Aubin
346f42643b helpers 2.1: move ynh_add_config, ynh_replace_vars, ynh_read_var_in_file, ynh_write_var_in_file and ynh_render_template to a separate 'templating' file 2024-05-27 23:48:22 +02:00
Alexandre Aubin
7c1b07ee0f helpers 2.1: Simplify ynh_app_upstream_version and ynh_read_manifest 2024-05-27 23:45:03 +02:00
Alexandre Aubin
88684c7937 helpers 2.1: remove legacy ynh_legacy_permissions_exists and ynh_legacy_permissions_delete_all 2024-05-27 23:43:35 +02:00
Alexandre Aubin
84a7b23e8a helpers 2.1: replace ynh_compare_current_package_version with simpler ynh_if_upgrading_from_version_prior_to and ynh_if_upgrading_from_version_prior_or_equal_to 2024-05-27 23:42:53 +02:00
Alexandre Aubin
70f5154130 helpers 2.1: remove ynh_get_debian_release, apps should just use $YNH_DEBIAN_VERSION 2024-05-27 23:40:44 +02:00
Alexandre Aubin
3a500d8457 helpers 2.1: remove ynh_require_ram and unused --ignore_swap and --only_swap options in ynh_get_ram 2024-05-27 23:38:22 +02:00
Alexandre Aubin
a240fb2316 helpers 2.1: use positional args for ynh_normalize_url_path 2024-05-27 22:50:00 +02:00
Alexandre Aubin
f895724a25 helpers 2.1: remove legacy ynh_webpath_available and ynh_webpath_register 2024-05-27 22:45:25 +02:00
Alexandre Aubin
8b59e315bf helpers 2.1: remove legacy ynh_psql_test_if_first_run 2024-05-27 22:42:52 +02:00
Alexandre Aubin
b79ff15d32 helpers 2.1: remove legacy --nonappend/--non-append arg in logrotate helper 2024-05-27 22:40:35 +02:00
Alexandre Aubin
6b577bdd23 helpers 2.1: remove packaging v1 ynh_backup_before_upgrade and ynh_restore_upgradebackup, handled by core in packaging v2 2024-05-27 22:39:43 +02:00
Alexandre Aubin
94c12c6409 helpers 2.1: heavily simplify php-related helpers: remove --phpversion argument, --composerversion (define YNH_COMPOSER_VERSION prior to calling helper), --usage/--footprint (can still be customized by defining fpm_usage/footprint setting) 2024-05-27 22:38:53 +02:00
Alexandre Aubin
1b03058858 helpers 2.1: simplify the apt extra repo clusterfuck / unused args etc 2024-05-27 21:47:32 +02:00
Alexandre Aubin
422e02244d helpers 2.1: fix indent 2024-05-27 21:07:52 +02:00
Alexandre Aubin
365d0b25af helpers 2.1: drop ynh_find_port, ynh_port_available, ynh_validate_ip4/6, keep only ynh_validate_ip 2024-05-27 21:07:52 +02:00
Alexandre Aubin
aa6634fd22 helpers 2.1: rework argument parsing comment to improve readability, consistency 2024-05-27 21:07:39 +02:00
Alexandre Aubin
0915a6a70b helpers 2.1: Drop support for old .src format in ynh_setup_source 2024-05-27 18:48:39 +02:00
Alexandre Aubin
4a74a7c51d helpers 2.1: remove support for __NAME__ and __NAMETOCHANGE__ replaced by $app in templates 2024-05-27 18:48:36 +02:00
Alexandre Aubin
6e13a4db1b helpers 2.1: remove unecessary --app=$app in internals ynh_app_setting_get/set calls 2024-05-27 18:48:26 +02:00
Alexandre Aubin
b914ad9093 helpers 2.1: drop support for 'legacy args' (positionals) in helpers 2024-05-27 18:48:21 +02:00
Alexandre Aubin
084ecd6578 helpers 2.1: backport most of the bookworm changes 2024-05-27 18:48:16 +02:00
Alexandre Aubin
204800e878 helpers: copy v1 helpers to new v2.1 2024-05-27 18:48:07 +02:00