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
422e02244d
helpers 2.1: fix indent
2024-05-27 21:07:52 +02:00
Alexandre Aubin
365d0b25af
helpers 2.1: drop ynh_find_port, ynh_port_available, ynh_validate_ip4/6, keep only ynh_validate_ip
2024-05-27 21:07:52 +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
0915a6a70b
helpers 2.1: Drop support for old .src format in ynh_setup_source
2024-05-27 18:48:39 +02:00
Alexandre Aubin
4a74a7c51d
helpers 2.1: remove support for __NAME__ and __NAMETOCHANGE__ replaced by $app in templates
2024-05-27 18:48:36 +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
084ecd6578
helpers 2.1: backport most of the bookworm changes
2024-05-27 18:48:16 +02:00
Alexandre Aubin
204800e878
helpers: copy v1 helpers to new v2.1
2024-05-27 18:48:07 +02:00
af2a56012f
Fix helpers: actually that might be a bad idea to read arguments as if
...
`source helpers` has no arguments passed, $@ is the main script arguments.
2024-05-27 17:26:56 +02:00
Alexandre Aubin
2047d536be
helpers: we need helpers.v2.d to be a symlink to helpers.v1.d?
2024-05-27 16:57:33 +02:00
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