From 1539c5da745368b3b52bf327206308eeb49b3b7d Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 1 Dec 2020 01:25:57 +0100 Subject: [PATCH] Report deprecated 'yunohost app addaccess' --- package_linter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package_linter.py b/package_linter.py index 06dd8b8..df303c5 100755 --- a/package_linter.py +++ b/package_linter.py @@ -1331,6 +1331,8 @@ class Script(TestSuite): yield Critical("'yunohost app initdb' is obsolete!!! Please use 'ynh_mysql_setup_db' instead.") if self.contains("yunohost tools port-available"): yield Critical("'yunohost tools port-available is obsolete!!! Please use 'ynh_port_available' instead.") + if self.contains("yunohost app addaccess") or self.contains("yunohost app removeaccess"): + yield Warning("'yunohost app addaccess/removeacces' is obsolete. You should use the new permission system to manage accesses.") if self.contains("yunohost app list -i") or self.contains("yunohost app list --installed"): yield Warning( "Argument --installed ain't needed anymore when using "