Commit graph

28 commits

Author SHA1 Message Date
Kayou
ddf3e32c1c
fix the v2 too 2024-07-25 15:57:58 +02:00
Alexandre Aubin
bb20020c5a helpers2.1: forgot to patch ynh_remove_fpm_config -> ynh_config_remove_phpfpm 2024-07-15 22:13:20 +02:00
Alexandre Aubin
9e8c7e704e
Merge pull request #1903 from YunoHost/repo_trusted
helpers/apt: Support apt repositories with [trusted=yes]
2024-07-15 16:16:22 +02:00
Alexandre Aubin
e5bc94b9cf Copypasta is the worst kind of pasta 2024-07-10 20:17:42 +02:00
Alexandre Aubin
8be726b993 helpers: fix dpkg-deb --build complaining that the perm is sometimes 777 instead of 755 (not sure why in the first place x_x) 2024-07-10 18:15:36 +02:00
b96c530d2b Support trusted=yes repositories... 2024-07-09 23:57:19 +02:00
bb25c6b15d Fix: support repositories without component 2024-07-09 23:46:51 +02:00
Alexandre Aubin
f6fbd69c39 helpers/apt: rely on simpler dpkg-deb --build rather than equivs to create .deb for app virtual dependencies 2024-07-07 17:28:03 +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
0aad13cd2f helpers2.1: oopsies in apt helper 2024-06-24 19:11:28 +02:00
Alexandre Aubin
2895d4d99b helpers: Misc cleaning / reorganizing to prepare new doc 2024-06-24 17:42:37 +02:00
Alexandre Aubin
3d728d90ce helpers2.1: rework the fpm usage/footprint madness 2024-06-22 01:59:18 +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
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
8f8070983d helpers2.1: rework the 'apt' helper: effectivement call them ynh_install/remove_apt_dependencies (instead of 'app_dependencies'...), remove unused stuff, bloat and unecessary non-linear flows... 2024-06-19 04:07:07 +02:00
Alexandre Aubin
3584e6a5b1 helpers2.1: remove legacy ynh_add_app_dependencies 2024-06-13 11:28:59 +02:00
Alexandre Aubin
50a4d08add helpers2.1: fixes after tests on the battlefield 2024-06-13 01:00:52 +02:00
Alexandre Aubin
d501131b34 helpers2.1: autorename phpversion to php_version for consistency with nodejs_version, ruby_version, ... 2024-06-12 22:05:55 +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
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
1b03058858 helpers 2.1: simplify the apt extra repo clusterfuck / unused args etc 2024-05-27 21:47:32 +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