Commit graph

18 commits

Author SHA1 Message Date
Alexandre Aubin
12764652b0 helpers: Add a --jinja option to ynh_add_config 2024-05-26 20:10:30 +02:00
Alexandre Aubin
7d9984c109 Fix a bunch of inconsistency or variable not properly replaced between final_path/install_dir 2022-12-26 15:37:28 +01:00
Alexandre Aubin
3eb69224aa ci: Add test for apt helpers 2021-11-02 02:03:53 +01:00
Alexandre Aubin
a8c6b5e637 [enh] helpers: add some tests for system user create that were lying in my uncommited files ? 2021-10-24 18:17:02 +02:00
Alexandre Aubin
fcd2ef9d20 [enh] helpers: allow to get/set/delete app settings without explicitly passing app id everytime... 2021-10-24 18:16:21 +02:00
Alexandre Aubin
40cc41d68d
Merge branch 'dev' into fix-eval-in-logging-helpers 2021-10-12 16:49:42 +02:00
Alexandre Aubin
a3c0ca4da6 helpers: Don't use eval in ynh_exec_* helpers to prevent issues with special chars 2021-10-12 15:49:46 +02:00
Alexandre Aubin
1d2e4e78f2 Safer, clearer ynh_secure_remove 2021-10-06 18:57:56 +02:00
ljf
060d5b6dc5 [fix] ynh_write_var_in_file and after option 2021-09-06 04:20:35 +02:00
ljf
4a3d6e53c6 [fix] ynh_read_var_in_file with ini file 2021-09-06 00:58:46 +02:00
ljf
1207b54de6 [fix] ynh_read_var_in_file with endline 2021-09-05 16:08:23 +02:00
Alexandre Aubin
cc8247acfd helpers/config: Add unit tests for read/write var from py/ini 2021-09-03 23:36:54 +02:00
Alexandre Aubin
d74bc485dd helpers/config: Add unit tests for read/write var from json/php/yaml 2021-09-03 20:23:12 +02:00
Alexandre Aubin
27300282da Gotta source the helper when being in the appropriate folder, because of the new 'realpath' for YNH_APP_BASEDIR 2021-05-24 16:55:35 +02:00
Alexandre Aubin
381f789fec ynh_port_available: also check ports used by other apps in settings.yml 2021-04-23 21:00:21 +02:00
Alexandre Aubin
4acfbdeade Fix oopsies, fix and add test for ynh_setup_source with patch 2021-04-01 18:26:18 +02:00
Alexandre Aubin
d11d26bdb4 Generate/server a dummy.tar.gz locally instead of hardcoding an external url 2021-04-01 18:02:23 +02:00
Alexandre Aubin
4d6fcb1b8f mv helpers.tests test_helpers.d, better naming consistency 2021-04-01 18:02:23 +02:00