From 5f894f1d388830f201cc03c750db4c8ea7e48897 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sun, 7 Jun 2015 14:03:15 +0200 Subject: [PATCH] lint: complain about useless Name: fields --- fdroidserver/lint.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index cf63cf6e..89c5c9a9 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -170,6 +170,9 @@ def main(): elif not app['Categories']: warn("Categories are not set") + if app['Name'] and app['Name'] == app['Auto Name']: + warn("Name '%s' is just the auto name" % app['Name']) + name = app['Name'] or app['Auto Name'] if app['Summary'] and name: if app['Summary'].lower() == name.lower():