Commit graph

15 commits

Author SHA1 Message Date
Alexandre Aubin
2b1f74268f helpers2.1: var rename / cosmetic etc for nodejs/ruby/go version and install directories 2024-06-23 15:21:25 +02:00
Alexandre Aubin
6b6580a919 helpers2.1: further simplify logging helpers by removing the --message (ynh_script_progression too, no more args except the message) 2024-06-19 23:40:53 +02:00
Alexandre Aubin
218bf107fb helpers2.1: rename everything again, i.e. ynh_{nodejs|ruby|composer|...}_install/remove (to have a proper ynh_{tech}_ prefix like we have for mysql/psql helpers) + same idea for ynh_config_add_{nginx|phpfpm|systemd|...} instead of ynh_add_foo_config 2024-06-19 17:06:22 +02:00
Alexandre Aubin
a8cd94d3db helpers2.1: rework the nodejs/ruby/go mess: export the appropriate extended PATH to be able to call npm/node/ruby/gem/go directly (no ynh_foo anymore). No more ynh_use_foo either, it's just automatically called at the end of ynh_install_foo. Also rework the ynh_foo_load_PATH variable to PATH_with_foo, such that we shall write Enviroment="PATH=__PATH_WITH_FOO__" in the systemd conf to be more explicit 2024-06-11 18:20:22 +02:00
Alexandre Aubin
fca26ead78 helpers2.1: fix unecessary warnings + print_info in ruby, to also hopefully stop people from slapping an ynh_exec_warn_less in front of ynh_install_ruby 2024-06-11 03:16:03 +02:00
Alexandre Aubin
480366d5a1 helpers2.1: in fact, let's use positional args for ynh_safe_rm because having --target everywhere is boring as hell 2024-06-11 02:31:21 +02:00
Alexandre Aubin
8c3ca4a0f4 helpers2.1: $YNH_APP_INSTANCE_NAME -> $app 2024-06-10 18:43:37 +02:00
Alexandre Aubin
29d6dd685a helpers2.1: Remove weird old packaging v1 trick for apt dependencies related to ruby 2024-06-10 18:01:17 +02:00
Alexandre Aubin
51d1011c47 helpers2.1: Remove the --foo_version arg for go, mongodb, nodejs, php, ruby helpers. Just use the global $foo_version which should be defined as global 2024-06-10 18:00:20 +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
727b0e093a helpers 2.1: rename ynh_secure_remove --file to ynh_safe_rm --target 2024-06-08 16:56:23 +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
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
204800e878 helpers: copy v1 helpers to new v2.1 2024-05-27 18:48:07 +02:00