Commit graph

9 commits

Author SHA1 Message Date
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
eb8ce2088b helpers2.1: go: add --quiet to goenv install + redirect stderr to stdout such that people don't slap an ynh_exec_warn_less in front of ynh_install_go x_x 2024-06-11 03:10:24 +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
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
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