Commit graph

9970 commits

Author SHA1 Message Date
Alexandre Aubin
bd43a4504e
Update main.cf: fuck postfix syntax 2024-06-18 14:12:11 +02:00
Alexandre Aubin
156f9e54ba
Merge pull request #1843 from chri2/postfix_unionmap
Update main.cf to allow aliases for sender addresses of apps
2024-06-18 12:36:13 +02:00
Alexandre Aubin
fa848ff1c4
Merge pull request #1869 from YunoHost/fix_multiple_apt_extra
resources.py apt: Fix when multiple extras are passed
2024-06-10 18:19:05 +02:00
259c7ac4a7 resources.py apt: Fix when multiple extras are passed
A wrong indentation leads to code executed at every for loop iteration. If multiple apt.extras resources, this fails
at the first iteration.
2024-06-10 17:36:46 +02:00
Alexandre Aubin
c9324772f2 Update changelog for 11.2.14.1 2024-06-10 12:35:47 +02:00
Alexandre Aubin
d2d0af27cf make_changelog: mark as 'stable' by default because it's been ages since we had real testings 2024-06-10 12:33:39 +02:00
Alexandre Aubin
697a33574b
Merge pull request #1868 from YunoHost/fix_goenv_again
helpers/v1/go: fix call.
2024-06-10 12:15:15 +02:00
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
Alexandre Aubin
c6bda180b4
Merge pull request #1865 from yunohost-bot/weblate-yunohost-core
Translations update from Weblate
2024-06-08 15:45:18 +02:00
OniriCorpe
b439a0f7b5 Translated using Weblate (French)
Currently translated at 100.0% (783 of 783 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/fr/
2024-06-07 12:08:17 +02:00
clecle226
9a09680b6e Translated using Weblate (French)
Currently translated at 100.0% (783 of 783 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/fr/
2024-06-07 12:08:17 +02:00
Alexandre Aubin
984300422e
Merge pull request #1866 from chri2/ynh_read_manifest
helpers: Fix typo in ynh_read_manifest documentation
2024-06-07 12:08:13 +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
dd394e94dc Update changelog for 11.2.14 2024-06-05 15:54:37 +02:00
5676a72750 helpers/go: fix missing git fetch 2024-06-05 15:25:28 +02:00
Alexandre Aubin
c836d88b9a Update changelog for 11.2.13 2024-06-04 16:48:24 +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
b67d4621fc apps: fix YNH_HELPERS_VERSION again because packaging_format is actually a float hence 1.0/2.0 instead of 1 or 2 x_x 2024-06-03 13:38:43 +02:00
Alexandre Aubin
fb32842c89
Merge pull request #1864 from YunoHost/actions/black
Format Python code with Black
2024-06-03 13:22:37 +02:00
alexAubin
88d221c52e 🎨 Format Python code with Black 2024-06-03 11:10:39 +00:00
Alexandre Aubin
f5dc382888 apps: for YNH_HELPERS_VERSION to be a string for the bash env, otherwise Popen explodes 2024-06-03 13:10:14 +02:00
Alexandre Aubin
893e1230ef
Merge pull request #1863 from YunoHost/fix_go_helper
helpers: goenv is broken when checking out latest master commit.
2024-06-03 12:34:23 +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
Salamandar
d77b646971
Merge pull request #1860 from YunoHost/n-autoupdater
Fix vendor autoupdater and keep only one vendor directory
2024-06-02 20:46:16 +02:00
5e6c3433ee Fix github workflow n_updater (empty version number) 2024-06-02 20:45:50 +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
Salamandar
064fa32a39
Merge pull request #1862 from YunoHost/cleanup_workflows
Simplify github workflows
2024-06-02 20:40:10 +02:00
2d23798283 Simplify github workflow: peter-evans/create-pull-request@v6 already checks if diff exists 2024-06-02 20:39:00 +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
Alexandre Aubin
06dc3da3f4
Merge pull request #1854 from YunoHost/fix_helpers
Fix helpers: actually that might be a bad idea to read arguments
2024-05-27 17:29:02 +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
55cfc46cdd
Merge pull request #1852 from YunoHost/actions/black
Format Python code with Black
2024-05-27 16:58:39 +02:00
alexAubin
e3282f2329 🎨 Format Python code with Black 2024-05-27 14:58:01 +00: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
c1b3c3f785
Merge pull request #1717 from Salamandar/helpers
Create versionned directories of the helpers
2024-05-27 16:49:05 +02:00
Alexandre Aubin
1e47a1438b apps: auto-define YNH_HELPERS_VERSION from a new 'helpers_version' key in the manifest's [integration] section, or fallback to the 'packaging_format' info 2024-05-27 16:38:09 +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
Alexandre Aubin
6aa9d05372
Merge pull request #1847 from chri2/getopts_echo_printf
Update getopts to accept arguments that are valid arguments to echo
2024-05-22 13:10:23 +02:00
Alexandre Aubin
84d1a6bcca Attempt to fix mypy ? 2024-05-21 23:21:00 +02:00
Alexandre Aubin
259c596e12 Fix invalid escape sequence? 2024-05-21 23:16:55 +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