mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Add check for deprecated --package option for ynh_add_fpm_config
This commit is contained in:
parent
d55a5cdeef
commit
6f44c322fd
1 changed files with 5 additions and 0 deletions
|
@ -1998,6 +1998,11 @@ class Script(TestSuite):
|
||||||
"Please consider using 'ynh_add_config' to handle config files instead of gazillions of manual cp + 'ynh_replace_string' + chmod"
|
"Please consider using 'ynh_add_config' to handle config files instead of gazillions of manual cp + 'ynh_replace_string' + chmod"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@test()
|
||||||
|
def ynh_add_fpm_config_deprecated_package_option(self):
|
||||||
|
if self.containsregex(r'ynh_add_fpm_config .*package=.*'):
|
||||||
|
yield Info("Since 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):
|
||||||
if self.containsregex(r"ynh_app_setting_set .*is_public.*"):
|
if self.containsregex(r"ynh_app_setting_set .*is_public.*"):
|
||||||
|
|
Loading…
Reference in a new issue