Commit graph

243 commits

Author SHA1 Message Date
f0727ebdb4 helpers/v1/go: fix call.
goenv latest doesn’t call the plugin anymore, so i’m calling directly the plugin goenv-latest.
2024-06-10 12:11:26 +02:00
Chris Vogel
2bd76986a8
correction in help for ynh_read_manifest
in line 955 the parameter is named differently than in the functions help
2024-06-07 11:53:40 +02:00
5676a72750 helpers/go: fix missing git fetch 2024-06-05 15:25:28 +02:00
Alexandre Aubin
fef411e1ca
Merge pull request #1851 from YunoHost/add-jinja-support-to-ynh-add-config
helpers: Add a --jinja option to ynh_add_config
2024-06-04 15:02:12 +02:00
Alexandre Aubin
75b267dc42 helpers: moar fixes for helper versioning, use -L to follow symlink 2024-06-04 14:59:17 +02:00
Alexandre Aubin
c4c0210dc1
Fix helpers loader: helpers are available in v1 or v2 2024-06-03 17:42:17 +02:00
Alexandre Aubin
23038ea62b
Merge branch 'dev' into fix_go_helper 2024-06-03 12:25:53 +02:00
Alexandre Aubin
cca2962b11 helpers: YNH_APP_INSTANCE_NAME -> app for consistency 2024-06-03 12:18:28 +02:00
841f6500b5 helpers/go: add double quotes to trigger syntax errors when bugs occur instead of silently behaving incorrectly. 2024-06-03 12:02:17 +02:00
e6b676df5b helpers: goenv is broken when checking out latest master commit.
Instead, checkout the latest commit. Same for xxenv-latest.
2024-06-03 11:59:04 +02:00
tituspijean
ab892be38b One vendor to rule them all
and in the darkness let the autoupdater do its work
2024-06-02 20:45:26 +02:00
Alexandre Aubin
65abffa1ce Merge remote-tracking branch 'origin/dev' into add-jinja-support-to-ynh-add-config 2024-05-28 11:27:59 +02:00
Josué Tille
4a9a3ba138
Update doc about helper ynh_add_config 2024-05-28 00:39:04 +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