Commit graph

14 commits

Author SHA1 Message Date
Alexandre Aubin
bc3e36abb3 friskies 2024-07-01 21:39:59 +02:00
Alexandre Aubin
1e1409c7d7 helpers2.1: logging tweak in ynh_die 2024-06-30 19:43:18 +02:00
Alexandre Aubin
f2b5f0f22c helpers2.1: when using ynh_die, also return the error via YNH_STDRETURN such that it can be obtained from the python and displayed in the main error message, to increase the chance that people may read it and have something more useful than "An error happened in the script" 2024-06-30 18:53:54 +02:00
Alexandre Aubin
2895d4d99b helpers: Misc cleaning / reorganizing to prepare new doc 2024-06-24 17:42:37 +02:00
Alexandre Aubin
41b958113a helpers2.1: unbound var @_@ 2024-06-20 19:06:14 +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
66508d5fd6 helpers2.1: ynh_exec_warn_less -> ynh_hide_warnings 2024-06-11 18:41:37 +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
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
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
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