mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Suggest removing ynh_add_app_dependencies
This commit is contained in:
parent
9f45cc6fa3
commit
1d96b4592a
1 changed files with 2 additions and 0 deletions
|
@ -1488,6 +1488,8 @@ class Script(TestSuite):
|
|||
yield Info("Calling 'ynh_webpath_available' is quite probably pointless: in the install script, just call ynh_webpath_register, and in the restore script, there's no need to check/register the webpath. (Also the helper always return exit code 0, so 'ynh_webpath_available || ynh_die' is useless :/")
|
||||
if self.contains("ynh_print_ON") or self.contains("ynh_print_OFF"):
|
||||
yield Info("Please refrain from using 'ynh_print_ON/OFF' ... YunoHost already integrates a mecanism to automatically redact variables with names ending with : pwd, pass, passwd, password, passphrase, key, token, and any variable with 'secret' in its name. Using 'ynh_print_ON/OFF' is cumbersome and may have the unintended effect of defeating Yunohost's autoredacting mecanism ... If you noticed that Yunohost's mecanism doesn't work or cover your specific case, please contact the dev team about it.")
|
||||
if self.contains("ynh_add_app_dependencies"):
|
||||
yield Info("ynh_add_app_dependencies is supposed to be an internal helper and will soon be deprecated. Consider using ynh_install_app_dependencies or ynh_install_extra_app_dependencies instead.")
|
||||
|
||||
@test(only=["install", "upgrade"])
|
||||
def deprecated_replace_string(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue