Alexandre Aubin
|
2895d4d99b
|
helpers: Misc cleaning / reorganizing to prepare new doc
|
2024-06-24 17:42:37 +02:00 |
|
Alexandre Aubin
|
06c8fbc881
|
logs: misc ad-hoc tweaks to limit the noise in log sharing
|
2024-06-21 16:26:07 +02:00 |
|
|
e0a9bafde2
|
helpers.v2.1: Add ynh_in_ci_tests to check if the scripts are running in CI or not
|
2024-06-20 16:37:22 +02:00 |
|
Alexandre Aubin
|
d9b9aa1884
|
helpers2.1: use positional args for file checksum helpers
|
2024-06-20 13:44:09 +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
|
0c319cbeba
|
helpers2.1: further simplify ynh_backup/restore: use a single positional arg. --is_big behavior is replaced by checking if the path is $data_dir (or a child) or /var/log/$app. --not_mandatory for restore is implied using the same check, or should be replaced by || true on the package side for the few cases where it's related to other stuff than the data dir or log dir
|
2024-06-11 02:31:51 +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
|
50eea8fc14
|
helpers2.1: reintroduce the old ynh_restore as ynh_restore_everything because some apps are using it @_@
|
2024-06-10 22:47:29 +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
|
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
|
727b0e093a
|
helpers 2.1: rename ynh_secure_remove --file to ynh_safe_rm --target
|
2024-06-08 16:56:23 +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
|
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 |
|