Bump use of --package option in ynh_add_fpm_config as an error, we really gotta get rid of this legacy stuff

This commit is contained in:
Alexandre Aubin 2023-02-15 19:19:43 +01:00
parent 078f29de39
commit 5d75cc2a73

View file

@ -2361,7 +2361,7 @@ class Script(TestSuite):
@test() @test()
def ynh_add_fpm_config_deprecated_package_option(self): def ynh_add_fpm_config_deprecated_package_option(self):
if self.containsregex(r'ynh_add_fpm_config .*package=.*'): if self.containsregex(r'ynh_add_fpm_config .*package=.*'):
yield Warning("(Requires Yunohost 4.3) Option --package for ynh_add_fpm_config is deprecated : please use 'ynh_install_app_dependencies' with **all** your apt dependencies instead (no need to define a special 'extra_php_dependencies'). YunoHost will automatically install any phpX.Y-fpm / phpX.Y-common if needed.") yield Error("(Requires Yunohost 4.3) Option --package for ynh_add_fpm_config is deprecated : please use 'ynh_install_app_dependencies' with **all** your apt dependencies instead (no need to define a special 'extra_php_dependencies'). YunoHost will automatically install any phpX.Y-fpm / phpX.Y-common if needed.")
@test() @test()
def set_is_public_setting(self): def set_is_public_setting(self):