mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Report deprecated 'yunohost app addaccess'
This commit is contained in:
parent
035ba260cb
commit
1539c5da74
1 changed files with 2 additions and 0 deletions
|
@ -1331,6 +1331,8 @@ class Script(TestSuite):
|
||||||
yield Critical("'yunohost app initdb' is obsolete!!! Please use 'ynh_mysql_setup_db' instead.")
|
yield Critical("'yunohost app initdb' is obsolete!!! Please use 'ynh_mysql_setup_db' instead.")
|
||||||
if self.contains("yunohost tools port-available"):
|
if self.contains("yunohost tools port-available"):
|
||||||
yield Critical("'yunohost tools port-available is obsolete!!! Please use 'ynh_port_available' instead.")
|
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"):
|
if self.contains("yunohost app list -i") or self.contains("yunohost app list --installed"):
|
||||||
yield Warning(
|
yield Warning(
|
||||||
"Argument --installed ain't needed anymore when using "
|
"Argument --installed ain't needed anymore when using "
|
||||||
|
|
Loading…
Reference in a new issue