From: Daniel Martí Date: Sun, 7 Jun 2015 12:03:15 +0000 (+0200) Subject: lint: complain about useless Name: fields X-Git-Tag: 0.4.0~35 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=5f894f1d388830f201cc03c750db4c8ea7e48897;p=fdroidserver.git lint: complain about useless Name: fields --- 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():