From e1cbc527dc746cb92cc56be89e9846bcad896a32 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 24 Sep 2021 12:24:57 +0200 Subject: [PATCH] `set_legacy_permission` to report a warning instead of info --- package_linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_linter.py b/package_linter.py index 3339d9d..411711c 100755 --- a/package_linter.py +++ b/package_linter.py @@ -1492,7 +1492,7 @@ class Script(TestSuite): @test() def set_legacy_permissions(self): if self.containsregex(r'ynh_app_setting_set .*protected_') or self.containsregex(r'ynh_app_setting_set .*skipped_'): - yield Info("permission system: it looks like the app is still using the legacy permission system (unprotected/protected/skipped uris/regexes setting). Please check https://yunohost.org/packaging_apps_permissions for a documentation on how to migrate the app to the new permission system.") + yield Warning("permission system: it looks like the app is still using the legacy permission system (unprotected/protected/skipped uris/regexes setting). Please check https://yunohost.org/packaging_apps_permissions for a documentation on how to migrate the app to the new permission system.") @test() def normalize_url_path(self):