Alexandre Aubin
7011b1c879
YNH_APP_HELPERS_DIR -> YNH_HELPERS_DIR
2024-05-27 16:35:38 +02:00
5d3131b494
rework top-level helpers
2024-05-27 16:08:10 +02:00
a2bc8c4f38
Create versionned directories of the helpers
2024-05-27 16:08:10 +02:00
Alexandre Aubin
12764652b0
helpers: Add a --jinja option to ynh_add_config
2024-05-26 20:10:30 +02:00
Chris Vogel
3b8a91efe6
Update getopts to accept arguments that are valid arguments to echo
...
The usage of `echo` to output arguments to to a pipe leads to the problem that arguments that are valid to `echo` itself cannot be processed:
```
root@yt:~# TEST='-n'
root@yt:~# printf '%s\n' $TEST
-n
root@yt:~# echo "$TEST"
root@yt:~# echo "debug $TEST"
debug -n
```
Replacing `echo` with `printf` improves the situation.
2024-05-21 10:15:13 +02:00
Salamandar
110dffeb7f
Merge pull request #1844 from YunoHost/mongodb-helper
...
Add mongodb helpers
2024-05-21 00:56:10 +02:00
Alexandre Aubin
14a8445375
helpers/ruby: fix unbound variable
2024-05-19 20:55:20 +02:00
Alexandre Aubin
437f21ed5a
Revert "Delete helpers/mongodb, to be readded in another PR"
...
This reverts commit 9b7b265cbf
.
2024-05-19 15:51:14 +02:00
Alexandre Aubin
f6d38bebee
Merge pull request #1838 from ericgaspar/dev
...
Add redis and ruby helpers
2024-05-19 15:50:47 +02:00
Alexandre Aubin
9b7b265cbf
Delete helpers/mongodb, to be readded in another PR
2024-05-19 15:50:18 +02:00
Alexandre Aubin
ad6c75652c
Update helpers/ruby
2024-05-19 15:21:05 +02:00
Alexandre Aubin
30046784a0
Update ruby: simplify messages, fix bash mess
2024-05-19 15:20:33 +02:00
eric_G
f798236a3a
Update helpers/redis
...
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
2024-05-18 17:17:01 +02:00
eric_G
44840603b5
Update helpers/mongodb
...
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
2024-05-18 16:36:05 +02:00
eric_G
7f52988671
Update helpers/mongodb
...
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
2024-05-18 16:35:37 +02:00
eric_G
89e24eb258
Update helpers/ruby
...
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
2024-05-18 16:33:41 +02:00
eric_G
76c54ebdea
Update helpers/ruby
...
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
2024-05-18 16:33:30 +02:00
tituspijean
3010066190
Prevent yet another Node and Corepack madness
2024-05-17 21:32:27 +02:00
Éric Gaspar
cc3c5fc4f0
Update go
2024-05-15 12:18:13 +02:00
Éric Gaspar
1a24d32e98
Update mongodb
2024-05-15 12:15:39 +02:00
Éric Gaspar
6e1980279c
Add ruby
2024-05-15 12:09:19 +02:00
Éric Gaspar
12ea021e3a
Add mongodb
2024-05-15 12:09:07 +02:00
Éric Gaspar
a333907d97
Create redis
2024-05-15 10:36:39 +02:00
eric_G
915788d53f
Update helpers/go
...
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
2024-05-15 08:16:52 +02:00
Éric Gaspar
2744fed552
Add Go Helper to the core
2024-05-15 06:50:42 +02:00
Mateusz
f1906fe473
Actually remove the newly added repo.
2024-05-12 22:22:34 +02:00
selfhoster1312
c81f1611c6
Document ynh_add_source --full_replace=1
2024-05-12 20:27:10 +02:00
Alexandre Aubin
3ad7e900ab
doc: Remove internal/packagingv1 helpers from helpers doc
2024-05-11 16:38:33 +02:00
yunohost-bot
e04f040a79
Upgrade n to v
2024-04-21 05:12:01 +00:00
OniriCorpe
537699ca90
helpers: fix 'ls: cannot access <folder> No such file or directory' errors on CI
2024-04-20 05:35:07 +02:00
Alexandre Aubin
1fbc47834e
Merge pull request #1810 from YunoHost/ynh_secure_remove_path_protection
...
helpers: Protect more path on ynh secure remove
2024-04-06 00:52:11 +02:00
OniriCorpe
c8c4af8ee4
fix a typo
2024-04-05 23:18:36 +02:00
Josué Tille
73fc554840
Remove optional flag wait-dpkg-free
2024-04-05 20:41:41 +02:00
Josué Tille
f326cb9799
Add option to avoid to wait for dpkg free if not needed
2024-04-05 17:57:18 +02:00
Josué Tille
69e6a7aaa5
Protect more path on ynh secure remove
2024-04-04 12:13:50 +02:00
Alexandre Aubin
cbe13831a0
Merge pull request #1789 from YunoHost/fix_config_panel_return_value
...
Use single quote to return value to config panel
2024-03-19 18:06:47 +01:00
Josué Tille
e6c4f2e077
Use signe quote to return value to config panel
...
Following the specification of yaml (https://yaml.org/spec/1.2.2/#single-quoted-style ), when we use single quote we only need to escapte signle quote. By this we avoid to need to excape mulitple other chars wich could be complicated.
2024-02-29 23:01:30 +01:00
tituspijean
349d219a57
Fix logs directories access
2024-02-29 18:27:12 +01:00
yunohost-bot
99d23f6235
Upgrade n to v
2024-02-29 05:13:12 +00:00
OniriCorpe
61df4add8c
fix logs folders perms
2024-02-13 02:36:08 +01:00
Alexandre Aubin
c2af17667b
helpers: fix previous commit, ynh_replace_string already messes with set +x/-x so hmpf
2024-01-14 18:32:53 +01:00
Alexandre Aubin
9819560518
helpers: disable super verbose logging during ynh_replace_vars poluting logs, it's kinda stable now...
2024-01-14 18:30:14 +01:00
Alexandre Aubin
1ce606d469
multimedia: fix again edgecase where setfacl crashes because of broken symlinks..
2024-01-14 17:50:09 +01:00
Alexandre Aubin
05f7c3a3b7
helpers/php: quote vars to avoid stupid issues with name in path which may happen in backup restore context...
2024-01-14 16:28:51 +01:00
Alexandre Aubin
7f13ea7d65
Merge pull request #1756 from YunoHost/enh_app_shell
...
Enhance app shells
2024-01-12 23:07:22 +01:00
c8f0f131fd
app.py, helpers: Reword YNH_APP_UPGRADE_TYPE
...
* remove UPGRADE_FULL
* rename DOWNGRADE_FORCED -> DOWNGRADE
* rename UPGRADE_FORCED -> UPGRADE_SAME
* keep the helper ynh_check_app_version_changed behaviour for reverse compatibility.
2024-01-11 10:15:28 +01:00
OniriCorpe
b2c3c70742
add --after= in the usage section
...
of ynh_read_var_in_file and ynh_write_var_in_file
2024-01-01 00:56:50 +01:00
tituspijean
1c083845e7
Automatically enable Python environment in app shells
...
assuming it is in `$install_dir/venv`
2023-12-28 17:47:46 +01:00
Alexandre Aubin
0ed6769fcf
helpers/utils: replace the damn ynh_die with a warning when patch fails to apply ...
2023-12-28 02:45:27 +01:00
Alexandre Aubin
308ed0e174
Refactor ynh_use_logrotate madness
2023-12-21 15:14:56 +01:00