YunoHost / issues

General issue tracker for the YunoHost project
71 stars 7 forks source link

Helpers 2.1 wishlist #2403

Open alexAubin opened 1 month ago

alexAubin commented 1 month ago
Salamandar commented 1 month ago

About app settings. What is the use of

    if [[ $key =~ (unprotected|protected|skipped)_ ]]; then

found at https://github.com/YunoHost/yunohost/blob/06dc3da3f4095d32b2846461e848be197f74da38/helpers/helpers.v1.d/setting#L21 ?

I can't find any settings with this name.

alexAubin commented 1 month ago

this is legacy stuff from the old permission system, it was cleaned up in bookworm

I'm working on a PR to backport most of the bookworm changes + other cleanups in a helpers 2.1 version

Salamandar commented 4 weeks ago

Fix the ynh_secure_remove clusterfuck about symlinks https://github.com/YunoHost/yunohost/pull/1716

chri2 commented 4 weeks ago
  • Remove the need to pass --app=$app to ynh_app_settings_set/get (or is it already optional?)

I think it is already optional: https://github.com/YunoHost/yunohost/blob/06dc3da3f4095d32b2846461e848be197f74da38/helpers/helpers.v1.d/setting#L19